[svn] r4818 - trunk/tools/yam

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Fri Oct 13 23:28:10 CEST 2006


Author: dag
Date: 2006-10-13 23:28:09 +0200 (Fri, 13 Oct 2006)
New Revision: 4818

Modified:
   trunk/tools/yam/ChangeLog
   trunk/tools/yam/TODO
   trunk/tools/yam/rhnget
   trunk/tools/yam/yam
Log:
Fixed a problem with file:/// handling.

Modified: trunk/tools/yam/ChangeLog
===================================================================
--- trunk/tools/yam/ChangeLog	2006-10-11 21:30:16 UTC (rev 4817)
+++ trunk/tools/yam/ChangeLog	2006-10-13 21:28:09 UTC (rev 4818)
@@ -1,4 +1,4 @@
-* 0.8.3 - ... - released 23/09/2006
+* 0.8.3 - ... - released 13/10/2006
 - Fixed a problem with specific python versions (Justin B Hochstetler)
 - Fixed the non-functional -r option
 - Apply -r option to repository generation as well
@@ -15,6 +15,7 @@
 - Change some informational messages to error messages to improve output
 - Added --type directive to match repos by type (method)
 - Moved the RHN code out of Yam, created new rhnget tool
+- Fixed a problem that caused a directory where file:/// was used (Gareth Armstrong)
 
 * 0.8.2 - Finally fixed - released 19/09/2006
 - Use exec in conjunction with system()

Modified: trunk/tools/yam/TODO
===================================================================
--- trunk/tools/yam/TODO	2006-10-11 21:30:16 UTC (rev 4817)
+++ trunk/tools/yam/TODO	2006-10-13 21:28:09 UTC (rev 4818)
@@ -21,6 +21,7 @@
 + Use mirrorlist option from .repo files as a source (for http)
 + Autocreate yum .repo files and apt .list files to be used by local clients
 + Add support for other remote synchronising tools (sitecopy, wget)
++ Check for existence of packages on ISOs (updates vs os), especially for RHN downloads
 
 ### Repository metadata
 + Create anaconda-style metadata for booting an updated installation
@@ -78,12 +79,15 @@
 ### RHNget tool / RHN support
 + Fix the 'cached' logininfo which causes old channel information to be present - Fixed when using unique systemids ?
 + Re-authenticate after X-RHN-Auth-Expire-Offset (3600sec) to prevent SSL handshake failures after timeout
-+ Check for existence of packages on ISOs (updates vs os)
 + Allow rhnget to create new systems (register) in RHN on demand (gensystemid functionality)
 + Handle channel subscription one way or the other
 + Remove unavailable RHN packages (rhnget-cleanup/--delete option)
 + Reimplement using python xmlrpc instead of up2date
 + Allow to download packages based on a glob (--include, --exclude)
++ Add --username/--password options to automatically subscribe systems to channels
++ Add a --source option to allow for downloading source-packages
++ Implement better channel support (a way to use _all_ channels)
++ Allow for listing packages instead of downloading (--dry-run ?)
 
 ### Yamcfg tool / generate a configuration for clients (Chandan Dutta Chowdhury)
 + The tool should accept a URL as an argument

Modified: trunk/tools/yam/rhnget
===================================================================
--- trunk/tools/yam/rhnget	2006-10-11 21:30:16 UTC (rev 4817)
+++ trunk/tools/yam/rhnget	2006-10-13 21:28:09 UTC (rev 4818)
@@ -90,9 +90,6 @@
 			elif opt in ('--version', ):
 				self.version()
 				sys.exit(0)
-			elif opt in ('-x', '--extras'):
-				print 'rhnget: the use of -x or --extras is deprecated, use -u and -r instead'
-				self.update = True
 
 		if len(args) < 2:
 			self.usage()

Modified: trunk/tools/yam/yam
===================================================================
--- trunk/tools/yam/yam	2006-10-11 21:30:16 UTC (rev 4817)
+++ trunk/tools/yam/yam	2006-10-13 21:28:09 UTC (rev 4818)
@@ -529,7 +529,7 @@
 			except YamMirrorException, e:
 				error(0, 'Mirroring failed for %s with message:\n  %s' % (url, e.value))
 				exitcode = 2
-		else:
+		if not self.url:
 			### Create directory in case no URL is given
 			mkdir(self.srcdir)
 



More information about the svn-commits mailing list