← Back to team overview

kicad-developers team mailing list archive

Re: OS X RC2 test packages uploaded

 

If you are using shell scripts, something simple like:

pkgrel=1

pkgver=${kicad_version}-${pkgrel}

and manually increment pkgrel when rebuilding rc2.  This is what most of
the Linux package managers do.

On 11/13/2015 4:24 PM, Adam Wolf wrote:
> I probably need to spend an hour and figure out how to do this with my
> auto builder the right way, rather than just relying on timestamps.
> 
> I suspect we won't need many builds, but soon I'll have OS X code
> signing working and that will certainly be a new build.
> 
> Adam Wolf
> 
> On Nov 13, 2015 3:21 PM, "Wayne Stambaugh" <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> wrote:
> 
>     Adam,
> 
>     I'll leave this up to you.  I would do what ever is the least painful.
>     Usually package versioning is very much platform dependent.  Hopefully
>     you wont have to build too many rc2 packages.
> 
>     Wayne
> 
>     On 11/13/2015 2:25 PM, Adam Wolf wrote:
>     > 1) I need some sort of "number to increment" if it isn't the
>     timestamp,
>     > otherwise there's no way to tell different artifacts when I update my
>     > builder scripts to be better.  Would just the date be better?  If not,
>     > I'll have to do a -1, -2, -3, and that gets gross because then I
>     need to
>     > keep track of what number I'm on.
>     >
>     > 2) I will change the version string shortly and reupload, and I
>     can move
>     > them into stable during the upload process as well.
>     >
>     > Adam Wolf
>     >
>     > On Fri, Nov 13, 2015 at 1:05 PM, Nick Østergaard
>     <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>
>     > <mailto:oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>>> wrote:
>     >
>     >     Hi Adam
>     >
>     >     When you fix the build string I will start link it. I suggest
>     that we
>     >     put it into http://downloads.kicad-pcb.org/osx/stable/ and
>     remove the
>     >     date timestamp from the filename. I can move the file if you want.
>     >
>     >     I will repost what I wrote to the debian maintainers:
>     >
>     >     Please do as suggested by Wayne here:
>     >   
>      https://www.mail-archive.com/kicad-developers@xxxxxxxxxxxxxxxxxxx/msg15285.html
>     >
>     >     I realise that it is not well documented yet, but anyways that
>     is the
>     >     way to do it for now.
>     >
>     >     A note to everyone maintaining auto builders, please add
>     >     "-DKICAD_REPO_NAME=stable -DKICAD_BUILD_VERSION=4.0.0-rc2" to
>     your build
>     >     configuration to generate the correct build version string.
>     >
>     >     2015-11-13 17:57 GMT+01:00 Adam Wolf
>     <adamwolf@xxxxxxxxxxxxxxxxxxxx <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>
>     >     <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx
>     <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>>>:
>     >     > Nick,
>     >     >
>     >     > Looks like we can put this on the website then!
>     >     >
>     >     > Let me know if you want me to handle that.
>     >     >
>     >     > Adam Wolf
>     >     >
>     >     > On Fri, Nov 13, 2015 at 10:53 AM, Bernhard Stegmaier
>     >     > <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>
>     <mailto:stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>>>
>     wrote:
>     >     >>
>     >     >>
>     >     >> > [1] Apart from opening a empty, grey „Pcbnew“ when
>     clicking on the
>     >     >> > Module Editor button from the Project Manager behind the
>     Module
>     >     Editor
>     >     >> > window (which for itself works). But I think this is a known
>     >     issue (at least
>     >     >> > I remember seeing this before in my own builds and your
>     >     nightlies… Do we
>     >     >> > have a bug report for this?).
>     >     >>
>     >     >> Yes, I also noticed that with my own builds recently.
>     >     >> Not really bad, but a little bit confusing.
>     >     >>
>     >     >>
>     >     >> Regards,
>     >     >> Bernhard
>     >     >>
>     >     >
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > Mailing list: https://launchpad.net/~kicad-developers
>     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     > Unsubscribe : https://launchpad.net/~kicad-developers
>     > More help   : https://help.launchpad.net/ListHelp
>     >
> 
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     More help   : https://help.launchpad.net/ListHelp
> 



Follow ups

References