Provide a default return value in the __str__ methods to fix a traceback.
[pykickstart.git] / ChangeLog
blob753f55867b20c4559f01d803875da98c01618ad0
1 2007-02-19  Chris Lumens  <clumens@redhat.com>
3         * pykickstart/commands/reboot.py:  Provide a default return value in
4         the __str__ methods to fix a traceback.
6 2007-02-19  Chris Lumens  <clumens@redhat.com>
8         * pykickstart/commands/*.py:  All command objects now have an
9         underscore between the version part and the name for ease of
10         processing.
11         * pykickstart/handlers/control.py (commandMap):  Likewise.
13         * pykickstart/base.py (BaseHandler._setCommand):  Strip version part
14         from name before creating the attribute.
16         * pykickstart/version.py (versionToString):  Added a method to convert
17         version numbers back into strings, which is needed for the above
18         change.
20 2007-02-19  Chris Lumens  <clumens@redhat.com>
22         * pykickstart/base.py:  Moved here from pykickstart/commands and adapt
23         to new layout.
25         * pykickstart/version.py:  Accept short forms of version strings again
26         and adapt to new layout.
28         * pykickstart/commands/*.py:  Broke each command out into its own file
29         and put all the versions of that command handler together.  Idea and
30         mock up from Peter Jones (<pjones AT redhat.com>).
32         * pykickstart/handlers/*.py:  Moved handlers into their own directory.
34         * pykickstart/handlers/control.py:  Add a file laying out which
35         commands are supported by each version and exactly where they can be
36         found.  This should help readability of the code quite a bit.
38 2007-02-14  Chris Lumens  <clumens@redhat.com>
40         * pykickstart.spec, setup.py:  New version.
42 2007-02-14  Chris Lumens  <clumens@redhat.com>
44         * pykickstart/parser.py (KickstartParser.__init__):  Don't need to
45         take a version argument since the Parser can get that from the
46         Handler.
48         * validator/ksvalidator:  KickstartParser no longer takes a version
49         argument.
51         * pykickstart/version.py (stringToVersion):  Be more lenient in what
52         strings we accept to take into account RHEL variants.
54 2007-02-08  Chris Lumens  <clumens@redhat.com>
56         * pykickstart/parser.py (KickstartParser._reset):  Add a method to
57         reset the state machine state and call it from __init__.  Also call it
58         from readKickstart and readKickstartFromString except in the special
59         case of included files.  This allows calling the parser multiple times
60         with the same data objects for file inheritance/overriding.
62 2007-02-07  Chris Lumens  <clumens@redhat.com>
64         * pykickstart.spec, setup.py:  New version.
66 2007-02-06  Chris Lumens  <clumens@redhat.com>
68         * pykickstart/commands/f7.py (F7Handler.Key.__str__):  Add a newline.
69         * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__):  Likewise.
71         * pykickstart/constants.py:  Add network bootproto constants (#197694).
72         * pykickstart/commands/fc3.py:  Use new network constants.
73         * pykickstart/commands/fc4.py:  Likewise.
74         * pykickstart/commands/fc6.py:  Likewise.
75         * pykickstart/commands/rhel4.py:  Likewise.
77 2007-02-01  Chris Lumens  <clumens@redhat.com>
79         * pykickstart/commands/fc4.py:  Fix tracebacks in subclass __str__
80         methods (#226734).
81         * pykickstart/commands/rhel4.py:  Likewise.
83 2007-01-31  Chris Lumens  <clumens@redhat.com>
85         * pykickstart.spec:  Modified to more closely match the extras
86         packaging guidelines.
88 2007-01-25  Chris Lumens  <clumens@redhat.com>
90         * pykickstart.spec, setup.py:  New version.
92 2007-01-24  Chris Lumens  <clumens@redhat.com>
94         * pykickstart/commands/fc3.py:  Added.
95         * pykickstart/commands/fc4.py:  Move basic commands and data back to
96         FC3.
98         * pykickstart/commands/rhel4.py:  Added.
100         * pykickstart/version.py:  Add support for FC3 and RHEL4.
102         * pykickstart/commands/fc4.py (FC4Handler.__init__):  Use
103         overrideCommand instead of registerCommand.
104         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
105         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
107 2007-01-24  Chris Lumens  <clumens@redhat.com>
109         * pykickstart/commands/fc6.py (FC6Handler.Key):  FC6 didn't support
110         the key command.
111         * pykickstart/commands/f7.py (F7Handler.Key):  The key command was
112         added just after FC6 came out.
114         * pykickstart/commands/rhel5.py:  Added.
116         * pykickstart/version.py:  Add support for RHEL5.  Be more permissive
117         in what sorts of strings we map to version numbers.  Fix pychecker
118         warnings.
120 2007-01-19  Chris Lumens  <clumens@redhat.com>
122         * pykickstart.spec, setup.py:  New version.
124 2007-01-19  Chris Lumens  <clumens@redhat.com>
126         * pykickstart/errors.py (KickstartVersionError):  This should just
127         take a message like all the other exception classes.
128         * pykickstart/version.py:  Pass a message to KickstartVersionError.
130         * pykickstart/commands/base.py (BaseHandler.__init__):  Add a version
131         attribute so we no longer have to compare class names.
132         * pykickstart/commands/f7.py (F7Handler.__init__):  Likewise.
133         * pykickstart/commands/fc4.py (FC4Handler.__init__):  Likewise.
134         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
135         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
137         * pykickstart/parser.py (KickstartParser.__init__):  Fix test for
138         matching version numbers now that handlers know what version they are.
140 2007-01-18  Chris Lumens  <clumens@redhat.com>
142         * pykickstart/commands/fc4.py:  KSOptionParser's lineno argument needs
143         a name.
144         * pykickstart/commands/fc5.py:  Likewise.
145         * pykickstart/commands/fc6.py:  Likewise.
147 2007-01-18  Chris Lumens  <clumens@redhat.com>
149         * pykickstart/commands/base.py (BaseHandler.unregisterCommand):  Add a
150         method to remove support for a command from a Handler instance.
152         * pykickstart/version.py:  Add support for the F7 version.
153         * pykickstart/commands/f7.py:  Add a devel version that removes the
154         deprecated langsupport and mouse commands.
156         * pykickstart/options.py (KSOptionParser.__init__):  Move call to
157         superclass __init__ to where it belongs.
158         (KSOptionParser.check_values):  Deprecated should be a flag, not a
159         version number.
161         * pykickstart/parser.py (Packages):  Accept a --default argument to
162         specify that the default package set should be installed (#221305).
163         (KickstartParser.handlePackageHdr):  Likewise.
164         (KickstartParser.__init__):  KickstartParser needs to accept a version
165         argument as well.
167         * validator/ksvalidator:  Pass the version to KickstartParser.
169 2007-01-17  Chris Lumens  <clumens@redhat.com>
171         * pykickstart.spec, setup.py:  New version.
173 2007-01-16  Chris Lumens  <clumens@redhat.com>
175         * pykickstart/parser.py (KickstartParser.readKickstartFromString):
176         Add a method to read a kickstart file from a string, in addition to
177         the one that's already there for reading from a file.
179 2007-01-16  Chris Lumens  <clumens@redhat.com>
181         * pykickstart.spec, setup.py:  New version, finally.
183 2007-01-16  Chris Lumens  <clumens@redhat.com>
185         * pykickstart/parser.py (Script.__str__):  Write out --interpreter
186         since that's what the parser expects (#222877).
188         * pykickstart/commands/fc4.py:  Fix exception error messages.
190 2007-01-15  Chris Lumens  <clumens@redhat.com>
192         * pykickstart/commands/base.py (BaseHandler.empty):  Add a method to
193         empty out the contents of the commands dict.
195         * pykickstart/commands/fc4.py (BaseHandler.Upgrade):  Only set upgrade
196         if that's what the current command is.
197         (BaseHandler.RootPw):  rootpw -> password
199 2007-01-15  Chris Lumens  <clumens@redhat.com>
201         * pykickstart/version.py (returnClassForVersion):  Take a default
202         version argument.
203         (returnClassForVersion):  Rename Version to Handler.
205         * pykickstart/parser.py:  Rename kshandlers to handler.
207         * pykickstart/commands/base.py:  Rename BaseVersion to BaseHandler,
208         registerHandler to registerCommand, and self.dispatcher to
209         self.handler.
210         * pykickstart/commands/fc4.py:  Likewise.
211         * pykickstart/commands/fc5.py:  Likewise.
212         * pykickstart/commands/fc6.py:  Likewise.
214 2007-01-12  Chris Lumens  <clumens@redhat.com>
216         * pykickstart/commands/base.py (BaseVersion.overrideHandler):  Provide
217         a way to create a new instance of the handler and have it used.  This
218         allows a shortcut for wiping out all the attributes on an instance.
219         (BaseVersion.__str__):  Newline after the platform is written.
221         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add the
222         dispatcher setting back in.
224 2007-01-12  Chris Lumens  <clumens@redhat.com>
226         * pykickstart/commands/base.py (BaseVersion._insertSorted):  When a
227         subclass of BaseVersion registers a handler that already exists from a
228         class higher up the chain, remove the existing handler in favor of the
229         new one.
231         * pykickstart/commands/fc4.py:  Put writePriority defaults in the
232         default arguments to command objects instead of in the calls to
233         creating them, as that didn't work for subclasses.  Also change how
234         we handle default arguments that are lists.
235         * pykickstart/commands/fc5.py:  Likewise.
236         * pykickstart/commands/fc6.py:  Likewise.
238 2007-01-11  Chris Lumens  <clumens@redhat.com>
240         * pykickstart/commands/fc5.py (RaidData, Raid):  Make these classes
241         subclass the ones in FC4Version, to the extent that can be done.
242         * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
243         Likewise.
245         * pykickstart/parser.py (Script.__str__):  Fix Script printing.
247         * pykickstart/commands/fc6.py (FC6Version.Method):  Fix test for opts
248         attribute.
250 2007-01-10  Chris Lumens  <clumens@redhat.com>
252         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add a
253         dispatcher setting so command classes can still access data classes.
254         (BaseVersion.registerHandler):  Don't overwrite command classes with
255         an instance in the version object.
257         * pykickstart/commands/fc4.py:  Data and command classes are now
258         nested inside the version class.
259         * pykickstart/commands/fc5.py:  Likewise.
260         * pykickstart/commands/fc6.py:  Likewise.
262 2007-01-10  Chris Lumens  <clumens@redhat.com>
264         * pykickstart/version.py (makeVersion):  Default to DEVEL.
266         * pykickstart/commands/fc4.py:  Command -> KS for brevity.
267         * pykickstart/commands/fc5.py:  Likewise.
268         * pykickstart/commands/fc6.py:  Likewise.
270 2007-01-09  Chris Lumens  <clumens@redhat.com>
272         * pykickstart/po/*:  Updated translations.
274         * pykickstart/commands/*.py:  Rename everything from Handler to
275         Version, as that seems to make more sense.
276         * pykickstart/options.py:  Likewise.
277         * pykickstart/parser.py:  Likewise.
278         * pykickstart/version.py:  Likewise.
279         * ksvalidator/validator:  Likewise.
281 2007-01-09  Chris Lumens  <clumens@redhat.com>
283         * Merge in multiversion-branch (#189348).
285 2007-01-08  Chris Lumens  <clumens@redhat.com>
287         multiversion-branch:
289         * Merge from HEAD:  Updated translations.
291 2007-01-03  Chris Lumens  <clumens@redhat.com>
293         multiversion-branch:
295         * pykickstart/commands/base.py (BaseHandler.hasHandler):  Add a
296         convenience method to see if there's a handler for a given command.
298 2006-12-22  Chris Lumens  <clumens@redhat.com>
300         multiversion-branch:
302         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add a
303         writePriority parameter to control the order commands get written out
304         when __str__ methods are called.
305         (BaseHandler.__str__):  Take writePriorities into account.
306         (BaseHandler.registerHandler):  Insert command handlers into the
307         _writePriority dict in the correct order - first by priority, then
308         alphabetically within that priority.
310         * pykickstart/commands/fc4.py:  Add new writePriority parameter.
311         * pykickstart/commands/fc6.py:  Likewise.
313 2006-12-22  Chris Lumens  <clumens@redhat.com>
315         multiversion-branch:
317         * pykickstart/commands/fc6.py:  Added multipath support back in.
319         * pykickstart/commands/base.py (BaseData):  Added a superclass for all
320         those Kickstart*Data objects.
321         * pykickstart/commands/fc4.py:  Use BaseData.
322         * pykickstart/commands/fc6.py:  Likewise.
324         * pykickstart/commands/base.py:  Clarify API for subclasses a little
325         bit.  Make KickstartCommand.__str__ an abstract method.  Add
326         DeprecatedCommand.__str__.
328 2006-12-20  Chris Lumens  <clumens@redhat.com>
330         multiversion-branch:
332         * pykickstart/commands/fc4.py (CommandReboot.__str__):  Fix output
333         formatting.
335         * Merge from HEAD:  Updated translations.
337 2006-12-20  Chris Lumens  <clumens@redhat.com>
339         multiversion-branch:
341         * pykickstart/__init__.py:  Clear this out.
343         * pykickstart/errors.py:  Add __doc__ strings to all classes and
344         public methods.
345         * pykickstart/options.py:  Likewise.
346         * pykickstart/version.py:  Likewise.
347         * pykickstart/commands/base.py:  Likewise.
349         * pykickstart/parser.py:  Add __doc__ strings to all classes and
350         public methods.  Privatize attributes in KickstartParser that don't
351         need to be public.
353         * pykickstart/commands/fc4.py (FC4Handler.__init__):  _registerHandler
354         is no longer private.
355         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
356         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
358         * docs/programmers-guide:  Remove stuff that's now duplicated by
359         __doc__ strings.
361 2006-12-20  Chris Lumens  <clumens@redhat.com>
363         * po/nb.po:  Update from rhel5-branch.
365 2006-12-19  Chris Lumens  <clumens@redhat.com>
367         multiversion-branch:
369         * pykickstart/commands/base.py (KickstartCommand.__call__):  Add a
370         function to set all the attributes of a command object at once.
371         (BaseHandler._registerHandler):  Don't need to do so much goofy stuff
372         to register a command handler anymore.
374         * pykickstart/version.py (returnClassForVersion):  Add a function to
375         return the class matching a given kickstart syntax version.  This does
376         not return an instance of that class.
378         * Makefile:  Add pykickstart/commands/*.pyc to what gets cleaned.
380         * setup.py:  Package up commands as well.
382         * test.py:  This isn't needed anymore.
384 2006-12-19  Chris Lumens  <clumens@redhat.com>
386         multiversion-branch:
388         * pykickstart/commands/fc4.py:  Add named arguments to __init__
389         functions for all command handlers.
390         * pykickstart/commands/fc6.py:  Likewise.
392         * pykickstart/commands/fc4.py:  Various minor fixes to default
393         arguments and __str__ methods throughout.
395 2006-12-15  Chris Lumens  <clumens@redhat.com>
397         * pykickstart.spec, setup.py:  Bump version (only translations have
398         changed since the last rebuild - #216620).
400 2006-12-12  Chris Lumens  <clumens@redhat.com>
402         multiversion-branch:
404         * pykickstart/commands/fc4.py (CommandLang):  Add lang attribute.
406         * pykickstart/commands/fc5.py (FC5Handler):  Import from the
407         FC4Handler.
409 2006-12-11  Chris Lumens  <clumens@redhat.com>
411         multiversion-branch:
413         * pykickstart/commands/fc4.py:  Added first run at data and command
414         handling support for Fedora Core 4.
416         * pykickstart/commands/fc4.py (KickstartLogVolData,
417         KickstartNetworkData, KickstartPartData, KickstartRaidData,
418         KickstartVolGroupData, KickstartZFCPData):  Add named arguments to
419         __init__ functions to make creating objects programatically easier.
420         * pykickstart/commands/fc6.py (KickstartDmRaidData,
421         KickstartIscsiData, KickstartRepoData, KickstartUserData):  Likewise.
423 2006-12-11  Chris Lumens  <clumens@redhat.com>
425         multiversion-branch:
427         * validator/ksvalidator:  Update to handle multiple versions.
429         * pykickstart/parser.py (Packages.add):  Move Parser.addPackages here
430         since this seems like a sensible method for the Packages object to
431         have.
433         * pykickstart/version.py (makeHandler):  Add a function to create the
434         right handler for a given syntax version.
435         (stringToVersion):  Add a function to convert string versions into
436         integer versions.
438         * pykickstart/commands/base.py:  Need to import errors here.
440 2006-12-11  Chris Lumens  <clumens@redhat.com>
442         multiversion-branch:
444         * pykickstart/options.py (KSOptionParser.check_values):  Use
445         self.lineno instead of lineno.
447         * pykickstart/parser.py:  Set packages, scripts, and platform on the
448         handler.
450         * pykickstart/commands/base.py (BaseHandler.__init__):  This looks
451         like the best place to add packages, scripts, and platform.
452         (BaseHandler.__str__):  Write out the whole ks file, though we still
453         need to get commands in the right order.
455         * Merge from HEAD:  Updated translations.
457 2006-12-08  Chris Lumens  <clumens@redhat.com>
459         multiversion-branch:
461         * pykickstart/data.py:  Removed.
462         * pykickstart/handlers.py:  Removed.
463         * pykickstart/writer.py:  Removed.
465         * pykickstart/__init__.py:  Updated.
466         * pykickstart/errors.py (KickstartVersionError):  Add a new exception
467         that will be useful in the future.
468         * pykickstart/options.py:  Don't need this import anymore.
469         * pykickstart/parser.py:  Rework string representation in String.
470         Create a new Packages class, even though it's not in use yet.  Hack in
471         changes to the parser to make it basically work for now.
472         * pykickstart/version.py:  Added initial symbolic version numbers.
474         * pykickstart/commands/__init__.py:  Added.
475         * pykickstart/commands/base.py:  Added base classes useful for all
476         syntax versions.
477         * pykickstart/commands/fc5.py:  Added first run at data and command
478         handling support for Fedora Core 5 syntax.  Most of this used to be
479         in data.py, handlers.py, and writer.py
480         * pykickstart/commands/fc6.py:  Added first run at data and command
481         handling support for Fedora Core 6 syntax.  Most of this used to be in
482         data.py, handlers.py, and writer.py
484         * TODO:  Added.
485         * test.py:  Added quick test harness.
487 2006-12-05  Chris Lumens  <clumens@redhat.com>
489         multiversion-branch:
491         * pykickstart/options.py (KSOptionParser.check_values):  Check
492         introduced and removed attributes.
493         (KSOption):  Add introduced and removed attributes.
495         * validator/ksvalidator:  Update to work with new file structure.
497         * Merge from HEAD:
498           - po/pykickstart.pot:  Updated (#216620).
499           - pykickstart/errors.py:  Update string formats to make translation
500             easier.
501           - pykickstart/handlers.py:  Likewise.
502           - pykickstart/options.py:  Likewise.
503           - pykickstart/handlers.py (KickstartHandlers.doIscsi):  Use required
504             attribute.
505           - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
506             Fix traceback (#218047, #218059).
507           - pykickstart/writer.py (KickstartWriter.doLogging):  Add --level.
508           - pykickstart/writer.py (KickstartWriter.doRepo):  Fix traceback
509             (#218274).
511 2006-12-05  Chris Lumens  <clumens@redhat.com>
513         * pykickstart.spec, setup.py:  Bump version.
515 2006-12-04  Chris Lumens  <clumens@redhat.com>
517         * pykickstart/writer.py (KickstartWriter.doRepo):  Fix traceback
518         (#218274).
520 2006-12-01  Chris Lumens  <clumens@redhat.com>
522         * pykickstart.spec, setup.py:  Bump version.
524         * pykickstart/parser.py (KickstartHandlers.deprecatedCommands):  Fix
525         traceback (#218047, #218059).
527 2006-11-30  Chris Lumens  <clumens@redhat.com>
529         * pykickstart.spec, setup.py:  Bump version.
531 2006-11-21  Chris Lumens  <clumens@redhat.com>
533         * po/pykickstart.pot:  Updated (#216620).
535         * pykickstart/parser.py:  Update string formats to make translation
536         easier.
538 2006-11-14  Chris Lumens  <clumens@redhat.com>
540         * pykickstart/parser.py (KickstartHandlers.doIscsi):  Use required
541         attribute.
543 2006-11-09  Chris Lumens  <clumens@redhat.com>
545         * pykickstart/writer.py (KickstartWriter.doLogging):  Add --level.
547 2006-10-24  Chris Lumens  <clumens@redhat.com>
549         multiversion-branch:
551         * Merge from HEAD:
552           - Makefile:  Update to handle new release format.
553           - setup.py:  New version.
554           - pykickstart.spec: Fix spec file to use %{?dist} in release.
555           - pykickstart/writer.py (KickstartWriter.doKey):  Better way to
556             write key.
558 2006-10-24  Chris Lumens  <clumens@redhat.com>
560         multiversion-branch:
562         * pykickstart/__init__.py:  Import new files by default.
563         * pykickstart/errors.py:  Split out from parser.py.
564         * pykickstart/handlers.py:  Split out from parser.py
565         * pykickstart/options.py:  Split out from parser.py.
566         * pykickstart/parser.py:  Updated for new files.
568         * validator/ksvalidator:  Updated for new files.
570 2006-10-24  Chris Lumens  <clumens@redhat.com>
572         * pykickstart.spec, setup.py:  Bump version.
574         * Makefile:  Fix for new Release format.
576 2006-10-17  Chris Lumens  <clumens@redhat.com>
578         * pykickstart/writer.py:  Add writer for key command.
580 2006-10-17  Jeremy Katz  <katzj@redhat.com>
582         * pykickstart.spec, setup.py: Bump version.
583         
584         * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
586 2006-10-16  Jeremy Katz  <katzj@redhat.com>
588         * pykickstart.spec, setup.py: Bump version.
590         * pykickstart/parser.py (KickstartHandlers.doKey): Support for
591         installation key
592         * pykickstart/data.py (KickstartData.__init__): Likewise.
594 2006-10-13  Bill Nottingham  <notting@redhat.com>
596         * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
597           eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
598           lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
599           ur.po, vi.po, zu.po: Use a valid charset (#210720)
600         
601         * pykickstart.spec, setup.py: Bump version
604 2006-09-29  Chris Lumens  <clumens@redhat.com>
606         * pykickstart.spec, setup.py: Bump version
608         * pykickstart/parser.py (KickstartHandlers.doMethod):  Fix traceback
609         and test (#208557).
611 2006-09-25  Chris Lumens  <clumens@redhat.com>
613         * pykickstart.spec, setup.py: Bump version
615         * pykickstart/parser.py (KickstartHandlers.doMethod):  Add support for
616         --biospart option (#207585).
617         * pykickstart/writer.py (KickstartWriter.doMethod):  Likewise.
619         * pykickstart/writer.py (KickstartWriter.doIscsi):  Output new syntax.
620         (KickstartWriter.doZFCP):  Likewise.
621         (KickstartWriter.doIscsiName):  Added.
623 2006-09-20  Jeremy Katz  <katzj@redhat.com>
625         * pykickstart.spec, setup.py: Bump version
627         * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
628         improved iscsi syntax.  Also, allow multiple zfcp devs
629         * pykickstart/data.py: Likewise.
631 2006-07-13  Chris Lumens  <clumens@redhat.com>
633         * pykickstart/data.py:  Add noipv4 and noipv6 to KickstartNetworkData.
634         * pykickstart/parser.py (KickstartHandlers.doNetwork):  Limit
635         bootproto choices to what anaconda can handle.  Add support for
636         --noipv4 and --noipv6 options.
637         * pykickstart/writer.py (KickstartWriter.doNetwork):  Write out new
638         networking options.
640 2006-06-20  Chris Lumens  <clumens@redhat.com>
642         * pykickstart.spec, setup.py:  Bump version.
644         * pykickstart/writer.py (KickstartWriter.doIscsi):  Add iscsi writer.
646 2006-06-20  Jeremy Katz  <katzj@redhat.com>
648         * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
649         support.  This syntax is likely to change but this makes testing
650         so much easier.
651         * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
653 2006-06-20  Chris Lumens  <clumens@redhat.com>
655         * pykickstart/parser (KickstartHandlers.doRaid):  Handle a RAID device
656         as an integer instead of a string (#176537).
658 2006-06-16  Jeremy Katz  <katzj@redhat.com>
660         * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
662 2006-06-06  Chris Lumens  <clumens@redhat.com>
664         * pykickstart.spec:  Fix BuildRequires (#194156).
666 2006-05-25  Chris Lumens  <clumens@redhat.com>
668         * pykickstart.spec, setup.py:  Bump version.
670 2006-05-24  Chris Lumens  <clumens@redhat.com>
672         * pykickstart/writer.py (KickstartWriter):  Change order of LVM-related
673         functions (#193073).
675 2006-05-23  Chris Lumens  <clumens@redhat.com>
677         * pykickstart.spec:  Require urlgrabber now.
679         * po/*:  Update translation files.
681         * pykickstart/parser.py (KickstartParser.handleCommand):  Return a
682         more useful error message on unknown command.
684         * pykickstart/writer.py (KickstartWriter.doLogicalVolume):  Fix typo.
686         * validator/ksvalidator:  Accept a URL in addition to a file name.
688 2006-05-23  Chris Lumens  <clumens@redhat.com>
690         * pykickstart/writer.py (KickstartWriter.doPackages):  Don't write out
691         an empty packages section, since we may want this step to be
692         interactive (#192851).
694 2006-05-23  Chris Lumens  <clumens@redhat.com>
696         * pykickstart.spec, setup.py:  Bump version.
698         * pykickstart/writer.py (KickstartWriter.doFirewall):  Rename --ports
699         to match the parser.
701 2006-05-17  Peter Jones  <pjones@redhat.com>
703         * pykickstart/parser.py: Add "multipath" command and doMultiPath
704         handler.
705         * pykickstart/data.py: Add kickstartMpPathData and
706         KickstartMultiPathData objects to handle multipath info, as well as
707         KickstartData.mpaths .
708         * pykickstart/writer.py: add doMultiPath
709         * docs/programmers-guide: add completely useless documentation for
710         multipath kickstart objects.
712 2006-05-15  Chris Lumens  <clumens@redhat.com>
714         * pykickstart.spec, setup.py:  Bump version.
716         * pykickstart/data.py (KickstartNetworkData):  Add MTU (#191328).
717         * pykickstart/parser.py (KickstartHandlers.doNetwork):  Likewise.
718         * pykickstart/writer.py (KickstartWriter.doNetwork):  Likweise.
720 2006-05-10  Chris Lumens  <clumens@redhat.com>
722         * pykickstart/parser.py (KickstartHandlers.doTimezone):  Accept
723         --isUtc for backwards compatibility.
725 2006-05-04  Chris Lumens  <clumens@redhat.com>
727         * pykickstart.spec, setup.py:  Bump version.
729 2006-04-25  Chris Lumens  <clumens@redhat.com>
731         * pykickstart/data.py (KickstartUserData):  Added.
732         (KickstartData):  Added lists for services and users.
733         * pykickstart/parser.py (KickstartParser.doServices,
734         KickstartParser.doUser):  Add new command handlers.
735         Consolidate code to copy from option parsers to ksdata.
736         * pykickstart/writer.py (KickstartWriter.doServices,
737         KickstartParser.doUser):  Add new command handlers.
739 2006-04-24  Chris Lumens  <clumens@redhat.com>
741         * pykickstart/writer.py:  More output formatting fixes.
743 2006-04-19  Chris Lumens  <clumens@redhat.com>
745         * pykickstart/constants.py:  Start CLEARPART_ constants at 0.
747 2006-04-17  Chris Lumens  <clumens@redhat.com>
749         * pykickstart.spec, setup.py:  Bump version.
751 2006-04-13  Chris Lumens  <clumens@redhat.com>
753         * pykickstart/data.py (KickstartRepoData):  Added.
754         (KickstartRaidData):  Initialize members to a list instead of string.
755         (KickstartVolGroupData):  Likewise.
756         * pykickstart/parser.py (KickstartHandlers.doRepo):  Add options.
757         * pykickstart/writer.py (KickstartWriter.doRepo):  Likewise.
758         (KickstartWriter.doPackages):  Reorder package output.  Output header
759         options.
761 2006-04-11  Chris Lumens  <clumens@redhat.com>
763         * pykickstart/parser.py (KickstartParser.addPackages):  Ignore
764         whitespace before group names (#188095).
766 2006-03-27  Chris Lumens  <clumens@redhat.com>
768         * pykickstart.spec, setup.py:  Bump version.
770         * pykickstart/data.py (KickstartData.__init__):  Add support for the
771         logging command.
772         * pykickstart/writer.py (KickstartWriter.doLogging):  Likewise.
773         (KickstartWriter.doRepo):  Stub out funtion for the future.
774         * pykickstart/parser.py (KickstartHandlers.doLogging):  Likewise.
775         (KickstartHandlers.doRepo):  Stub out function for the future.
777 2006-03-27  Chris Lumens  <clumens@redhat.com>
779         * pykickstart.spec, setup.py:  Bump version.
781         * pykickstart/writer.py (KickstartWriter.doXConfig):  Don't write out
782         a blank xconfig line.
784 2006-03-13  Chris Lumens  <clumens@redhat.com>
786         * pykickstart/writer.py (KickstartWriter.__init__):  Reorder output
787         handlers.
789 2006-03-07  Chris Lumens  <clumens@redhat.com>
791         * pykickstart.spec, setup.py:  Bump version.
793         * pykickstart/parser.py (KickstartHandlers.doZeroMbr):  Backwards
794         compatibility support for options to zerombr.
796 2006-02-24  Chris Lumens  <clumens@redhat.com>
798         * pykickstart.spec, setup.py:  Bump version.
800         * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk):  Get ksdata
801         from the correct option parser variable (#182934).
803 2006-02-17  Chris Lumens  <clumens@redhat.com>
805         * pykickstart.spec, setup.py:  Bump version.
807 2006-02-16  Chris Lumens  <clumens@redhat.com>
809         * docs/programmers-guide:  Update documentation.
811         * pykickstart/parser.py:  Provide an option to not traceback if an
812         included file is not present.  This should have very limited
813         usefulness.  (#181760).
814         * pykickstart/parser.py (KSOptionParser.check_values):  Typos.
816 2006-02-13  Chris Lumens  <clumens@redhat.com>
818         * pykickstart.spec, setup.py:  Bump version.
820         * pykickstart/parser.py:  Don't trust ensure_value in complicated
821         cases in callbacks, as it wasn't setting values.
823 2006-02-13  Chris Lumens  <clumens@redhat.com>
825         * pykickstart.spec, setup.py:  Bump version.
827         * pykickstart/writer.py (KickstartWriter.doNetwork):  --onboot
828         requires a value (#180987).
830 2006-02-10  Chris Lumens  <clumens@redhat.com>
832         * pykickstart/parser.py:  Be more strict about commands that don't
833         take any arguments.
835 2006-02-09  Chris Lumens  <clumens@redhat.com>
837         * pykickstart.spec, setup.py:  Bump version.
839         * pykickstart/parser.py, pykickstart/writer.py:  Fix pychecker
840         warnings.
842         * pykickstart/parser.py (KSOption):  Condense all those option classes
843         into a single one.
845          * pykickstart/parser.py (KickstartParser.readKickstart):  Allow
846          exceptions to not be fatal so ksvalidator can report multiple
847          problems in one pass.
848          (KickstartHandlers.deprecatedCommand):  Add line number to message.
849          (KSOptionParser.check_values):  Make deprecated option message more
850          helpful.
852         * validator/ksvalidator:  Default to not following include files and
853         to not halting on the first error.  Add options to change this
854         behavior (#179894).
856 2006-02-08  Chris Lumens  <clumens@redhat.com>
858         * pykickstart/parser.py (KickstartHandlers.doRaid):  --level is not
859         strictly required since we should be able to infer it from
860         --preexisting.
862 2006-02-01  Chris Lumens  <clumens@redhat.com>
864         * pykickstart.spec, setup.py:  Bump version.
866         * pykickstart/parser.py (KickstartHandlers.doVnc):  No default port.
868 2006-01-31  Chris Lumens  <clumens@redhat.com>
870         * pykickstart.spec, setup.py:  Bump version.
872         * pykickstart.py/writer.py (KickstartWriter.doDmRaid):  Add an initial
873         value.
874         (KickstartWriter.doPartition):  Handle None on partition size.
875         
876 2006-01-30  Chris Lumens  <clumens@redhat.com>
878         * pykickstart.spec, setup.py:  Bump version.
880         * pykickstart/parser.py (KickstartHandlers.doVnc):  Fix connecting to
881         a remote viewer.  Deprecate --connect, and add --host and --port as
882         the new preferred way (#179209).
884 2006-01-19  Chris Lumens  <clumens@redhat.com>
886         * pykickstart.spec, setup.py:  Bump version.
888 2006-01-13  Chris Lumens  <clumens@redhat.com>
890         * pykickstart/constants.py:  Add constants for the various
891         reboot/shutdown actions.
892         * pykickstart/data.py:  Add support for --eject on reboot.
893         * pykickstart/parser.py:  Likewise.
894         * pykickstart/writer.py:  Likewise.
896 2006-01-04  Chris Lumens  <clumens@redhat.com>
898         * pykickstart/data.py:  Finish removing monitor information.
899         * pykickstart/writer.py:  Clean up output quoting a bit.
901 2005-12-12  Chris Lumens  <clumens@redhat.com>
903         * pykickstart/data.py:  Remove monitor information from xconfig.
904         * pykickstart/parser.py:  Remove monitor configuration from xconfig,
905         move --noprobe option to monitor keyword.
906         * pykickstart/writer.py:  Likewise.
908 2005-12-08  Chris Lumens  <clumens@redhat.com>
910         * pykickstart/data.py:  Support bytesPerInode on RAID
911         (Curtis Doty <Curtis at GreenKey.net> #175288).
912         * pykickstart/parser.py:  Likewise.
913         * pykickstart/writer.py:  Likewise.
915 2005-11-03  Chris Lumens  <clumens@redhat.com>
917         * pykickstart.spec:  Bump version.
919         * pykickstart/data.py:  Default to SELINUX_ENFORCING.
920         anaconda expects partition sizes to start at None as --size=0 --grow
921         is an acceptable combination (#172378).
923         * pykickstart/parser.py:  Don't call shlex.split on anything inside a
924         script (#172313).
926 2005-11-01  Chris Lumens  <clumens@redhat.com>
928         * pykickstart.spec:  Bump version.
930         * pykickstart/parser.py (KickstartHandlers.doVnc):  --connect is not
931         required as it may be provided to anaconda on the command line
932         (#172192).
933         (KickstartHandlers.doNetwork):  --onboot takes no options.
934         * pykickstart/writer.py (doFirewall):  Remove extra spaces.  Write out
935         --<service> options if ports are set.
937 2005-10-28  Chris Lumens  <clumens@redhat.com>
939         * pykickstart/writer.py (KickstartWriter.doClearPart):  Fix --all
940         parameter.
942 2005-10-28  Chris Lumens  <clumens@redhat.com>
944         * pykickstart.spec:  Bump version.
946         * docs/programmers-guide:  Add documentation for error reporting.
947         * pykickstart/parser.py:  Add --resolvedeps and --includedeps as
948         deprecated options to %packages.  Pass line number to handlePackageHdr
949         and handleScriptHdr.
951 2005-10-24  Chris Lumens  <clumens@redhat.com>
953         * pykickstart.spec:  Bump version.
955         * pykickstart/parser.py:  Report the line number on exceptions.
956         * validator/ksvalidator:  Added a stand-alone program to validate
957         kickstart files.
959 2005-10-19  Chris Lumens  <clumens@redhat.com>
961         * pykickstart.spec:  Bump version.
963 2005-10-18  Chris Lumens  <clumens@redhat.com>
965         * pykickstart/parser.py:  Correct deprecated attribute so warnings are
966         thrown when a deprecated option is seen, not when it's defined.
968 2005-10-17  Chris Lumens  <clumens@redhat.com>
970         * docs/programmers-guide:  Added documentation for extending and
971         programming with pykickstart.
973 2005-10-13  Chris Lumens  <clumens@redhat.com>
975         * pykickstart.spec:  Correct python lib directory on 64-bit archs
976         (#170621).  Bump build.
978 2005-10-07  Chris Lumens  <clumens@redhat.com>
980         * pykickstart/constants.py:  Add types for scripts.
981         * pykickstart/data.py:  Collapse scripts into a single list.
982         * pykickstart/parser.py:  Likewise.  Also, fix script printing.
983         * pykickstart/writer.py:  Likewise.  Also, rename class to
984         KickstartWriter.
986 2005-10-06  Chris Lumens  <clumens@redhat.com>
988         * pykickstart/parser.py (DeprecatedOption):  Add a "deprecated"
989         attribute so options can be marked as such.
990         (KickstartHandlers):  Change how deprecated commands are printed.  Add
991         --card back to the xconfig command as a deprecated option.
993 2005-10-05  Chris Lumens  <clumens@redhat.com>
995         * pykickstart/data.py:  Rename classes to be consistent with the rest
996         of the module.  Add default bytesPerInode to partition objects.
998 2005-10-05  Chris Lumens  <clumens@redhat.com>
1000         * Imported contents from anaconda.