Quantcast
Channel: Is there an easy way to automatically patch ubuntu sources as they become available and upload to a PPA? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Is there an easy way to automatically patch ubuntu sources as they become available and upload to a PPA?

$
0
0

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.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>