For now, this tool is about retrieving the contents of a package. It outputs this content in a format that can easily be fed to pkgsend include.
The enhancements you describe are certainly feasible; however, they're not part of what I'm trying to accomplish with this change. If we're copying packages from staging to development, we'll use rsync or another mirroing method. This tool isn't for mirroring. -j On Thu, May 01, 2008 at 09:54:48AM -0500, Tom Mueller (pkg-discuss) wrote: > With the pkgrecv command, how would one copy a package to a different > repository > while preserving the exact version number for the package, including the > timestamp. > I've noticed that a "pkgsend open" always uses a new timestamp, even if one > does: > > pkgsend open [EMAIL PROTECTED],0-6.564:20080425T194843Z > > I'm assuming that when we copy packages from a development to staging to > production > repositories, that we want to keep the exact version numbers. This would > also be > needed when copying between mirrors. > > Do you envision having a pkgsend copy command, such as: > > pkgsend copy -s http://source.com/ -d http://dest.com/ [EMAIL PROTECTED] > [EMAIL PROTECTED] > > which would make exact copies of the listed packages from source to dest? > > Thanks. > Tom > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
