You are not logged in.

#1 2013-02-18 21:20:53

generalwatusimoto
Member
Registered: 2013-02-18
Posts: 6

How to trigger rebuild of package

Hello,

Probably the wrong forum, but I am a complete Arch newbie, so forgive me.

I am one of the devs of Bitfighter (http://bitfighter.org), which you have an old version of here: https://aur.archlinux.org/packages/bitfighter/

I'd like to know if there is a way for me to automatically or manually trigger a rebuild when a new version is available, as there is now.

If it's not too much work, I'd love to help keep you guys up to date.

Thanks!

Offline

#2 2013-02-18 21:27:54

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: How to trigger rebuild of package

You can register in AUR and flag bitfighter out-of-date, thus informing its maintainer that there's a new release.

Offline

#3 2013-02-18 21:33:36

generalwatusimoto
Member
Registered: 2013-02-18
Posts: 6

Re: How to trigger rebuild of package

So, if I did that, it would be a process of reflagging every time we do a release?

Last edited by generalwatusimoto (2013-02-18 21:34:15)

Offline

#4 2013-02-18 21:36:58

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: How to trigger rebuild of package

Or contact the maintainer by mail.


To know or not to know ...
... the questions remain forever.

Offline

#5 2013-02-18 21:37:05

Pougnet
Member
Registered: 2013-02-18
Posts: 11

Re: How to trigger rebuild of package

Yes, that is correct. The mantainer either sees that it is flagged out of date or finds out himself. Then, they update the PKGBUILD file to build the new version.

Offline

#6 2013-02-18 21:40:19

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: How to trigger rebuild of package

You need to flag it out-of-date every time you do a release, unless someone manages to flag it before you or the maintainer realizes there's a new release without flagging and updates the PKGBUILD (AUR holds PKGBUILDS, which are "recipes" for building packages).

Offline

#7 2013-02-18 21:41:57

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: How to trigger rebuild of package

Just an idea here.  Would it be possible to have 'latest' tarball along with the tarballs with release versions.  For example:

http://bitfighter.googlecode.com/files/ … 17b.tar.gz would be the version file but you would also have
http://bitfighter.googlecode.com/files/ … est.tar.gz alongside it, and the latest will always be the newest version.

That way, you can ask the maintainer to point the pkgbuild to the http://bitfighter.googlecode.com/files/ … est.tar.gz and it will always be the newest version whenever someone installs through AUR.  That would bypass the need for communication between dev <-> maintainer to update for every release.

Offline

#8 2013-02-18 21:43:37

generalwatusimoto
Member
Registered: 2013-02-18
Posts: 6

Re: How to trigger rebuild of package

Ok, I've flagged it, and added that step to our release checklist.  It would seem cleaner (for the maintainer) if there were a way to automate the process a bit (we post our source at a consistent URL, for example), but I can live with manually flagging it and letting the maintainer do the work.

Thanks!

Offline

#9 2013-02-18 21:51:21

generalwatusimoto
Member
Registered: 2013-02-18
Posts: 6

Re: How to trigger rebuild of package

@frank604 -- good idea; we'll start that with our next release.

Offline

#10 2013-02-18 22:00:40

Pougnet
Member
Registered: 2013-02-18
Posts: 11

Re: How to trigger rebuild of package

frank604 wrote:

Just an idea here.  Would it be possible to have 'latest' tarball along with the tarballs with release versions.  For example:

http://bitfighter.googlecode.com/files/ … 17b.tar.gz would be the version file but you would also have
http://bitfighter.googlecode.com/files/ … est.tar.gz alongside it, and the latest will always be the newest version.

That way, you can ask the maintainer to point the pkgbuild to the http://bitfighter.googlecode.com/files/ … est.tar.gz and it will always be the newest version whenever someone installs through AUR.  That would bypass the need for communication between dev <-> maintainer to update for every release.

That can risk screwing up the build. If there are changes to the process of building the program, the package will fail to be made. So, the maintainer still needs to keep themselves informed about the program.

Offline

#11 2013-02-18 22:01:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,247

Re: How to trigger rebuild of package

That doesn't really help, though, as the maintainer still needs to change the pkgver and the checksum to make things work.

Offline

#12 2013-02-18 23:53:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,432
Website

Re: How to trigger rebuild of package

If you're willing to be involved, you could ask the current maintainer if you could take over the AUR package.

You'd have to learn how to write a PKGBUILD for arch if you haven't before - but they are very easy.  Then you'd just update the AUR whenever you wanted.  When you have an updated version it would take all of a minute or two to update the AUR ... probably a lot less time that even writing an email to the current maintainer, defintely a lot less than waiting for their response.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2013-02-18 23:55:02

Arctus
Member
Registered: 2012-07-14
Posts: 99

Re: How to trigger rebuild of package

Can't you just make a "latest" version and build from hg?
https://wiki.archlinux.org/index.php/Ar … guidelines

Offline

#14 2013-02-19 01:21:34

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: How to trigger rebuild of package

I am not knowledgeable about maintaining packages and I was also thinking there might be a fault with the "latest" idea.  Just thought people more knowledgeable would be able to chip in and point out the potholes.  Trillby's idea sounds the best though.  Even if the "latest" idea works without a hitch, always nice to be in full control in case of any unforeseen hickups.

Offline

Board footer

Powered by FluxBB