public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] repoman: declare '-x', '--xmlparse' command line options obsolete
@ 2016-05-19 22:45 Göktürk Yüksek
  2016-05-20  4:14 ` [gentoo-portage-dev] " Duncan
  2016-05-20  9:10 ` [gentoo-portage-dev] " Alexander Berntsen
  0 siblings, 2 replies; 3+ messages in thread
From: Göktürk Yüksek @ 2016-05-19 22:45 UTC (permalink / raw
  To: gentoo-portage-dev

Repoman pulls in lxml unconditionally now and performs metadata checks
by default. This behavior makes these command line options obsolete
since forcing the default makes little sense. Declare them obsolete
instead of removing them for backwards compatibility.

Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
---
 repoman/man/repoman.1            | 3 +--
 repoman/pym/repoman/argparser.py | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/repoman/man/repoman.1 b/repoman/man/repoman.1
index e2b9c66..fc5c52d 100644
--- a/repoman/man/repoman.1
+++ b/repoman/man/repoman.1
@@ -59,8 +59,7 @@ Be less verbose about extraneous info
 \fB-p\fR, \fB--pretend\fR
 Don't commit or fix anything; just show what would be done
 .TP
-\fB-x\fR, \fB--xmlparse\fR
-Forces the metadata.xml parse check to be carried out
+\fB-x\fR, \fB--xmlparse\fR (OBSOLETE)
 .TP
 \fB-v\fR, \fB--verbose\fR
 Displays every package name while checking
diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index 2d56a87..3d35b6a 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -117,7 +117,7 @@ def parse_args(argv, qahelp, repoman_default_opts):
 	parser.add_argument(
 		'-x', '--xmlparse', dest='xml_parse', action='store_true',
 		default=False,
-		help='forces the metadata.xml parse check to be carried out')
+		help='(OBSOLETE)')
 
 	parser.add_argument(
 		'--if-modified', choices=('y', 'n'), default='n',
-- 
2.7.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-20  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19 22:45 [gentoo-portage-dev] [PATCH] repoman: declare '-x', '--xmlparse' command line options obsolete Göktürk Yüksek
2016-05-20  4:14 ` [gentoo-portage-dev] " Duncan
2016-05-20  9:10 ` [gentoo-portage-dev] " Alexander Berntsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox