Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Anatol Pomozov
Hi On Wed, Oct 30, 2013 at 10:47 PM, William Giokas 1007...@gmail.com wrote: On Wed, Oct 30, 2013 at 09:49:11PM -0700, Anatol Pomozov wrote: Hi On Wed, Oct 30, 2013 at 8:51 PM, Jerome Leclanche adys...@gmail.com wrote: As someone who maintains a lot of git packages, I wish, I really wish

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Jerome Leclanche
On Thu, Oct 31, 2013 at 1:43 PM, Anatol Pomozov anatol.pomo...@gmail.com wrote: Hi On Wed, Oct 30, 2013 at 10:47 PM, William Giokas 1007...@gmail.com wrote: On Wed, Oct 30, 2013 at 09:49:11PM -0700, Anatol Pomozov wrote: Hi On Wed, Oct 30, 2013 at 8:51 PM, Jerome Leclanche adys...@gmail.com

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Anatol Pomozov
Hi The sha1 is useful to people who need to quickly tell developers which version they are running when they're from git. Removing it is a bad idea. You can get the commit from the version number even without the SHA1, something like: git log --oneline $VERSION..$BRANCH | tail -n $REVISION |

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Jason St. John
On Thu, Oct 31, 2013 at 2:26 PM, Anatol Pomozov anatol.pomo...@gmail.com wrote: Hi The sha1 is useful to people who need to quickly tell developers which version they are running when they're from git. Removing it is a bad idea. You can get the commit from the version number even without

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread William Giokas
On Thu, Oct 31, 2013 at 11:26:27AM -0700, Anatol Pomozov wrote: Hi The sha1 is useful to people who need to quickly tell developers which version they are running when they're from git. Removing it is a bad idea. You can get the commit from the version number even without the SHA1,

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Jerome Leclanche
On Thu, Oct 31, 2013 at 6:26 PM, Anatol Pomozov anatol.pomo...@gmail.com wrote: Hi The sha1 is useful to people who need to quickly tell developers which version they are running when they're from git. Removing it is a bad idea. You can get the commit from the version number even without

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Uwe Koloska
Hello, Am 31.10.2013 16:09, schrieb Jerome Leclanche: The main issue with -git versioning is the inconsistency. I don't think so. I think the main issue with git versioning (regarding package versions) is its non monotonic trait. I'm not suggesting we drop the pkgver function (nobody is).

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread William Giokas
On Thu, Oct 31, 2013 at 09:17:41PM +0100, Uwe Koloska wrote: Hello, Am 31.10.2013 16:09, schrieb Jerome Leclanche: The main issue with -git versioning is the inconsistency. I don't think so. I think the main issue with git versioning (regarding package versions) is its non monotonic

Re: [aur-general] Revise VCS packages versioning

2013-10-31 Thread Doug Newgard
Date: Thu, 31 Oct 2013 15:35:24 -0500 From: 1007...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning On Thu, Oct 31, 2013 at 09:17:41PM +0100, Uwe Koloska wrote: Hello, Am 31.10.2013 16:09, schrieb

[aur-general] Revise VCS packages versioning

2013-10-30 Thread Anatol Pomozov
Hi I would like to discuss VCS package versioning that is described here https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines I am looking at the -git packages but it also applicable to other VCS. Here is the suggested way to create the version local ver=$(git describe --tags) echo

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Jan Alexander Steffens
On Thu, Oct 31, 2013 at 4:37 AM, Anatol Pomozov anatol.pomo...@gmail.com wrote: Hi I would like to discuss VCS package versioning that is described here https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines I am looking at the -git packages but it also applicable to other VCS. Here

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Anatol Pomozov
Hi On Wed, Oct 30, 2013 at 8:51 PM, Jerome Leclanche adys...@gmail.com wrote: As someone who maintains a lot of git packages, I wish, I really wish there was a *standardized* way of writing a pkgver that would output the appropriate format whether there are tags pushed upstream or not. That

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Doug Newgard
Date: Wed, 30 Oct 2013 21:49:11 -0700 From: anatol.pomo...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Hi On Wed, Oct 30, 2013 at 8:51 PM, Jerome Leclanche adys...@gmail.com wrote: As someone

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Anatol Pomozov
Hi On Wed, Oct 30, 2013 at 9:53 PM, Doug Newgard scimmi...@outlook.com wrote: Date: Wed, 30 Oct 2013 21:49:11 -0700 From: anatol.pomo...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Hi On Wed

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Doug Newgard
Date: Wed, 30 Oct 2013 22:09:21 -0700 From: anatol.pomo...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Hi On Wed, Oct 30, 2013 at 9:53 PM, Doug Newgard scimmi...@outlook.com wrote

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Ido Rosen
Anatol, Doug, I do not propose to remove pkgver(). What I say is that vcs version generator becomes non-trivial and many people use different and inconsistent VCS versions. It indicates that there should be some standard way to generate version. If you don't want to use the standard

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Doug Newgard
Date: Thu, 31 Oct 2013 01:32:03 -0400 From: i...@kernel.org To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Anatol, Doug, I do not propose to remove pkgver(). What I say is that vcs version generator becomes

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread William Giokas
On Wed, Oct 30, 2013 at 09:49:11PM -0700, Anatol Pomozov wrote: Hi On Wed, Oct 30, 2013 at 8:51 PM, Jerome Leclanche adys...@gmail.com wrote: As someone who maintains a lot of git packages, I wish, I really wish there was a *standardized* way of writing a pkgver that would output the

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Anatol Pomozov
Hi On Wed, Oct 30, 2013 at 10:15 PM, Doug Newgard scimmi...@outlook.com wrote: Date: Wed, 30 Oct 2013 22:09:21 -0700 From: anatol.pomo...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Hi On Wed

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Doug Newgard
Date: Wed, 30 Oct 2013 22:50:55 -0700 From: anatol.pomo...@gmail.com To: aur-general@archlinux.org Subject: Re: [aur-general] Revise VCS packages versioning Hi On Wed, Oct 30, 2013 at 10:15 PM, Doug Newgard scimmi...@outlook.com wrote

Re: [aur-general] Revise VCS packages versioning

2013-10-30 Thread Doug Newgard
From: scimmi...@outlook.com To: aur-general@archlinux.org Date: Thu, 31 Oct 2013 00:55:06 -0500 Subject: Re: [aur-general] Revise VCS packages versioning Mine are inconsistent because some need it and some don't. I don't use the r if it can't become