https://bugzilla.redhat.com/show_bug.cgi?id=1936138



--- Comment #2 from c...@musicinmybrain.net ---
> - Just a comment about versioning.
>   Have the rpms a "snapshots" form of versioning?
>   
> (https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots)

Yes, when you use the “forge” macros with a tag
(https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_tag_example),
they automatically add a “snapshot” date. Unfortunately, the release template
(https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_release_example),
which would not do this, very rarely works.

Packaging variables read or set by %forgemeta
  forgeurl:          https://github.com/wangyi-fudan/wyhash
  forgesource:      
https://github.com/wangyi-fudan/wyhash/archive/wyhash_final/wyhash-wyhash_final.tar.gz
  forgesetupargs:    -n wyhash-wyhash_final
  archivename:       wyhash-wyhash_final
  archiveext:        tar.gz
  archiveurl:       
https://github.com/wangyi-fudan/wyhash/archive/wyhash_final/wyhash-wyhash_final.tar.gz
  topdir:            wyhash-wyhash_final
  extractdir:        wyhash-wyhash_final
  repo:              wyhash
  scm:               git
  tag:               wyhash_final
  distprefix:        .20210306gitfinal
  dist:              .20210306gitfinal.fc33
  (snapshot date is either manually supplied or computed once
%{_sourcedir}/%{archivename}.%{archiveext} is available)

It’s possible to work around drop the forge macros and construct the tag
archive URL manually, e.g.
https://github.com/wangyi-fudan/%{name}/archive/%{tag}.tar.gz.

>   Why this date? 20210306 (6th March, 2021??)

It’s coming from the mtime on the source tarball.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to