Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm looking for a tool to do the following:

  • Automatically detect updates to a set of source packages (specifically gtk+2 and gtk+3)
  • download the source package
  • apply my own custom patches to the source
  • commit the patch properly (dpkg-source --commit [something-or-other]?)
  • if successful upload them to a PPA on Launchpad (which I can then point my system to in the usual way).

Can Launchpad do all of that for me?

If not, is there a tool that will automatically do all of that from a cron job?

Failing the above, I'll knock something together myself, but what commands do I need to:

  • detect and download the source package updates? (I'd prefer something like (bzr|git) pull rather than having to apt-get source a brand new copy each time)
  • auto-commit the patch locally (I'd use the same commit description each time)?
  • upload the sources non-interactively to a PPA?

I've found a question ( What is the proper way to patch Wine for a custom PPA? ), which is similar but the steps in the answer are still basically manual and interactive. A completely hands-off version of that plus automatic detection of source updates would help a lot.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.