Folks,
My most recent putback got the publisher configuration aspect of the
pkgrecv(1) republication wrong.  The client should have been retrieving
the remote prefix, but not the entireity of the remote configuration.
This 2-line fix solves the problem, and makes everything work the way
that it should.

Thanks,

-j

diff -r 874a83b3e8d1 -r c32678629a07 src/pull.py
--- a/src/pull.py       Fri Sep 03 15:50:28 2010 -0700
+++ b/src/pull.py       Fri Sep 03 16:59:39 2010 -0700
@@ -478,7 +478,7 @@
                 republish = True
 
                 targ_pub = transport.setup_publisher(target, "target",
-                    dest_xport, dest_xport_cfg, remote_publishers=True)
+                    dest_xport, dest_xport_cfg, remote_prefix=True)
 
                 # Files have to be decompressed for republishing.
                 keep_compressed = False
@@ -611,7 +611,7 @@
 
                 if not targ_pub:
                         targ_pub = transport.setup_publisher(target, "target",
-                            dest_xport, dest_xport_cfg, remote_publishers=True)
+                            dest_xport, dest_xport_cfg, remote_prefix=True)
 
                 try:
                         t = trans.Transaction(target, pkg_name=pkg_name,
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to