Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deb: refine fluentd-apt-source #515

Merged
merged 5 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ PACKAGES = [
]

APT_SOURCE_PACKAGES = [
"fluentd-apt-source"
"fluent-apt-source"
]

ALL_PACKAGE = [
"fluent-package",
"fluentd-apt-source",
"fluent-apt-source",
]

def define_bulked_task(name, description, packages = PACKAGES)
Expand Down Expand Up @@ -56,7 +56,7 @@ end
end

[
["apt:build", "Build fluentd-apt-source deb packages", APT_SOURCE_PACKAGES],
["apt:build", "Build fluent-apt-source deb packages", APT_SOURCE_PACKAGES],
].each do |params|
define_bulked_task(*params)
end
Expand Down
2 changes: 1 addition & 1 deletion fluentd-apt-source/Rakefile → fluent-apt-source/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CLOBBER.include("apt/repositories")

class FluentdAptSourcePackageTask < PackageTask
def initialize
super("fluentd-apt-source",
super("fluent-apt-source",
repository_version,
latest_commit_time(File.join(__dir__, "..")))
CLEAN.include(@archive_name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fluentd-apt-source (2023.6.29-1) unstable; urgency=medium
fluent-apt-source (2023.6.29-1) unstable; urgency=medium

* New upstream release.
* Added new Fluent Package Official Signing Key.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: fluentd-apt-source
Source: fluent-apt-source
Section: misc
Priority: optional
Maintainer: Fluentd developers <[email protected]>
Expand All @@ -9,13 +9,25 @@ Build-Depends:
Standards-Version: 4.5.0
Homepage: https://www.fluentd.org/

Package: fluentd-apt-source
Package: fluent-apt-source
Section: misc
Architecture: all
Depends:
${misc:Depends},
apt-transport-https,
gnupg
Replaces: fluentd-apt-source (<< 2023.6.29-1)
Breaks: fluentd-apt-source (<< 2023.6.29-1)
Description: GnuPG archive key and APT source of the Fluent Package archive
The Fluentd project digitally signs its Release files. This package
contains the archive key used for that.

Package: fluentd-apt-source
Section: oldlibs
Architecture: all
Depends:
${misc:Depends},
fluent-apt-source
Description: Transitional package for fluent-apt-source
This is a transitional package for fluent-apt-source.
.
It can be safely be removed.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fluent-apt-source: new-package-should-close-itp-bug
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Profile: fluent-apt-source/main
Extends: debian/main
Disable-Tags: dir-or-file-in-opt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Profile: fluentd-apt-source/main
Profile: fluent-apt-source/main
Extends: ubuntu/main
Disable-Tags: dir-or-file-in-opt
File renamed without changes.
5 changes: 5 additions & 0 deletions fluent-apt-source/debian/source/lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fluent-apt-source source: changelog-should-mention-nmu
fluent-apt-source source: source-nmu-has-incorrect-version-number
# When development machine has switched to aptly 1.4.0+ds1-7 or later,
# remove the following (bookworm or later, ubuntu 22.10 or later)
fluent-apt-source: debian-rules-should-not-use-custom-compression-settings
12 changes: 6 additions & 6 deletions fluent-package/convert-artifacts-layout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@ case $1 in
# mapping debian/pool/buster/main/f/fluent-package/ => 5/debian/buster/pool/contrib/f/fluent-package
mkdir -p $ARTIFACTS_DIR/5/debian/$d/pool/contrib/t/td-agent
mkdir -p $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluent-package
mkdir -p $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluentd-apt-source
mkdir -p $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluent-apt-source
find $REPOSITORY_PATH/debian/pool/$d -name 'td-agent*.deb' -not -name '*dbgsym*' \
-exec cp {} $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluent-package \;
find $REPOSITORY_PATH/debian/pool/$d -name 'fluent-package*.deb' -not -name '*dbgsym*' \
-exec cp {} $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluent-package \;
find $REPOSITORY_PATH/debian/pool/$d -name 'fluentd-apt-source*.deb' -not -name '*dbgsym*' \
-exec cp {} $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluentd-apt-source \;
find $REPOSITORY_PATH/debian/pool/$d -name 'fluent*-apt-source*.deb' -not -name '*dbgsym*' \
-exec cp {} $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluent-apt-source \;
;;
focal|jammy)
# e.g. mapping ubuntu/pool/.../main/t/td-agent/ => 5/ubuntu/.../pool/contrib/t/td-agent
# mapping ubuntu/pool/.../main/f/fluent-package/ => 5/ubuntu/.../pool/contrib/f/fluent-package
mkdir -p $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/t/td-agent
mkdir -p $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluent-package
mkdir -p $ARTIFACTS_DIR/5/debian/$d/pool/contrib/f/fluentd-apt-source
mkdir -p $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluent-apt-source
find $REPOSITORY_PATH/ubuntu/pool/$d -name 'td-agent*.deb' \
-exec cp {} $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluent-package \;
find $REPOSITORY_PATH/ubuntu/pool/$d -name 'fluent-package*.deb' \
-exec cp {} $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluent-package \;
find $REPOSITORY_PATH/ubuntu/pool/$d -name 'fluentd-apt-source*.deb' \
-exec cp {} $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluentd-apt-source \;
find $REPOSITORY_PATH/ubuntu/pool/$d -name 'fluent*-apt-source*.deb' \
-exec cp {} $ARTIFACTS_DIR/5/ubuntu/$d/pool/contrib/f/fluent-apt-source \;
;;
*)
exit 1
Expand Down

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions fluentd-apt-source/debian/source/lintian-overrides

This file was deleted.