This function looks a little hinky to me.
Thoughts?
In importer.py:
def get_smf_packages(server_url, manifest_locations, filter):
...
pub_name = "opensolaris.org"
...
api_inst = pkg.client.api.image_create(PKG_CLIENT_NAME,
CLIENT_API_VERSION, image_dir, pkg.client.api.IMG_TYPE_USER,
is_zone, facets=pkg.facet.Facets(), force=False, prefix=pub_name,
progtrack=tracker, refresh_allowed=refresh_allowed,
repo_uri=server_url)
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.
---------- 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