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

dist/debian: add trailer line #66

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Jan 2, 2024

this should address the warnings from dpkg-source and
dpkg-parsechangelog, like:

dpkg-source: warning: scylla-package/debian/changelog(l3): found end of file where expected more change data or trailer
dpkg-parsechangelog: warning:     debian/changelog(l3): found end of file where expected more change data or trailer

for better readability

Signed-off-by: Kefu Chai <[email protected]>
this should address the warnings from dpkg-source and
dpkg-parsechangelog, like:

```
dpkg-source: warning: scylla-package/debian/changelog(l3): found end of file where expected more change data or trailer
```

```
dpkg-parsechangelog: warning:     debian/changelog(l3): found end of file where expected more change data or trailer
```

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov tchaikov requested a review from fruch January 2, 2024 14:32
@@ -1,3 +1,5 @@
%{product}-cqlsh (%{version}-%{release}-%{revision}) %{codename}; urgency=medium

* New release

-- Israel Fruchter <[email protected]> %{timestamp}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tchaikov nice of you to sign in my name :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was you who created this changelog entry. ;-)

@@ -47,7 +48,13 @@ class DebianFilesTemplate(string.Template):
shutil.copytree('dist/debian/debian', 'build/debian/debian')

s = DebianFilesTemplate(changelog_template)
changelog_applied = s.substitute(product=product, version=version, release=release, revision='1', codename='stable')
now = datetime.datetime.now(tz=datetime.timezone.utc)
changelog_applied = s.substitute(product=product,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was done on other packages ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i.e. adding timestamp ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(we assumed for long time, that the change log is mostly not touched)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not yet. i created this change in hope to silence the warnings and to comply to the debian packaging policies. will take care of other packages when i have more free cycles.

Copy link
Collaborator

@fruch fruch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fruch fruch merged commit 8bd3367 into scylladb:master Jan 2, 2024
7 checks passed
@tchaikov tchaikov deleted the dist-debian branch January 2, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants