This is pykickstart version 1.0.
[pykickstart.git] / ChangeLog
blob8f76308ef4ed3a99dc788f1933ddb2b965b4aef1
1 2007-04-13  Chris Lumens  <clumens@redhat.com>
3         * pykickstart.spec, setup.py:  This is pykickstart version 1.0.
5         * docs/programmers-guide:  Update documentation.
7 2007-04-12  Chris Lumens  <clumens@redhat.com>
9         * docs/programmers-guide:  Update documentation.
11         * pykickstart/base.py (DeprecatedCommand):  This should be an abstract
12         class.
14 2007-03-30  Chris Lumens  <clumens@redhat.com>
16         * pykickstart/parser.py (KickstartParser.readKickstart):  Use
17         urlgrabber so %include files can be URLs (#234351).
19 2007-03-19  Chris Lumens  <clumens@redhat.com>
21         * pykickstart.spec, setup.py:  New version.
23 2007-03-16  Chris Lumens  <clumens@redhat.com>
25         * pykickstart/commands/bootloader.py:  Increase writePriority number
26         so this comes after upgrade/install.
28 2007-03-12  Chris Lumens  <clumens@redhat.com>
30         * pykickstart/base.py (BaseHandler._setCommand):  Treat class names as
31         unicode strings so lower() works in all locales (#231053).
33 2007-03-07  Chris Lumens  <clumens@redhat.com>
35         * pykickstart.spec, setup.py:  New version.
37 2007-03-07  Chris Lumens  <clumens@redhat.com>
39         * pykickstart/commands/timezone.py:  The timezone command didn't
40         understand --isUtc before FC6 (#231189).
42         * pykickstart/parser.py (KickstartParser._stateMachine):  Recognize
43         %ksappend so ksvalidator works.
45         * po/:  Update translation files.
47 2007-03-01  Chris Lumens  <clumens@redhat.com>
49         * pykickstart/commands/bootloader.py, pykickstart/commands/clearpart.py,
50         pykickstart/commands/displaymode.py, pykickstart/commands/firewall.py,
51         pykickstart/commands/firstboot.py, pykickstart/commands/langsupport.py,
52         pykickstart/commands/logging.py, pykickstart/commands/reboot.py,
53         pykickstart/commands/selinux.py, pykickstart/commands/upgrade.py:
54         Don't set default values so a newly created kickstart handler object
55         will only have the values set by a caller.
57 2007-02-28  Chris Lumens  <clumens@redhat.com>
59         * pykickstart/commands/updates.py:  Added a new updates command for
60         grabbing updates.img files.
61         * pykickstart/commands/__init__.py:  Pull in new command object.
62         * pykickstart/handlers/control.py:  Add new command to F7 map.
64         * pykickstart/commands/raid.py (F7_Raid):  Add support for RAID10.
66 2007-02-26  Chris Lumens  <clumens@redhat.com>
68         * pykickstart.spec, setup.py:  New version.
70 2007-02-26  Chris Lumens  <clumens@redhat.com>
72         * pykickstart/commands/device.py (FC3_Device):  Fix device command
73         syntax to match anaconda's documentation.
75         * pykickstart/commands/method.py:  Add all the attributes that the
76         Method commands can set so __call__ works.
78 2007-02-21  Chris Lumens  <clumens@redhat.com>
80         * pykickstart.spec, setup.py:  New version.
82 2007-02-21  Chris Lumens  <clumens@redhat.com>
84         * pykickstart/base (BaseHandler._registerCommands):  Fix reference to
85         cMap and dMap in non-default case (#229505).
87 2007-02-20  Chris Lumens  <clumens@redhat.com>
89         * pykickstart.spec, setup.py:  New version.
91 2007-02-20  Chris Lumens  <clumens@redhat.com>
93         * pykickstart/parser.py (Group):  Added an object for dealing with
94         extended group syntax.
95         (Packages._processGroup):  Add a new function to handle the extended
96         group syntax.
98         * pykickstart/constants.py:  New group selection constants.
100         * pykickstart/handlers/control.py (dataMap):  Add a mapping for data
101         objects as well.
103         * pykickstart/base.py (BaseHandler._registerCommands):  Add attributes
104         on the handler for the data objects.
106 2007-02-19  Chris Lumens  <clumens@redhat.com>
108         * pykickstart/base.py (BaseHandler.maskAllExcept):  Renamed from
109         empty.
110         (BaseHandler.__init__):  Accept a mapping argument in the format of
111         what's in pykickstart.handlers.control, for when you're overriding all
112         the handlers with your own versions.
114         * pykickstart/commands/langsupport.py (FC3_LangSupport.__str__):  Add
115         a newline.
117         * pykickstart/commands/reboot.py:  Provide a default return value in
118         the __str__ methods to fix a traceback.
120 2007-02-19  Chris Lumens  <clumens@redhat.com>
122         * pykickstart/commands/*.py:  All command objects now have an
123         underscore between the version part and the name for ease of
124         processing.
125         * pykickstart/handlers/control.py (commandMap):  Likewise.
127         * pykickstart/base.py (BaseHandler._setCommand):  Strip version part
128         from name before creating the attribute.
130         * pykickstart/version.py (versionToString):  Added a method to convert
131         version numbers back into strings, which is needed for the above
132         change.
134 2007-02-19  Chris Lumens  <clumens@redhat.com>
136         * pykickstart/base.py:  Moved here from pykickstart/commands and adapt
137         to new layout.
139         * pykickstart/version.py:  Accept short forms of version strings again
140         and adapt to new layout.
142         * pykickstart/commands/*.py:  Broke each command out into its own file
143         and put all the versions of that command handler together.  Idea and
144         mock up from Peter Jones (<pjones AT redhat.com>).
146         * pykickstart/handlers/*.py:  Moved handlers into their own directory.
148         * pykickstart/handlers/control.py:  Add a file laying out which
149         commands are supported by each version and exactly where they can be
150         found.  This should help readability of the code quite a bit.
152 2007-02-14  Chris Lumens  <clumens@redhat.com>
154         * pykickstart.spec, setup.py:  New version.
156 2007-02-14  Chris Lumens  <clumens@redhat.com>
158         * pykickstart/parser.py (KickstartParser.__init__):  Don't need to
159         take a version argument since the Parser can get that from the
160         Handler.
162         * validator/ksvalidator:  KickstartParser no longer takes a version
163         argument.
165         * pykickstart/version.py (stringToVersion):  Be more lenient in what
166         strings we accept to take into account RHEL variants.
168 2007-02-08  Chris Lumens  <clumens@redhat.com>
170         * pykickstart/parser.py (KickstartParser._reset):  Add a method to
171         reset the state machine state and call it from __init__.  Also call it
172         from readKickstart and readKickstartFromString except in the special
173         case of included files.  This allows calling the parser multiple times
174         with the same data objects for file inheritance/overriding.
176 2007-02-07  Chris Lumens  <clumens@redhat.com>
178         * pykickstart.spec, setup.py:  New version.
180 2007-02-06  Chris Lumens  <clumens@redhat.com>
182         * pykickstart/commands/f7.py (F7Handler.Key.__str__):  Add a newline.
183         * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__):  Likewise.
185         * pykickstart/constants.py:  Add network bootproto constants (#197694).
186         * pykickstart/commands/fc3.py:  Use new network constants.
187         * pykickstart/commands/fc4.py:  Likewise.
188         * pykickstart/commands/fc6.py:  Likewise.
189         * pykickstart/commands/rhel4.py:  Likewise.
191 2007-02-01  Chris Lumens  <clumens@redhat.com>
193         * pykickstart/commands/fc4.py:  Fix tracebacks in subclass __str__
194         methods (#226734).
195         * pykickstart/commands/rhel4.py:  Likewise.
197 2007-01-31  Chris Lumens  <clumens@redhat.com>
199         * pykickstart.spec:  Modified to more closely match the extras
200         packaging guidelines.
202 2007-01-25  Chris Lumens  <clumens@redhat.com>
204         * pykickstart.spec, setup.py:  New version.
206 2007-01-24  Chris Lumens  <clumens@redhat.com>
208         * pykickstart/commands/fc3.py:  Added.
209         * pykickstart/commands/fc4.py:  Move basic commands and data back to
210         FC3.
212         * pykickstart/commands/rhel4.py:  Added.
214         * pykickstart/version.py:  Add support for FC3 and RHEL4.
216         * pykickstart/commands/fc4.py (FC4Handler.__init__):  Use
217         overrideCommand instead of registerCommand.
218         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
219         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
221 2007-01-24  Chris Lumens  <clumens@redhat.com>
223         * pykickstart/commands/fc6.py (FC6Handler.Key):  FC6 didn't support
224         the key command.
225         * pykickstart/commands/f7.py (F7Handler.Key):  The key command was
226         added just after FC6 came out.
228         * pykickstart/commands/rhel5.py:  Added.
230         * pykickstart/version.py:  Add support for RHEL5.  Be more permissive
231         in what sorts of strings we map to version numbers.  Fix pychecker
232         warnings.
234 2007-01-19  Chris Lumens  <clumens@redhat.com>
236         * pykickstart.spec, setup.py:  New version.
238 2007-01-19  Chris Lumens  <clumens@redhat.com>
240         * pykickstart/errors.py (KickstartVersionError):  This should just
241         take a message like all the other exception classes.
242         * pykickstart/version.py:  Pass a message to KickstartVersionError.
244         * pykickstart/commands/base.py (BaseHandler.__init__):  Add a version
245         attribute so we no longer have to compare class names.
246         * pykickstart/commands/f7.py (F7Handler.__init__):  Likewise.
247         * pykickstart/commands/fc4.py (FC4Handler.__init__):  Likewise.
248         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
249         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
251         * pykickstart/parser.py (KickstartParser.__init__):  Fix test for
252         matching version numbers now that handlers know what version they are.
254 2007-01-18  Chris Lumens  <clumens@redhat.com>
256         * pykickstart/commands/fc4.py:  KSOptionParser's lineno argument needs
257         a name.
258         * pykickstart/commands/fc5.py:  Likewise.
259         * pykickstart/commands/fc6.py:  Likewise.
261 2007-01-18  Chris Lumens  <clumens@redhat.com>
263         * pykickstart/commands/base.py (BaseHandler.unregisterCommand):  Add a
264         method to remove support for a command from a Handler instance.
266         * pykickstart/version.py:  Add support for the F7 version.
267         * pykickstart/commands/f7.py:  Add a devel version that removes the
268         deprecated langsupport and mouse commands.
270         * pykickstart/options.py (KSOptionParser.__init__):  Move call to
271         superclass __init__ to where it belongs.
272         (KSOptionParser.check_values):  Deprecated should be a flag, not a
273         version number.
275         * pykickstart/parser.py (Packages):  Accept a --default argument to
276         specify that the default package set should be installed (#221305).
277         (KickstartParser.handlePackageHdr):  Likewise.
278         (KickstartParser.__init__):  KickstartParser needs to accept a version
279         argument as well.
281         * validator/ksvalidator:  Pass the version to KickstartParser.
283 2007-01-17  Chris Lumens  <clumens@redhat.com>
285         * pykickstart.spec, setup.py:  New version.
287 2007-01-16  Chris Lumens  <clumens@redhat.com>
289         * pykickstart/parser.py (KickstartParser.readKickstartFromString):
290         Add a method to read a kickstart file from a string, in addition to
291         the one that's already there for reading from a file.
293 2007-01-16  Chris Lumens  <clumens@redhat.com>
295         * pykickstart.spec, setup.py:  New version, finally.
297 2007-01-16  Chris Lumens  <clumens@redhat.com>
299         * pykickstart/parser.py (Script.__str__):  Write out --interpreter
300         since that's what the parser expects (#222877).
302         * pykickstart/commands/fc4.py:  Fix exception error messages.
304 2007-01-15  Chris Lumens  <clumens@redhat.com>
306         * pykickstart/commands/base.py (BaseHandler.empty):  Add a method to
307         empty out the contents of the commands dict.
309         * pykickstart/commands/fc4.py (BaseHandler.Upgrade):  Only set upgrade
310         if that's what the current command is.
311         (BaseHandler.RootPw):  rootpw -> password
313 2007-01-15  Chris Lumens  <clumens@redhat.com>
315         * pykickstart/version.py (returnClassForVersion):  Take a default
316         version argument.
317         (returnClassForVersion):  Rename Version to Handler.
319         * pykickstart/parser.py:  Rename kshandlers to handler.
321         * pykickstart/commands/base.py:  Rename BaseVersion to BaseHandler,
322         registerHandler to registerCommand, and self.dispatcher to
323         self.handler.
324         * pykickstart/commands/fc4.py:  Likewise.
325         * pykickstart/commands/fc5.py:  Likewise.
326         * pykickstart/commands/fc6.py:  Likewise.
328 2007-01-12  Chris Lumens  <clumens@redhat.com>
330         * pykickstart/commands/base.py (BaseVersion.overrideHandler):  Provide
331         a way to create a new instance of the handler and have it used.  This
332         allows a shortcut for wiping out all the attributes on an instance.
333         (BaseVersion.__str__):  Newline after the platform is written.
335         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add the
336         dispatcher setting back in.
338 2007-01-12  Chris Lumens  <clumens@redhat.com>
340         * pykickstart/commands/base.py (BaseVersion._insertSorted):  When a
341         subclass of BaseVersion registers a handler that already exists from a
342         class higher up the chain, remove the existing handler in favor of the
343         new one.
345         * pykickstart/commands/fc4.py:  Put writePriority defaults in the
346         default arguments to command objects instead of in the calls to
347         creating them, as that didn't work for subclasses.  Also change how
348         we handle default arguments that are lists.
349         * pykickstart/commands/fc5.py:  Likewise.
350         * pykickstart/commands/fc6.py:  Likewise.
352 2007-01-11  Chris Lumens  <clumens@redhat.com>
354         * pykickstart/commands/fc5.py (RaidData, Raid):  Make these classes
355         subclass the ones in FC4Version, to the extent that can be done.
356         * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
357         Likewise.
359         * pykickstart/parser.py (Script.__str__):  Fix Script printing.
361         * pykickstart/commands/fc6.py (FC6Version.Method):  Fix test for opts
362         attribute.
364 2007-01-10  Chris Lumens  <clumens@redhat.com>
366         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add a
367         dispatcher setting so command classes can still access data classes.
368         (BaseVersion.registerHandler):  Don't overwrite command classes with
369         an instance in the version object.
371         * pykickstart/commands/fc4.py:  Data and command classes are now
372         nested inside the version class.
373         * pykickstart/commands/fc5.py:  Likewise.
374         * pykickstart/commands/fc6.py:  Likewise.
376 2007-01-10  Chris Lumens  <clumens@redhat.com>
378         * pykickstart/version.py (makeVersion):  Default to DEVEL.
380         * pykickstart/commands/fc4.py:  Command -> KS for brevity.
381         * pykickstart/commands/fc5.py:  Likewise.
382         * pykickstart/commands/fc6.py:  Likewise.
384 2007-01-09  Chris Lumens  <clumens@redhat.com>
386         * pykickstart/po/*:  Updated translations.
388         * pykickstart/commands/*.py:  Rename everything from Handler to
389         Version, as that seems to make more sense.
390         * pykickstart/options.py:  Likewise.
391         * pykickstart/parser.py:  Likewise.
392         * pykickstart/version.py:  Likewise.
393         * ksvalidator/validator:  Likewise.
395 2007-01-09  Chris Lumens  <clumens@redhat.com>
397         * Merge in multiversion-branch (#189348).
399 2007-01-08  Chris Lumens  <clumens@redhat.com>
401         multiversion-branch:
403         * Merge from HEAD:  Updated translations.
405 2007-01-03  Chris Lumens  <clumens@redhat.com>
407         multiversion-branch:
409         * pykickstart/commands/base.py (BaseHandler.hasHandler):  Add a
410         convenience method to see if there's a handler for a given command.
412 2006-12-22  Chris Lumens  <clumens@redhat.com>
414         multiversion-branch:
416         * pykickstart/commands/base.py (KickstartCommand.__init__):  Add a
417         writePriority parameter to control the order commands get written out
418         when __str__ methods are called.
419         (BaseHandler.__str__):  Take writePriorities into account.
420         (BaseHandler.registerHandler):  Insert command handlers into the
421         _writePriority dict in the correct order - first by priority, then
422         alphabetically within that priority.
424         * pykickstart/commands/fc4.py:  Add new writePriority parameter.
425         * pykickstart/commands/fc6.py:  Likewise.
427 2006-12-22  Chris Lumens  <clumens@redhat.com>
429         multiversion-branch:
431         * pykickstart/commands/fc6.py:  Added multipath support back in.
433         * pykickstart/commands/base.py (BaseData):  Added a superclass for all
434         those Kickstart*Data objects.
435         * pykickstart/commands/fc4.py:  Use BaseData.
436         * pykickstart/commands/fc6.py:  Likewise.
438         * pykickstart/commands/base.py:  Clarify API for subclasses a little
439         bit.  Make KickstartCommand.__str__ an abstract method.  Add
440         DeprecatedCommand.__str__.
442 2006-12-20  Chris Lumens  <clumens@redhat.com>
444         multiversion-branch:
446         * pykickstart/commands/fc4.py (CommandReboot.__str__):  Fix output
447         formatting.
449         * Merge from HEAD:  Updated translations.
451 2006-12-20  Chris Lumens  <clumens@redhat.com>
453         multiversion-branch:
455         * pykickstart/__init__.py:  Clear this out.
457         * pykickstart/errors.py:  Add __doc__ strings to all classes and
458         public methods.
459         * pykickstart/options.py:  Likewise.
460         * pykickstart/version.py:  Likewise.
461         * pykickstart/commands/base.py:  Likewise.
463         * pykickstart/parser.py:  Add __doc__ strings to all classes and
464         public methods.  Privatize attributes in KickstartParser that don't
465         need to be public.
467         * pykickstart/commands/fc4.py (FC4Handler.__init__):  _registerHandler
468         is no longer private.
469         * pykickstart/commands/fc5.py (FC5Handler.__init__):  Likewise.
470         * pykickstart/commands/fc6.py (FC6Handler.__init__):  Likewise.
472         * docs/programmers-guide:  Remove stuff that's now duplicated by
473         __doc__ strings.
475 2006-12-20  Chris Lumens  <clumens@redhat.com>
477         * po/nb.po:  Update from rhel5-branch.
479 2006-12-19  Chris Lumens  <clumens@redhat.com>
481         multiversion-branch:
483         * pykickstart/commands/base.py (KickstartCommand.__call__):  Add a
484         function to set all the attributes of a command object at once.
485         (BaseHandler._registerHandler):  Don't need to do so much goofy stuff
486         to register a command handler anymore.
488         * pykickstart/version.py (returnClassForVersion):  Add a function to
489         return the class matching a given kickstart syntax version.  This does
490         not return an instance of that class.
492         * Makefile:  Add pykickstart/commands/*.pyc to what gets cleaned.
494         * setup.py:  Package up commands as well.
496         * test.py:  This isn't needed anymore.
498 2006-12-19  Chris Lumens  <clumens@redhat.com>
500         multiversion-branch:
502         * pykickstart/commands/fc4.py:  Add named arguments to __init__
503         functions for all command handlers.
504         * pykickstart/commands/fc6.py:  Likewise.
506         * pykickstart/commands/fc4.py:  Various minor fixes to default
507         arguments and __str__ methods throughout.
509 2006-12-15  Chris Lumens  <clumens@redhat.com>
511         * pykickstart.spec, setup.py:  Bump version (only translations have
512         changed since the last rebuild - #216620).
514 2006-12-12  Chris Lumens  <clumens@redhat.com>
516         multiversion-branch:
518         * pykickstart/commands/fc4.py (CommandLang):  Add lang attribute.
520         * pykickstart/commands/fc5.py (FC5Handler):  Import from the
521         FC4Handler.
523 2006-12-11  Chris Lumens  <clumens@redhat.com>
525         multiversion-branch:
527         * pykickstart/commands/fc4.py:  Added first run at data and command
528         handling support for Fedora Core 4.
530         * pykickstart/commands/fc4.py (KickstartLogVolData,
531         KickstartNetworkData, KickstartPartData, KickstartRaidData,
532         KickstartVolGroupData, KickstartZFCPData):  Add named arguments to
533         __init__ functions to make creating objects programatically easier.
534         * pykickstart/commands/fc6.py (KickstartDmRaidData,
535         KickstartIscsiData, KickstartRepoData, KickstartUserData):  Likewise.
537 2006-12-11  Chris Lumens  <clumens@redhat.com>
539         multiversion-branch:
541         * validator/ksvalidator:  Update to handle multiple versions.
543         * pykickstart/parser.py (Packages.add):  Move Parser.addPackages here
544         since this seems like a sensible method for the Packages object to
545         have.
547         * pykickstart/version.py (makeHandler):  Add a function to create the
548         right handler for a given syntax version.
549         (stringToVersion):  Add a function to convert string versions into
550         integer versions.
552         * pykickstart/commands/base.py:  Need to import errors here.
554 2006-12-11  Chris Lumens  <clumens@redhat.com>
556         multiversion-branch:
558         * pykickstart/options.py (KSOptionParser.check_values):  Use
559         self.lineno instead of lineno.
561         * pykickstart/parser.py:  Set packages, scripts, and platform on the
562         handler.
564         * pykickstart/commands/base.py (BaseHandler.__init__):  This looks
565         like the best place to add packages, scripts, and platform.
566         (BaseHandler.__str__):  Write out the whole ks file, though we still
567         need to get commands in the right order.
569         * Merge from HEAD:  Updated translations.
571 2006-12-08  Chris Lumens  <clumens@redhat.com>
573         multiversion-branch:
575         * pykickstart/data.py:  Removed.
576         * pykickstart/handlers.py:  Removed.
577         * pykickstart/writer.py:  Removed.
579         * pykickstart/__init__.py:  Updated.
580         * pykickstart/errors.py (KickstartVersionError):  Add a new exception
581         that will be useful in the future.
582         * pykickstart/options.py:  Don't need this import anymore.
583         * pykickstart/parser.py:  Rework string representation in String.
584         Create a new Packages class, even though it's not in use yet.  Hack in
585         changes to the parser to make it basically work for now.
586         * pykickstart/version.py:  Added initial symbolic version numbers.
588         * pykickstart/commands/__init__.py:  Added.
589         * pykickstart/commands/base.py:  Added base classes useful for all
590         syntax versions.
591         * pykickstart/commands/fc5.py:  Added first run at data and command
592         handling support for Fedora Core 5 syntax.  Most of this used to be
593         in data.py, handlers.py, and writer.py
594         * pykickstart/commands/fc6.py:  Added first run at data and command
595         handling support for Fedora Core 6 syntax.  Most of this used to be in
596         data.py, handlers.py, and writer.py
598         * TODO:  Added.
599         * test.py:  Added quick test harness.
601 2006-12-05  Chris Lumens  <clumens@redhat.com>
603         multiversion-branch:
605         * pykickstart/options.py (KSOptionParser.check_values):  Check
606         introduced and removed attributes.
607         (KSOption):  Add introduced and removed attributes.
609         * validator/ksvalidator:  Update to work with new file structure.
611         * Merge from HEAD:
612           - po/pykickstart.pot:  Updated (#216620).
613           - pykickstart/errors.py:  Update string formats to make translation
614             easier.
615           - pykickstart/handlers.py:  Likewise.
616           - pykickstart/options.py:  Likewise.
617           - pykickstart/handlers.py (KickstartHandlers.doIscsi):  Use required
618             attribute.
619           - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
620             Fix traceback (#218047, #218059).
621           - pykickstart/writer.py (KickstartWriter.doLogging):  Add --level.
622           - pykickstart/writer.py (KickstartWriter.doRepo):  Fix traceback
623             (#218274).
625 2006-12-05  Chris Lumens  <clumens@redhat.com>
627         * pykickstart.spec, setup.py:  Bump version.
629 2006-12-04  Chris Lumens  <clumens@redhat.com>
631         * pykickstart/writer.py (KickstartWriter.doRepo):  Fix traceback
632         (#218274).
634 2006-12-01  Chris Lumens  <clumens@redhat.com>
636         * pykickstart.spec, setup.py:  Bump version.
638         * pykickstart/parser.py (KickstartHandlers.deprecatedCommands):  Fix
639         traceback (#218047, #218059).
641 2006-11-30  Chris Lumens  <clumens@redhat.com>
643         * pykickstart.spec, setup.py:  Bump version.
645 2006-11-21  Chris Lumens  <clumens@redhat.com>
647         * po/pykickstart.pot:  Updated (#216620).
649         * pykickstart/parser.py:  Update string formats to make translation
650         easier.
652 2006-11-14  Chris Lumens  <clumens@redhat.com>
654         * pykickstart/parser.py (KickstartHandlers.doIscsi):  Use required
655         attribute.
657 2006-11-09  Chris Lumens  <clumens@redhat.com>
659         * pykickstart/writer.py (KickstartWriter.doLogging):  Add --level.
661 2006-10-24  Chris Lumens  <clumens@redhat.com>
663         multiversion-branch:
665         * Merge from HEAD:
666           - Makefile:  Update to handle new release format.
667           - setup.py:  New version.
668           - pykickstart.spec: Fix spec file to use %{?dist} in release.
669           - pykickstart/writer.py (KickstartWriter.doKey):  Better way to
670             write key.
672 2006-10-24  Chris Lumens  <clumens@redhat.com>
674         multiversion-branch:
676         * pykickstart/__init__.py:  Import new files by default.
677         * pykickstart/errors.py:  Split out from parser.py.
678         * pykickstart/handlers.py:  Split out from parser.py
679         * pykickstart/options.py:  Split out from parser.py.
680         * pykickstart/parser.py:  Updated for new files.
682         * validator/ksvalidator:  Updated for new files.
684 2006-10-24  Chris Lumens  <clumens@redhat.com>
686         * pykickstart.spec, setup.py:  Bump version.
688         * Makefile:  Fix for new Release format.
690 2006-10-17  Chris Lumens  <clumens@redhat.com>
692         * pykickstart/writer.py:  Add writer for key command.
694 2006-10-17  Jeremy Katz  <katzj@redhat.com>
696         * pykickstart.spec, setup.py: Bump version.
697         
698         * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
700 2006-10-16  Jeremy Katz  <katzj@redhat.com>
702         * pykickstart.spec, setup.py: Bump version.
704         * pykickstart/parser.py (KickstartHandlers.doKey): Support for
705         installation key
706         * pykickstart/data.py (KickstartData.__init__): Likewise.
708 2006-10-13  Bill Nottingham  <notting@redhat.com>
710         * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
711           eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
712           lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
713           ur.po, vi.po, zu.po: Use a valid charset (#210720)
714         
715         * pykickstart.spec, setup.py: Bump version
718 2006-09-29  Chris Lumens  <clumens@redhat.com>
720         * pykickstart.spec, setup.py: Bump version
722         * pykickstart/parser.py (KickstartHandlers.doMethod):  Fix traceback
723         and test (#208557).
725 2006-09-25  Chris Lumens  <clumens@redhat.com>
727         * pykickstart.spec, setup.py: Bump version
729         * pykickstart/parser.py (KickstartHandlers.doMethod):  Add support for
730         --biospart option (#207585).
731         * pykickstart/writer.py (KickstartWriter.doMethod):  Likewise.
733         * pykickstart/writer.py (KickstartWriter.doIscsi):  Output new syntax.
734         (KickstartWriter.doZFCP):  Likewise.
735         (KickstartWriter.doIscsiName):  Added.
737 2006-09-20  Jeremy Katz  <katzj@redhat.com>
739         * pykickstart.spec, setup.py: Bump version
741         * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
742         improved iscsi syntax.  Also, allow multiple zfcp devs
743         * pykickstart/data.py: Likewise.
745 2006-07-13  Chris Lumens  <clumens@redhat.com>
747         * pykickstart/data.py:  Add noipv4 and noipv6 to KickstartNetworkData.
748         * pykickstart/parser.py (KickstartHandlers.doNetwork):  Limit
749         bootproto choices to what anaconda can handle.  Add support for
750         --noipv4 and --noipv6 options.
751         * pykickstart/writer.py (KickstartWriter.doNetwork):  Write out new
752         networking options.
754 2006-06-20  Chris Lumens  <clumens@redhat.com>
756         * pykickstart.spec, setup.py:  Bump version.
758         * pykickstart/writer.py (KickstartWriter.doIscsi):  Add iscsi writer.
760 2006-06-20  Jeremy Katz  <katzj@redhat.com>
762         * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
763         support.  This syntax is likely to change but this makes testing
764         so much easier.
765         * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
767 2006-06-20  Chris Lumens  <clumens@redhat.com>
769         * pykickstart/parser (KickstartHandlers.doRaid):  Handle a RAID device
770         as an integer instead of a string (#176537).
772 2006-06-16  Jeremy Katz  <katzj@redhat.com>
774         * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
776 2006-06-06  Chris Lumens  <clumens@redhat.com>
778         * pykickstart.spec:  Fix BuildRequires (#194156).
780 2006-05-25  Chris Lumens  <clumens@redhat.com>
782         * pykickstart.spec, setup.py:  Bump version.
784 2006-05-24  Chris Lumens  <clumens@redhat.com>
786         * pykickstart/writer.py (KickstartWriter):  Change order of LVM-related
787         functions (#193073).
789 2006-05-23  Chris Lumens  <clumens@redhat.com>
791         * pykickstart.spec:  Require urlgrabber now.
793         * po/*:  Update translation files.
795         * pykickstart/parser.py (KickstartParser.handleCommand):  Return a
796         more useful error message on unknown command.
798         * pykickstart/writer.py (KickstartWriter.doLogicalVolume):  Fix typo.
800         * validator/ksvalidator:  Accept a URL in addition to a file name.
802 2006-05-23  Chris Lumens  <clumens@redhat.com>
804         * pykickstart/writer.py (KickstartWriter.doPackages):  Don't write out
805         an empty packages section, since we may want this step to be
806         interactive (#192851).
808 2006-05-23  Chris Lumens  <clumens@redhat.com>
810         * pykickstart.spec, setup.py:  Bump version.
812         * pykickstart/writer.py (KickstartWriter.doFirewall):  Rename --ports
813         to match the parser.
815 2006-05-17  Peter Jones  <pjones@redhat.com>
817         * pykickstart/parser.py: Add "multipath" command and doMultiPath
818         handler.
819         * pykickstart/data.py: Add kickstartMpPathData and
820         KickstartMultiPathData objects to handle multipath info, as well as
821         KickstartData.mpaths .
822         * pykickstart/writer.py: add doMultiPath
823         * docs/programmers-guide: add completely useless documentation for
824         multipath kickstart objects.
826 2006-05-15  Chris Lumens  <clumens@redhat.com>
828         * pykickstart.spec, setup.py:  Bump version.
830         * pykickstart/data.py (KickstartNetworkData):  Add MTU (#191328).
831         * pykickstart/parser.py (KickstartHandlers.doNetwork):  Likewise.
832         * pykickstart/writer.py (KickstartWriter.doNetwork):  Likweise.
834 2006-05-10  Chris Lumens  <clumens@redhat.com>
836         * pykickstart/parser.py (KickstartHandlers.doTimezone):  Accept
837         --isUtc for backwards compatibility.
839 2006-05-04  Chris Lumens  <clumens@redhat.com>
841         * pykickstart.spec, setup.py:  Bump version.
843 2006-04-25  Chris Lumens  <clumens@redhat.com>
845         * pykickstart/data.py (KickstartUserData):  Added.
846         (KickstartData):  Added lists for services and users.
847         * pykickstart/parser.py (KickstartParser.doServices,
848         KickstartParser.doUser):  Add new command handlers.
849         Consolidate code to copy from option parsers to ksdata.
850         * pykickstart/writer.py (KickstartWriter.doServices,
851         KickstartParser.doUser):  Add new command handlers.
853 2006-04-24  Chris Lumens  <clumens@redhat.com>
855         * pykickstart/writer.py:  More output formatting fixes.
857 2006-04-19  Chris Lumens  <clumens@redhat.com>
859         * pykickstart/constants.py:  Start CLEARPART_ constants at 0.
861 2006-04-17  Chris Lumens  <clumens@redhat.com>
863         * pykickstart.spec, setup.py:  Bump version.
865 2006-04-13  Chris Lumens  <clumens@redhat.com>
867         * pykickstart/data.py (KickstartRepoData):  Added.
868         (KickstartRaidData):  Initialize members to a list instead of string.
869         (KickstartVolGroupData):  Likewise.
870         * pykickstart/parser.py (KickstartHandlers.doRepo):  Add options.
871         * pykickstart/writer.py (KickstartWriter.doRepo):  Likewise.
872         (KickstartWriter.doPackages):  Reorder package output.  Output header
873         options.
875 2006-04-11  Chris Lumens  <clumens@redhat.com>
877         * pykickstart/parser.py (KickstartParser.addPackages):  Ignore
878         whitespace before group names (#188095).
880 2006-03-27  Chris Lumens  <clumens@redhat.com>
882         * pykickstart.spec, setup.py:  Bump version.
884         * pykickstart/data.py (KickstartData.__init__):  Add support for the
885         logging command.
886         * pykickstart/writer.py (KickstartWriter.doLogging):  Likewise.
887         (KickstartWriter.doRepo):  Stub out funtion for the future.
888         * pykickstart/parser.py (KickstartHandlers.doLogging):  Likewise.
889         (KickstartHandlers.doRepo):  Stub out function for the future.
891 2006-03-27  Chris Lumens  <clumens@redhat.com>
893         * pykickstart.spec, setup.py:  Bump version.
895         * pykickstart/writer.py (KickstartWriter.doXConfig):  Don't write out
896         a blank xconfig line.
898 2006-03-13  Chris Lumens  <clumens@redhat.com>
900         * pykickstart/writer.py (KickstartWriter.__init__):  Reorder output
901         handlers.
903 2006-03-07  Chris Lumens  <clumens@redhat.com>
905         * pykickstart.spec, setup.py:  Bump version.
907         * pykickstart/parser.py (KickstartHandlers.doZeroMbr):  Backwards
908         compatibility support for options to zerombr.
910 2006-02-24  Chris Lumens  <clumens@redhat.com>
912         * pykickstart.spec, setup.py:  Bump version.
914         * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk):  Get ksdata
915         from the correct option parser variable (#182934).
917 2006-02-17  Chris Lumens  <clumens@redhat.com>
919         * pykickstart.spec, setup.py:  Bump version.
921 2006-02-16  Chris Lumens  <clumens@redhat.com>
923         * docs/programmers-guide:  Update documentation.
925         * pykickstart/parser.py:  Provide an option to not traceback if an
926         included file is not present.  This should have very limited
927         usefulness.  (#181760).
928         * pykickstart/parser.py (KSOptionParser.check_values):  Typos.
930 2006-02-13  Chris Lumens  <clumens@redhat.com>
932         * pykickstart.spec, setup.py:  Bump version.
934         * pykickstart/parser.py:  Don't trust ensure_value in complicated
935         cases in callbacks, as it wasn't setting values.
937 2006-02-13  Chris Lumens  <clumens@redhat.com>
939         * pykickstart.spec, setup.py:  Bump version.
941         * pykickstart/writer.py (KickstartWriter.doNetwork):  --onboot
942         requires a value (#180987).
944 2006-02-10  Chris Lumens  <clumens@redhat.com>
946         * pykickstart/parser.py:  Be more strict about commands that don't
947         take any arguments.
949 2006-02-09  Chris Lumens  <clumens@redhat.com>
951         * pykickstart.spec, setup.py:  Bump version.
953         * pykickstart/parser.py, pykickstart/writer.py:  Fix pychecker
954         warnings.
956         * pykickstart/parser.py (KSOption):  Condense all those option classes
957         into a single one.
959          * pykickstart/parser.py (KickstartParser.readKickstart):  Allow
960          exceptions to not be fatal so ksvalidator can report multiple
961          problems in one pass.
962          (KickstartHandlers.deprecatedCommand):  Add line number to message.
963          (KSOptionParser.check_values):  Make deprecated option message more
964          helpful.
966         * validator/ksvalidator:  Default to not following include files and
967         to not halting on the first error.  Add options to change this
968         behavior (#179894).
970 2006-02-08  Chris Lumens  <clumens@redhat.com>
972         * pykickstart/parser.py (KickstartHandlers.doRaid):  --level is not
973         strictly required since we should be able to infer it from
974         --preexisting.
976 2006-02-01  Chris Lumens  <clumens@redhat.com>
978         * pykickstart.spec, setup.py:  Bump version.
980         * pykickstart/parser.py (KickstartHandlers.doVnc):  No default port.
982 2006-01-31  Chris Lumens  <clumens@redhat.com>
984         * pykickstart.spec, setup.py:  Bump version.
986         * pykickstart.py/writer.py (KickstartWriter.doDmRaid):  Add an initial
987         value.
988         (KickstartWriter.doPartition):  Handle None on partition size.
989         
990 2006-01-30  Chris Lumens  <clumens@redhat.com>
992         * pykickstart.spec, setup.py:  Bump version.
994         * pykickstart/parser.py (KickstartHandlers.doVnc):  Fix connecting to
995         a remote viewer.  Deprecate --connect, and add --host and --port as
996         the new preferred way (#179209).
998 2006-01-19  Chris Lumens  <clumens@redhat.com>
1000         * pykickstart.spec, setup.py:  Bump version.
1002 2006-01-13  Chris Lumens  <clumens@redhat.com>
1004         * pykickstart/constants.py:  Add constants for the various
1005         reboot/shutdown actions.
1006         * pykickstart/data.py:  Add support for --eject on reboot.
1007         * pykickstart/parser.py:  Likewise.
1008         * pykickstart/writer.py:  Likewise.
1010 2006-01-04  Chris Lumens  <clumens@redhat.com>
1012         * pykickstart/data.py:  Finish removing monitor information.
1013         * pykickstart/writer.py:  Clean up output quoting a bit.
1015 2005-12-12  Chris Lumens  <clumens@redhat.com>
1017         * pykickstart/data.py:  Remove monitor information from xconfig.
1018         * pykickstart/parser.py:  Remove monitor configuration from xconfig,
1019         move --noprobe option to monitor keyword.
1020         * pykickstart/writer.py:  Likewise.
1022 2005-12-08  Chris Lumens  <clumens@redhat.com>
1024         * pykickstart/data.py:  Support bytesPerInode on RAID
1025         (Curtis Doty <Curtis at GreenKey.net> #175288).
1026         * pykickstart/parser.py:  Likewise.
1027         * pykickstart/writer.py:  Likewise.
1029 2005-11-03  Chris Lumens  <clumens@redhat.com>
1031         * pykickstart.spec:  Bump version.
1033         * pykickstart/data.py:  Default to SELINUX_ENFORCING.
1034         anaconda expects partition sizes to start at None as --size=0 --grow
1035         is an acceptable combination (#172378).
1037         * pykickstart/parser.py:  Don't call shlex.split on anything inside a
1038         script (#172313).
1040 2005-11-01  Chris Lumens  <clumens@redhat.com>
1042         * pykickstart.spec:  Bump version.
1044         * pykickstart/parser.py (KickstartHandlers.doVnc):  --connect is not
1045         required as it may be provided to anaconda on the command line
1046         (#172192).
1047         (KickstartHandlers.doNetwork):  --onboot takes no options.
1048         * pykickstart/writer.py (doFirewall):  Remove extra spaces.  Write out
1049         --<service> options if ports are set.
1051 2005-10-28  Chris Lumens  <clumens@redhat.com>
1053         * pykickstart/writer.py (KickstartWriter.doClearPart):  Fix --all
1054         parameter.
1056 2005-10-28  Chris Lumens  <clumens@redhat.com>
1058         * pykickstart.spec:  Bump version.
1060         * docs/programmers-guide:  Add documentation for error reporting.
1061         * pykickstart/parser.py:  Add --resolvedeps and --includedeps as
1062         deprecated options to %packages.  Pass line number to handlePackageHdr
1063         and handleScriptHdr.
1065 2005-10-24  Chris Lumens  <clumens@redhat.com>
1067         * pykickstart.spec:  Bump version.
1069         * pykickstart/parser.py:  Report the line number on exceptions.
1070         * validator/ksvalidator:  Added a stand-alone program to validate
1071         kickstart files.
1073 2005-10-19  Chris Lumens  <clumens@redhat.com>
1075         * pykickstart.spec:  Bump version.
1077 2005-10-18  Chris Lumens  <clumens@redhat.com>
1079         * pykickstart/parser.py:  Correct deprecated attribute so warnings are
1080         thrown when a deprecated option is seen, not when it's defined.
1082 2005-10-17  Chris Lumens  <clumens@redhat.com>
1084         * docs/programmers-guide:  Added documentation for extending and
1085         programming with pykickstart.
1087 2005-10-13  Chris Lumens  <clumens@redhat.com>
1089         * pykickstart.spec:  Correct python lib directory on 64-bit archs
1090         (#170621).  Bump build.
1092 2005-10-07  Chris Lumens  <clumens@redhat.com>
1094         * pykickstart/constants.py:  Add types for scripts.
1095         * pykickstart/data.py:  Collapse scripts into a single list.
1096         * pykickstart/parser.py:  Likewise.  Also, fix script printing.
1097         * pykickstart/writer.py:  Likewise.  Also, rename class to
1098         KickstartWriter.
1100 2005-10-06  Chris Lumens  <clumens@redhat.com>
1102         * pykickstart/parser.py (DeprecatedOption):  Add a "deprecated"
1103         attribute so options can be marked as such.
1104         (KickstartHandlers):  Change how deprecated commands are printed.  Add
1105         --card back to the xconfig command as a deprecated option.
1107 2005-10-05  Chris Lumens  <clumens@redhat.com>
1109         * pykickstart/data.py:  Rename classes to be consistent with the rest
1110         of the module.  Add default bytesPerInode to partition objects.
1112 2005-10-05  Chris Lumens  <clumens@redhat.com>
1114         * Imported contents from anaconda.