Hi Chris,
On Mon, 2010-06-14 at 16:42 -0700, Chris Quenelle wrote:
> Is it really correct toassume the pub name is opensolaris.org?
> When I try to build unbundled packages into a small test repo,
> this is throwing an exception.
I'll have a look - I assumed people were only ever importing into
repositories that looked like the production ones. It sounds like the
right thing to do would be to query the repository for the publisher
prefix it provides, and use that instead.
Feel like starting to write some unit tests for importer.py - or better
yet, start transitioning over to using the real publishing tools?
cheers,
tim
>
> ---------- here's the output
>
>
> Seeding local SMF manifest database from http://localhost:15623/
> Traceback (most recent call last):
> File "./importer.py", line 1917, in <module>
> main_func()
> File "./importer.py", line 1580, in main_func
> ",5.11-" + def_branch):
> File "./importer.py", line 1127, in get_smf_packages
> repo_uri=server_url)
> File
> "/export/home/ossx_test/pkg/bugs/15623/gate/proto/root_sparc/usr/lib/python2.6/vend
> or-packages/pkg/client/api.py", line 2949, in image_create
> known=known, unknown=[prefix], location=repo_uri)
> pkg.client.api_errors.UnknownRepositoryPublishers: The repository at
> http://localhost:1562
> 3/ does not contain package data for opensolaris.org; only bug15623.
>
> This is either because the repository location is not valid, or because the
> provided publi
> sher does not match those known by the repository.
>
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss