Re: [SailfishDevel] Release versioning best practice?

2014-01-14 Thread Luciano Montanaro
As far as I understand, the notation used is
major.minor.patch-packageversion, with the packageversion  reserved
for the packager (changes to spec/yaml/ files).

Since you are both the packager and the developer, you can always leave it to 0.
Maybe, if you only fix packaging issues without touching the code, you
could bump it instead of the patch version.

I would bump the patch version number, and reset the packaging number to 0.


Best regards,
Luciano

On Mon, Jan 13, 2014 at 11:15 PM, Thomas Tanghus tho...@tanghus.net wrote:
 When packaging a bugfix release what is the best practice?

 1. Just bumping the release number so the package name goes from harbour-
 appname-0.1-1.armv7hl to harbour-appname-0.1-2.armv7hl

 2. Bump minor version from e.g. harbour-appname-0.1-1.armv7hl to harbour-
 appname-0.1.1-1.armv7hl

 3. Both version and release from harbour-appname-0.1-1.armv7hl to harbour-
 appname-0.1.1-2.armv7hl

 --
 Med venlig hilsen / Best Regards

 Thomas Tanghus
 ___
 SailfishOS.org Devel mailing list



-- 
Luciano Montanaro

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job. -- Douglas Adams
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Release versioning best practice?

2014-01-14 Thread Thomas Tanghus
On Tuesday 14 January 2014 10:28 Luciano Montanaro wrote:
 As far as I understand, the notation used is
 major.minor.patch-packageversion, with the packageversion  reserved
 for the packager (changes to spec/yaml/ files).
 
 Since you are both the packager and the developer, you can always leave it
 to 0. Maybe, if you only fix packaging issues without touching the code,
 you could bump it instead of the patch version.
 
 I would bump the patch version number, and reset the packaging number to 0.

Yes, that sounds reasonable. Thanks
 
 Best regards,
 Luciano
 
 On Mon, Jan 13, 2014 at 11:15 PM, Thomas Tanghus tho...@tanghus.net wrote:
  When packaging a bugfix release what is the best practice?
  
  1. Just bumping the release number so the package name goes from harbour-
  appname-0.1-1.armv7hl to harbour-appname-0.1-2.armv7hl
  
  2. Bump minor version from e.g. harbour-appname-0.1-1.armv7hl to harbour-
  appname-0.1.1-1.armv7hl
  
  3. Both version and release from harbour-appname-0.1-1.armv7hl to harbour-
  appname-0.1.1-2.armv7hl

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
___
SailfishOS.org Devel mailing list


[SailfishDevel] Release versioning best practice?

2014-01-13 Thread Thomas Tanghus
When packaging a bugfix release what is the best practice?

1. Just bumping the release number so the package name goes from harbour-
appname-0.1-1.armv7hl to harbour-appname-0.1-2.armv7hl

2. Bump minor version from e.g. harbour-appname-0.1-1.armv7hl to harbour-
appname-0.1.1-1.armv7hl

3. Both version and release from harbour-appname-0.1-1.armv7hl to harbour-
appname-0.1.1-2.armv7hl

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
___
SailfishOS.org Devel mailing list