Testing package imports locally

John Arbash Meinel john at arbash-meinel.com
Wed Feb 17 17:57:00 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Westby wrote:
> Some updates since I sent the mail last time.
> 
> On Wed, 17 Feb 2010 12:02:48 +1100, Robert Collins <robertc at robertcollins.net> wrote:
>> You can trigger a run with
>>
>>   ./import_package.py --no-push <package-name>
>>
>> (The --no-push ensures that it doesn't try and push to LP if it
>>  succeeds.)
> 
> There is now also
> 
>   --no-existing
> 
> to do a fresh import ignoring what is on LP already. I've found that
> most of the "<foo> is not found in <bar>" type errors that suggest
> repository corruption don't reproduce on a fresh import, suggesting that
> they are bugs fixed in newer bzr, or are caused by the act of pushing to
> LP.
> 
> There is also
> 
>   --check
> 
> to run check on the repository as it finishes. However, this just puts
> the info in the log as the check_dwim API doesn't tell you if any
> problems were detected as far as I could see.
> 
>> This will create a number of directories in your cwd. "updates"
>> is where the work happens, and where the final branches end up.
>> "revids" is where the audit data is stored. "logs" contains a log
>> file per-package, you can tail it to watch progress. There are
>> a few more of lesser importance.
> 
> You may need to create ./logs/diffs and ./logs/merges as well, I don't
> think I made it create those if they didn't exist.
> 
>> Current failures are at
>>
>>   http://package-import.ubuntu.com/failures/.bzr/failures/
> 
> As stated elsewhere this is now
> 
>   http://package-import.ubuntu.com/status/
> 
> 
> Thanks,
> 
> James
> 

By the way, should this be split out into its own LP project? It
certainly isn't part of the bzr-builddeb codebase.
(bzr-builddeb-import-scripts ?)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt8LewACgkQJdeBCYSNAAMUsACeI1uQ5nPbRptsDTxXLHQCORhh
/6QAniWNYNoxe80l6NbdGXTv3E61JIVJ
=LsRK
-----END PGP SIGNATURE-----



More information about the ubuntu-distributed-devel mailing list