Hi all,

Do we have a consensus as yet on the versioning?

Regards

Phil


On Sat, 11 May 2024 10:29:56 -0700 Xiyue Deng <manp...@gmail.com> wrote:
> Hi Tobias,
> 
> Tobias Frost <t...@debian.org> writes:
> 
> > Hi Xiyue,
> >
> > when packaging a git snapshot, I feel this should be indicated in the
> > upstream version that it is based on the old one, something like
> > <last-upstream-version>+<git-snapshot-indicator>
> >
> > In your case I'd 20210802+git20231023 as upstream version.
> >
> > Long time ago I did something like that for dhewm3, you 
> > can see the watch file here:
> >
https://salsa.debian.org/games-team/dhewm3/-/blob/debian/1.5.0+git20181221+dfsg-1/debian/watch?ref_type=tags
> >
> > (not marking moreinfo, as other people might see that differently.)
> 
> Thanks for your comments!  I actually also thought about this but ended
> up not following that idea because it will end up with 3 different
> versions based on dates:
> 
> * 20210802 which is the last tagged version[1],
> * 20221027 which is specified in the upstream source[2] and will end up
> in the installed elpa package directory but was never tagged, and
> * 20231023 which is the date of the latest upstream commit[3] when
> sending this email.
> 
> I think 20210802+git20231023.<hash> follows the current practice but
> will be *very* confusing when user will find that the package is
> installed at /usr/share/emacs/site-lisp/elpa/lua-mode-20221027.  I chose
> 20231023~git as a compromise just to avoid having too many dates there,
> which is still possible to upgrade to 20231023 should that be tagged one
> day.  I think the next choice could be 20221027+git20231023.<hash> just
> so there is one less date to deal with.
> 
> Wdyt?
> 
> [1] https://github.com/immerrr/lua-mode/tags
> [2] https://github.com/immerrr/lua-mode/blob/master/lua-mode.el#L15
> [3]
https://github.com/immerrr/lua-mode/commit/d074e4134b1beae9ed4c9b512af741ca0d852ba3
> 
> >
> > --
> > tobi
> >
> > On Sun, Apr 21, 2024 at 10:02:48AM -0700, Xiyue Deng wrote:
> >> Package: sponsorship-requests
> >> Severity: normal
> >> 
> >> Dear mentors,
> >> 
> >> I am looking for a sponsor for my package "lua-mode":
> >> 
> >>  * Package name     : lua-mode
> >>    Version          : 20231023~git-1
> >>    Upstream contact : immerrr <imme...@gmail.com>
> >>  * URL              : https://github.com/immerrr/lua-mode
> >>  * License          : GPL-3+
> >>  * Vcs              : https://salsa.debian.org/emacsen-team/lua-mode

-- 

"I play the game for the game’s own sake"

Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

--

Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

Internet Relay Chat (IRC): kathenas

Matrix: #kathenas:matrix.org

Website: https://kathenas.org

Instagram: https://instagram.com/kathenasorg/

Threads: https://www.threads.net/@kathenasorg

--






Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to