How to mirror source tarball published on freshmeat in a branch?

Asked by blep

I would like to mirror the source of an existing project. Unfortunately this project has no public source repository and only publishes the source tarball of each release.

What is the recommended way to "mirror" such a project?
Is there any tool to automatically track freshmeat notification and update a branch?
Is there another recommended workflow?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
blep
Solved:
Last query:
Last reply:
Revision history for this message
Gavin Panella (allenap) said :
#1

Hi,

I think the only way to have a Bazaar branch of the source is to download it yourself, update your working tree, commit and push it to Launchpad. It's far from perfect but it's probably quite scriptable.

However, if you just want to mirror the source tarballs, a recent blog post "Automatically import files to Launchpad using product release finder" might be useful to you:

  http://blog.launchpad.net/cool-new-stuff/automatically-import-files-to-launchpad-using-product-release-finder

You might be able to combine the release finder with a script to update a Bazaar branch? Release file information is probably available via the Launchpad API <https://help.launchpad.net/API>. If that's of interest I can get you a definitive answer and we (the Launchpad developers) will be able to help you get started.

Gavin.

Revision history for this message
blep (blep) said :
#2

Thanks, I'll go with the first option which was my initial idea. I don't completly understand where the file are imported in solution 2 but it does not seem to decompress the tar ball anyway.