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 - using 0-23 range for hours in package name/version #28

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

pmauduit
Copy link
Member

@pmauduit pmauduit commented Jun 7, 2024

the filename of the debian package being generated contains a timestamp. This timestamp is checked by reprepro when trying to publish the package to figure out if a potential already present package in the repository should be replaced by the new one.

If we use 'hh' instead of 'HH' in the date formatting call, and:

  • we generate a package at 12:15
  • we generate a new version at 14:15

then the expected new version will be timestamped as 0215 instead of 1415 and won't replace the version from 12:15.

encountered today on buildbot:

Skipping inclusion of 'georchestra-cas' '6.6.15.master.202406070226~112d06e' in 'master|main|arm64', as it has already '6.6.15.master.202406071205~20cbb9c'.

Using 0-23 range when formatting the hour of the day should solve the issue with publishing the package.

the filename of the debian package being generated contains a timestamp.
This timestamp is checked by reprepro when trying to publish the package
to figure out if a potential already present package in the repository
should be replaced by the new one.

If we use 'hh' instead of 'HH' in the date formatting call, and:

* we generate a package at 12:15
* we generate a new version at 14:15

then the expected new version will be timestamped as <date>0215 instead
of <date>1415 and won't replace the version from 12:15.

Using 0-23 range when formatting the hour of the day should solve the
issue with publishing the package.
@pmauduit pmauduit merged commit 121bb85 into master Jun 7, 2024
2 checks passed
@pmauduit pmauduit deleted the deb-package-using-0-23-for-hours-timestamp branch June 7, 2024 13:29
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.

None yet

1 participant