1 2007-06-04 Chris Lumens <clumens@redhat.com>
3 * pykickstart.spec, setup.py: New version.
5 2007-06-04 Chris Lumens <clumens@redhat.com>
7 * pykickstart/commands/method.py: Fix harddrive install method error
8 checking (#242492, patch from Andrew Edmunds
9 <andrew DOT edmunds AT yahoo.com.au>).
11 * pykickstart/base.py (KickstartCommand.__init__): Add currentLine
13 (BaseHandler.dispatcher): Set currentLine attribute on the command
15 * pykickstart/parser.py (KickstartParser.handleCommand): Set
16 currentLine attribute on the handler.
17 * pykickstart/commands/auth.py (FC3_Authconfig.parse): Use
18 currentLine instead of reassembling the list of arguments, since
19 otherwise we might miss quoting (#241657).
21 * pykickstart/parser.py (KickstartParser.readKickstart): Use urlopen
22 to open a kickstart file so includes can be given by a URL in addition
25 2007-05-18 Chris Lumens <clumens@redhat.com>
27 * pykickstart/commands/user.py (FC6_UserData.__str__): Fix typo in
28 outputting --iscrypted option.
30 2007-05-14 Chris Lumens <clumens@redhat.com>
32 * pykickstart.spec, setup.py: New version.
34 2007-04-24 Chris Lumens <clumens@redhat.com>
36 * pykickstart/version.py (stringToVersion): Better regexes for
37 splitting strings into family and version.
39 * pykickstart/version.py: Add support for RHEL3 (jlaska AT
41 * pykickstart/handlers/control.py: Likewise.
42 * pykickstart/handlers/rhel3.py: Likewise.
44 * pykickstart/commands/mouse.py: Initial support for RHEL3 commands
45 (jlaska AT redhat.com).
47 2007-04-13 Chris Lumens <clumens@redhat.com>
49 * pykickstart.spec, setup.py: This is pykickstart version 1.0.
51 * docs/programmers-guide: Update documentation.
53 2007-04-12 Chris Lumens <clumens@redhat.com>
55 * docs/programmers-guide: Update documentation.
57 * pykickstart/base.py (DeprecatedCommand): This should be an abstract
60 2007-03-30 Chris Lumens <clumens@redhat.com>
62 * pykickstart/parser.py (KickstartParser.readKickstart): Use
63 urlgrabber so %include files can be URLs (#234351).
65 2007-03-19 Chris Lumens <clumens@redhat.com>
67 * pykickstart.spec, setup.py: New version.
69 2007-03-16 Chris Lumens <clumens@redhat.com>
71 * pykickstart/commands/bootloader.py: Increase writePriority number
72 so this comes after upgrade/install.
74 2007-03-12 Chris Lumens <clumens@redhat.com>
76 * pykickstart/base.py (BaseHandler._setCommand): Treat class names as
77 unicode strings so lower() works in all locales (#231053).
79 2007-03-07 Chris Lumens <clumens@redhat.com>
81 * pykickstart.spec, setup.py: New version.
83 2007-03-07 Chris Lumens <clumens@redhat.com>
85 * pykickstart/commands/timezone.py: The timezone command didn't
86 understand --isUtc before FC6 (#231189).
88 * pykickstart/parser.py (KickstartParser._stateMachine): Recognize
89 %ksappend so ksvalidator works.
91 * po/: Update translation files.
93 2007-03-01 Chris Lumens <clumens@redhat.com>
95 * pykickstart/commands/bootloader.py, pykickstart/commands/clearpart.py,
96 pykickstart/commands/displaymode.py, pykickstart/commands/firewall.py,
97 pykickstart/commands/firstboot.py, pykickstart/commands/langsupport.py,
98 pykickstart/commands/logging.py, pykickstart/commands/reboot.py,
99 pykickstart/commands/selinux.py, pykickstart/commands/upgrade.py:
100 Don't set default values so a newly created kickstart handler object
101 will only have the values set by a caller.
103 2007-02-28 Chris Lumens <clumens@redhat.com>
105 * pykickstart/commands/updates.py: Added a new updates command for
106 grabbing updates.img files.
107 * pykickstart/commands/__init__.py: Pull in new command object.
108 * pykickstart/handlers/control.py: Add new command to F7 map.
110 * pykickstart/commands/raid.py (F7_Raid): Add support for RAID10.
112 2007-02-26 Chris Lumens <clumens@redhat.com>
114 * pykickstart.spec, setup.py: New version.
116 2007-02-26 Chris Lumens <clumens@redhat.com>
118 * pykickstart/commands/device.py (FC3_Device): Fix device command
119 syntax to match anaconda's documentation.
121 * pykickstart/commands/method.py: Add all the attributes that the
122 Method commands can set so __call__ works.
124 2007-02-21 Chris Lumens <clumens@redhat.com>
126 * pykickstart.spec, setup.py: New version.
128 2007-02-21 Chris Lumens <clumens@redhat.com>
130 * pykickstart/base (BaseHandler._registerCommands): Fix reference to
131 cMap and dMap in non-default case (#229505).
133 2007-02-20 Chris Lumens <clumens@redhat.com>
135 * pykickstart.spec, setup.py: New version.
137 2007-02-20 Chris Lumens <clumens@redhat.com>
139 * pykickstart/parser.py (Group): Added an object for dealing with
140 extended group syntax.
141 (Packages._processGroup): Add a new function to handle the extended
144 * pykickstart/constants.py: New group selection constants.
146 * pykickstart/handlers/control.py (dataMap): Add a mapping for data
149 * pykickstart/base.py (BaseHandler._registerCommands): Add attributes
150 on the handler for the data objects.
152 2007-02-19 Chris Lumens <clumens@redhat.com>
154 * pykickstart/base.py (BaseHandler.maskAllExcept): Renamed from
156 (BaseHandler.__init__): Accept a mapping argument in the format of
157 what's in pykickstart.handlers.control, for when you're overriding all
158 the handlers with your own versions.
160 * pykickstart/commands/langsupport.py (FC3_LangSupport.__str__): Add
163 * pykickstart/commands/reboot.py: Provide a default return value in
164 the __str__ methods to fix a traceback.
166 2007-02-19 Chris Lumens <clumens@redhat.com>
168 * pykickstart/commands/*.py: All command objects now have an
169 underscore between the version part and the name for ease of
171 * pykickstart/handlers/control.py (commandMap): Likewise.
173 * pykickstart/base.py (BaseHandler._setCommand): Strip version part
174 from name before creating the attribute.
176 * pykickstart/version.py (versionToString): Added a method to convert
177 version numbers back into strings, which is needed for the above
180 2007-02-19 Chris Lumens <clumens@redhat.com>
182 * pykickstart/base.py: Moved here from pykickstart/commands and adapt
185 * pykickstart/version.py: Accept short forms of version strings again
186 and adapt to new layout.
188 * pykickstart/commands/*.py: Broke each command out into its own file
189 and put all the versions of that command handler together. Idea and
190 mock up from Peter Jones (<pjones AT redhat.com>).
192 * pykickstart/handlers/*.py: Moved handlers into their own directory.
194 * pykickstart/handlers/control.py: Add a file laying out which
195 commands are supported by each version and exactly where they can be
196 found. This should help readability of the code quite a bit.
198 2007-02-14 Chris Lumens <clumens@redhat.com>
200 * pykickstart.spec, setup.py: New version.
202 2007-02-14 Chris Lumens <clumens@redhat.com>
204 * pykickstart/parser.py (KickstartParser.__init__): Don't need to
205 take a version argument since the Parser can get that from the
208 * validator/ksvalidator: KickstartParser no longer takes a version
211 * pykickstart/version.py (stringToVersion): Be more lenient in what
212 strings we accept to take into account RHEL variants.
214 2007-02-08 Chris Lumens <clumens@redhat.com>
216 * pykickstart/parser.py (KickstartParser._reset): Add a method to
217 reset the state machine state and call it from __init__. Also call it
218 from readKickstart and readKickstartFromString except in the special
219 case of included files. This allows calling the parser multiple times
220 with the same data objects for file inheritance/overriding.
222 2007-02-07 Chris Lumens <clumens@redhat.com>
224 * pykickstart.spec, setup.py: New version.
226 2007-02-06 Chris Lumens <clumens@redhat.com>
228 * pykickstart/commands/f7.py (F7Handler.Key.__str__): Add a newline.
229 * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__): Likewise.
231 * pykickstart/constants.py: Add network bootproto constants (#197694).
232 * pykickstart/commands/fc3.py: Use new network constants.
233 * pykickstart/commands/fc4.py: Likewise.
234 * pykickstart/commands/fc6.py: Likewise.
235 * pykickstart/commands/rhel4.py: Likewise.
237 2007-02-01 Chris Lumens <clumens@redhat.com>
239 * pykickstart/commands/fc4.py: Fix tracebacks in subclass __str__
241 * pykickstart/commands/rhel4.py: Likewise.
243 2007-01-31 Chris Lumens <clumens@redhat.com>
245 * pykickstart.spec: Modified to more closely match the extras
246 packaging guidelines.
248 2007-01-25 Chris Lumens <clumens@redhat.com>
250 * pykickstart.spec, setup.py: New version.
252 2007-01-24 Chris Lumens <clumens@redhat.com>
254 * pykickstart/commands/fc3.py: Added.
255 * pykickstart/commands/fc4.py: Move basic commands and data back to
258 * pykickstart/commands/rhel4.py: Added.
260 * pykickstart/version.py: Add support for FC3 and RHEL4.
262 * pykickstart/commands/fc4.py (FC4Handler.__init__): Use
263 overrideCommand instead of registerCommand.
264 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
265 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
267 2007-01-24 Chris Lumens <clumens@redhat.com>
269 * pykickstart/commands/fc6.py (FC6Handler.Key): FC6 didn't support
271 * pykickstart/commands/f7.py (F7Handler.Key): The key command was
272 added just after FC6 came out.
274 * pykickstart/commands/rhel5.py: Added.
276 * pykickstart/version.py: Add support for RHEL5. Be more permissive
277 in what sorts of strings we map to version numbers. Fix pychecker
280 2007-01-19 Chris Lumens <clumens@redhat.com>
282 * pykickstart.spec, setup.py: New version.
284 2007-01-19 Chris Lumens <clumens@redhat.com>
286 * pykickstart/errors.py (KickstartVersionError): This should just
287 take a message like all the other exception classes.
288 * pykickstart/version.py: Pass a message to KickstartVersionError.
290 * pykickstart/commands/base.py (BaseHandler.__init__): Add a version
291 attribute so we no longer have to compare class names.
292 * pykickstart/commands/f7.py (F7Handler.__init__): Likewise.
293 * pykickstart/commands/fc4.py (FC4Handler.__init__): Likewise.
294 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
295 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
297 * pykickstart/parser.py (KickstartParser.__init__): Fix test for
298 matching version numbers now that handlers know what version they are.
300 2007-01-18 Chris Lumens <clumens@redhat.com>
302 * pykickstart/commands/fc4.py: KSOptionParser's lineno argument needs
304 * pykickstart/commands/fc5.py: Likewise.
305 * pykickstart/commands/fc6.py: Likewise.
307 2007-01-18 Chris Lumens <clumens@redhat.com>
309 * pykickstart/commands/base.py (BaseHandler.unregisterCommand): Add a
310 method to remove support for a command from a Handler instance.
312 * pykickstart/version.py: Add support for the F7 version.
313 * pykickstart/commands/f7.py: Add a devel version that removes the
314 deprecated langsupport and mouse commands.
316 * pykickstart/options.py (KSOptionParser.__init__): Move call to
317 superclass __init__ to where it belongs.
318 (KSOptionParser.check_values): Deprecated should be a flag, not a
321 * pykickstart/parser.py (Packages): Accept a --default argument to
322 specify that the default package set should be installed (#221305).
323 (KickstartParser.handlePackageHdr): Likewise.
324 (KickstartParser.__init__): KickstartParser needs to accept a version
327 * validator/ksvalidator: Pass the version to KickstartParser.
329 2007-01-17 Chris Lumens <clumens@redhat.com>
331 * pykickstart.spec, setup.py: New version.
333 2007-01-16 Chris Lumens <clumens@redhat.com>
335 * pykickstart/parser.py (KickstartParser.readKickstartFromString):
336 Add a method to read a kickstart file from a string, in addition to
337 the one that's already there for reading from a file.
339 2007-01-16 Chris Lumens <clumens@redhat.com>
341 * pykickstart.spec, setup.py: New version, finally.
343 2007-01-16 Chris Lumens <clumens@redhat.com>
345 * pykickstart/parser.py (Script.__str__): Write out --interpreter
346 since that's what the parser expects (#222877).
348 * pykickstart/commands/fc4.py: Fix exception error messages.
350 2007-01-15 Chris Lumens <clumens@redhat.com>
352 * pykickstart/commands/base.py (BaseHandler.empty): Add a method to
353 empty out the contents of the commands dict.
355 * pykickstart/commands/fc4.py (BaseHandler.Upgrade): Only set upgrade
356 if that's what the current command is.
357 (BaseHandler.RootPw): rootpw -> password
359 2007-01-15 Chris Lumens <clumens@redhat.com>
361 * pykickstart/version.py (returnClassForVersion): Take a default
363 (returnClassForVersion): Rename Version to Handler.
365 * pykickstart/parser.py: Rename kshandlers to handler.
367 * pykickstart/commands/base.py: Rename BaseVersion to BaseHandler,
368 registerHandler to registerCommand, and self.dispatcher to
370 * pykickstart/commands/fc4.py: Likewise.
371 * pykickstart/commands/fc5.py: Likewise.
372 * pykickstart/commands/fc6.py: Likewise.
374 2007-01-12 Chris Lumens <clumens@redhat.com>
376 * pykickstart/commands/base.py (BaseVersion.overrideHandler): Provide
377 a way to create a new instance of the handler and have it used. This
378 allows a shortcut for wiping out all the attributes on an instance.
379 (BaseVersion.__str__): Newline after the platform is written.
381 * pykickstart/commands/base.py (KickstartCommand.__init__): Add the
382 dispatcher setting back in.
384 2007-01-12 Chris Lumens <clumens@redhat.com>
386 * pykickstart/commands/base.py (BaseVersion._insertSorted): When a
387 subclass of BaseVersion registers a handler that already exists from a
388 class higher up the chain, remove the existing handler in favor of the
391 * pykickstart/commands/fc4.py: Put writePriority defaults in the
392 default arguments to command objects instead of in the calls to
393 creating them, as that didn't work for subclasses. Also change how
394 we handle default arguments that are lists.
395 * pykickstart/commands/fc5.py: Likewise.
396 * pykickstart/commands/fc6.py: Likewise.
398 2007-01-11 Chris Lumens <clumens@redhat.com>
400 * pykickstart/commands/fc5.py (RaidData, Raid): Make these classes
401 subclass the ones in FC4Version, to the extent that can be done.
402 * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
405 * pykickstart/parser.py (Script.__str__): Fix Script printing.
407 * pykickstart/commands/fc6.py (FC6Version.Method): Fix test for opts
410 2007-01-10 Chris Lumens <clumens@redhat.com>
412 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
413 dispatcher setting so command classes can still access data classes.
414 (BaseVersion.registerHandler): Don't overwrite command classes with
415 an instance in the version object.
417 * pykickstart/commands/fc4.py: Data and command classes are now
418 nested inside the version class.
419 * pykickstart/commands/fc5.py: Likewise.
420 * pykickstart/commands/fc6.py: Likewise.
422 2007-01-10 Chris Lumens <clumens@redhat.com>
424 * pykickstart/version.py (makeVersion): Default to DEVEL.
426 * pykickstart/commands/fc4.py: Command -> KS for brevity.
427 * pykickstart/commands/fc5.py: Likewise.
428 * pykickstart/commands/fc6.py: Likewise.
430 2007-01-09 Chris Lumens <clumens@redhat.com>
432 * pykickstart/po/*: Updated translations.
434 * pykickstart/commands/*.py: Rename everything from Handler to
435 Version, as that seems to make more sense.
436 * pykickstart/options.py: Likewise.
437 * pykickstart/parser.py: Likewise.
438 * pykickstart/version.py: Likewise.
439 * ksvalidator/validator: Likewise.
441 2007-01-09 Chris Lumens <clumens@redhat.com>
443 * Merge in multiversion-branch (#189348).
445 2007-01-08 Chris Lumens <clumens@redhat.com>
449 * Merge from HEAD: Updated translations.
451 2007-01-03 Chris Lumens <clumens@redhat.com>
455 * pykickstart/commands/base.py (BaseHandler.hasHandler): Add a
456 convenience method to see if there's a handler for a given command.
458 2006-12-22 Chris Lumens <clumens@redhat.com>
462 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
463 writePriority parameter to control the order commands get written out
464 when __str__ methods are called.
465 (BaseHandler.__str__): Take writePriorities into account.
466 (BaseHandler.registerHandler): Insert command handlers into the
467 _writePriority dict in the correct order - first by priority, then
468 alphabetically within that priority.
470 * pykickstart/commands/fc4.py: Add new writePriority parameter.
471 * pykickstart/commands/fc6.py: Likewise.
473 2006-12-22 Chris Lumens <clumens@redhat.com>
477 * pykickstart/commands/fc6.py: Added multipath support back in.
479 * pykickstart/commands/base.py (BaseData): Added a superclass for all
480 those Kickstart*Data objects.
481 * pykickstart/commands/fc4.py: Use BaseData.
482 * pykickstart/commands/fc6.py: Likewise.
484 * pykickstart/commands/base.py: Clarify API for subclasses a little
485 bit. Make KickstartCommand.__str__ an abstract method. Add
486 DeprecatedCommand.__str__.
488 2006-12-20 Chris Lumens <clumens@redhat.com>
492 * pykickstart/commands/fc4.py (CommandReboot.__str__): Fix output
495 * Merge from HEAD: Updated translations.
497 2006-12-20 Chris Lumens <clumens@redhat.com>
501 * pykickstart/__init__.py: Clear this out.
503 * pykickstart/errors.py: Add __doc__ strings to all classes and
505 * pykickstart/options.py: Likewise.
506 * pykickstart/version.py: Likewise.
507 * pykickstart/commands/base.py: Likewise.
509 * pykickstart/parser.py: Add __doc__ strings to all classes and
510 public methods. Privatize attributes in KickstartParser that don't
513 * pykickstart/commands/fc4.py (FC4Handler.__init__): _registerHandler
514 is no longer private.
515 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
516 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
518 * docs/programmers-guide: Remove stuff that's now duplicated by
521 2006-12-20 Chris Lumens <clumens@redhat.com>
523 * po/nb.po: Update from rhel5-branch.
525 2006-12-19 Chris Lumens <clumens@redhat.com>
529 * pykickstart/commands/base.py (KickstartCommand.__call__): Add a
530 function to set all the attributes of a command object at once.
531 (BaseHandler._registerHandler): Don't need to do so much goofy stuff
532 to register a command handler anymore.
534 * pykickstart/version.py (returnClassForVersion): Add a function to
535 return the class matching a given kickstart syntax version. This does
536 not return an instance of that class.
538 * Makefile: Add pykickstart/commands/*.pyc to what gets cleaned.
540 * setup.py: Package up commands as well.
542 * test.py: This isn't needed anymore.
544 2006-12-19 Chris Lumens <clumens@redhat.com>
548 * pykickstart/commands/fc4.py: Add named arguments to __init__
549 functions for all command handlers.
550 * pykickstart/commands/fc6.py: Likewise.
552 * pykickstart/commands/fc4.py: Various minor fixes to default
553 arguments and __str__ methods throughout.
555 2006-12-15 Chris Lumens <clumens@redhat.com>
557 * pykickstart.spec, setup.py: Bump version (only translations have
558 changed since the last rebuild - #216620).
560 2006-12-12 Chris Lumens <clumens@redhat.com>
564 * pykickstart/commands/fc4.py (CommandLang): Add lang attribute.
566 * pykickstart/commands/fc5.py (FC5Handler): Import from the
569 2006-12-11 Chris Lumens <clumens@redhat.com>
573 * pykickstart/commands/fc4.py: Added first run at data and command
574 handling support for Fedora Core 4.
576 * pykickstart/commands/fc4.py (KickstartLogVolData,
577 KickstartNetworkData, KickstartPartData, KickstartRaidData,
578 KickstartVolGroupData, KickstartZFCPData): Add named arguments to
579 __init__ functions to make creating objects programatically easier.
580 * pykickstart/commands/fc6.py (KickstartDmRaidData,
581 KickstartIscsiData, KickstartRepoData, KickstartUserData): Likewise.
583 2006-12-11 Chris Lumens <clumens@redhat.com>
587 * validator/ksvalidator: Update to handle multiple versions.
589 * pykickstart/parser.py (Packages.add): Move Parser.addPackages here
590 since this seems like a sensible method for the Packages object to
593 * pykickstart/version.py (makeHandler): Add a function to create the
594 right handler for a given syntax version.
595 (stringToVersion): Add a function to convert string versions into
598 * pykickstart/commands/base.py: Need to import errors here.
600 2006-12-11 Chris Lumens <clumens@redhat.com>
604 * pykickstart/options.py (KSOptionParser.check_values): Use
605 self.lineno instead of lineno.
607 * pykickstart/parser.py: Set packages, scripts, and platform on the
610 * pykickstart/commands/base.py (BaseHandler.__init__): This looks
611 like the best place to add packages, scripts, and platform.
612 (BaseHandler.__str__): Write out the whole ks file, though we still
613 need to get commands in the right order.
615 * Merge from HEAD: Updated translations.
617 2006-12-08 Chris Lumens <clumens@redhat.com>
621 * pykickstart/data.py: Removed.
622 * pykickstart/handlers.py: Removed.
623 * pykickstart/writer.py: Removed.
625 * pykickstart/__init__.py: Updated.
626 * pykickstart/errors.py (KickstartVersionError): Add a new exception
627 that will be useful in the future.
628 * pykickstart/options.py: Don't need this import anymore.
629 * pykickstart/parser.py: Rework string representation in String.
630 Create a new Packages class, even though it's not in use yet. Hack in
631 changes to the parser to make it basically work for now.
632 * pykickstart/version.py: Added initial symbolic version numbers.
634 * pykickstart/commands/__init__.py: Added.
635 * pykickstart/commands/base.py: Added base classes useful for all
637 * pykickstart/commands/fc5.py: Added first run at data and command
638 handling support for Fedora Core 5 syntax. Most of this used to be
639 in data.py, handlers.py, and writer.py
640 * pykickstart/commands/fc6.py: Added first run at data and command
641 handling support for Fedora Core 6 syntax. Most of this used to be in
642 data.py, handlers.py, and writer.py
645 * test.py: Added quick test harness.
647 2006-12-05 Chris Lumens <clumens@redhat.com>
651 * pykickstart/options.py (KSOptionParser.check_values): Check
652 introduced and removed attributes.
653 (KSOption): Add introduced and removed attributes.
655 * validator/ksvalidator: Update to work with new file structure.
658 - po/pykickstart.pot: Updated (#216620).
659 - pykickstart/errors.py: Update string formats to make translation
661 - pykickstart/handlers.py: Likewise.
662 - pykickstart/options.py: Likewise.
663 - pykickstart/handlers.py (KickstartHandlers.doIscsi): Use required
665 - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
666 Fix traceback (#218047, #218059).
667 - pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
668 - pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
671 2006-12-05 Chris Lumens <clumens@redhat.com>
673 * pykickstart.spec, setup.py: Bump version.
675 2006-12-04 Chris Lumens <clumens@redhat.com>
677 * pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
680 2006-12-01 Chris Lumens <clumens@redhat.com>
682 * pykickstart.spec, setup.py: Bump version.
684 * pykickstart/parser.py (KickstartHandlers.deprecatedCommands): Fix
685 traceback (#218047, #218059).
687 2006-11-30 Chris Lumens <clumens@redhat.com>
689 * pykickstart.spec, setup.py: Bump version.
691 2006-11-21 Chris Lumens <clumens@redhat.com>
693 * po/pykickstart.pot: Updated (#216620).
695 * pykickstart/parser.py: Update string formats to make translation
698 2006-11-14 Chris Lumens <clumens@redhat.com>
700 * pykickstart/parser.py (KickstartHandlers.doIscsi): Use required
703 2006-11-09 Chris Lumens <clumens@redhat.com>
705 * pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
707 2006-10-24 Chris Lumens <clumens@redhat.com>
712 - Makefile: Update to handle new release format.
713 - setup.py: New version.
714 - pykickstart.spec: Fix spec file to use %{?dist} in release.
715 - pykickstart/writer.py (KickstartWriter.doKey): Better way to
718 2006-10-24 Chris Lumens <clumens@redhat.com>
722 * pykickstart/__init__.py: Import new files by default.
723 * pykickstart/errors.py: Split out from parser.py.
724 * pykickstart/handlers.py: Split out from parser.py
725 * pykickstart/options.py: Split out from parser.py.
726 * pykickstart/parser.py: Updated for new files.
728 * validator/ksvalidator: Updated for new files.
730 2006-10-24 Chris Lumens <clumens@redhat.com>
732 * pykickstart.spec, setup.py: Bump version.
734 * Makefile: Fix for new Release format.
736 2006-10-17 Chris Lumens <clumens@redhat.com>
738 * pykickstart/writer.py: Add writer for key command.
740 2006-10-17 Jeremy Katz <katzj@redhat.com>
742 * pykickstart.spec, setup.py: Bump version.
744 * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
746 2006-10-16 Jeremy Katz <katzj@redhat.com>
748 * pykickstart.spec, setup.py: Bump version.
750 * pykickstart/parser.py (KickstartHandlers.doKey): Support for
752 * pykickstart/data.py (KickstartData.__init__): Likewise.
754 2006-10-13 Bill Nottingham <notting@redhat.com>
756 * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
757 eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
758 lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
759 ur.po, vi.po, zu.po: Use a valid charset (#210720)
761 * pykickstart.spec, setup.py: Bump version
764 2006-09-29 Chris Lumens <clumens@redhat.com>
766 * pykickstart.spec, setup.py: Bump version
768 * pykickstart/parser.py (KickstartHandlers.doMethod): Fix traceback
771 2006-09-25 Chris Lumens <clumens@redhat.com>
773 * pykickstart.spec, setup.py: Bump version
775 * pykickstart/parser.py (KickstartHandlers.doMethod): Add support for
776 --biospart option (#207585).
777 * pykickstart/writer.py (KickstartWriter.doMethod): Likewise.
779 * pykickstart/writer.py (KickstartWriter.doIscsi): Output new syntax.
780 (KickstartWriter.doZFCP): Likewise.
781 (KickstartWriter.doIscsiName): Added.
783 2006-09-20 Jeremy Katz <katzj@redhat.com>
785 * pykickstart.spec, setup.py: Bump version
787 * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
788 improved iscsi syntax. Also, allow multiple zfcp devs
789 * pykickstart/data.py: Likewise.
791 2006-07-13 Chris Lumens <clumens@redhat.com>
793 * pykickstart/data.py: Add noipv4 and noipv6 to KickstartNetworkData.
794 * pykickstart/parser.py (KickstartHandlers.doNetwork): Limit
795 bootproto choices to what anaconda can handle. Add support for
796 --noipv4 and --noipv6 options.
797 * pykickstart/writer.py (KickstartWriter.doNetwork): Write out new
800 2006-06-20 Chris Lumens <clumens@redhat.com>
802 * pykickstart.spec, setup.py: Bump version.
804 * pykickstart/writer.py (KickstartWriter.doIscsi): Add iscsi writer.
806 2006-06-20 Jeremy Katz <katzj@redhat.com>
808 * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
809 support. This syntax is likely to change but this makes testing
811 * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
813 2006-06-20 Chris Lumens <clumens@redhat.com>
815 * pykickstart/parser (KickstartHandlers.doRaid): Handle a RAID device
816 as an integer instead of a string (#176537).
818 2006-06-16 Jeremy Katz <katzj@redhat.com>
820 * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
822 2006-06-06 Chris Lumens <clumens@redhat.com>
824 * pykickstart.spec: Fix BuildRequires (#194156).
826 2006-05-25 Chris Lumens <clumens@redhat.com>
828 * pykickstart.spec, setup.py: Bump version.
830 2006-05-24 Chris Lumens <clumens@redhat.com>
832 * pykickstart/writer.py (KickstartWriter): Change order of LVM-related
835 2006-05-23 Chris Lumens <clumens@redhat.com>
837 * pykickstart.spec: Require urlgrabber now.
839 * po/*: Update translation files.
841 * pykickstart/parser.py (KickstartParser.handleCommand): Return a
842 more useful error message on unknown command.
844 * pykickstart/writer.py (KickstartWriter.doLogicalVolume): Fix typo.
846 * validator/ksvalidator: Accept a URL in addition to a file name.
848 2006-05-23 Chris Lumens <clumens@redhat.com>
850 * pykickstart/writer.py (KickstartWriter.doPackages): Don't write out
851 an empty packages section, since we may want this step to be
852 interactive (#192851).
854 2006-05-23 Chris Lumens <clumens@redhat.com>
856 * pykickstart.spec, setup.py: Bump version.
858 * pykickstart/writer.py (KickstartWriter.doFirewall): Rename --ports
861 2006-05-17 Peter Jones <pjones@redhat.com>
863 * pykickstart/parser.py: Add "multipath" command and doMultiPath
865 * pykickstart/data.py: Add kickstartMpPathData and
866 KickstartMultiPathData objects to handle multipath info, as well as
867 KickstartData.mpaths .
868 * pykickstart/writer.py: add doMultiPath
869 * docs/programmers-guide: add completely useless documentation for
870 multipath kickstart objects.
872 2006-05-15 Chris Lumens <clumens@redhat.com>
874 * pykickstart.spec, setup.py: Bump version.
876 * pykickstart/data.py (KickstartNetworkData): Add MTU (#191328).
877 * pykickstart/parser.py (KickstartHandlers.doNetwork): Likewise.
878 * pykickstart/writer.py (KickstartWriter.doNetwork): Likweise.
880 2006-05-10 Chris Lumens <clumens@redhat.com>
882 * pykickstart/parser.py (KickstartHandlers.doTimezone): Accept
883 --isUtc for backwards compatibility.
885 2006-05-04 Chris Lumens <clumens@redhat.com>
887 * pykickstart.spec, setup.py: Bump version.
889 2006-04-25 Chris Lumens <clumens@redhat.com>
891 * pykickstart/data.py (KickstartUserData): Added.
892 (KickstartData): Added lists for services and users.
893 * pykickstart/parser.py (KickstartParser.doServices,
894 KickstartParser.doUser): Add new command handlers.
895 Consolidate code to copy from option parsers to ksdata.
896 * pykickstart/writer.py (KickstartWriter.doServices,
897 KickstartParser.doUser): Add new command handlers.
899 2006-04-24 Chris Lumens <clumens@redhat.com>
901 * pykickstart/writer.py: More output formatting fixes.
903 2006-04-19 Chris Lumens <clumens@redhat.com>
905 * pykickstart/constants.py: Start CLEARPART_ constants at 0.
907 2006-04-17 Chris Lumens <clumens@redhat.com>
909 * pykickstart.spec, setup.py: Bump version.
911 2006-04-13 Chris Lumens <clumens@redhat.com>
913 * pykickstart/data.py (KickstartRepoData): Added.
914 (KickstartRaidData): Initialize members to a list instead of string.
915 (KickstartVolGroupData): Likewise.
916 * pykickstart/parser.py (KickstartHandlers.doRepo): Add options.
917 * pykickstart/writer.py (KickstartWriter.doRepo): Likewise.
918 (KickstartWriter.doPackages): Reorder package output. Output header
921 2006-04-11 Chris Lumens <clumens@redhat.com>
923 * pykickstart/parser.py (KickstartParser.addPackages): Ignore
924 whitespace before group names (#188095).
926 2006-03-27 Chris Lumens <clumens@redhat.com>
928 * pykickstart.spec, setup.py: Bump version.
930 * pykickstart/data.py (KickstartData.__init__): Add support for the
932 * pykickstart/writer.py (KickstartWriter.doLogging): Likewise.
933 (KickstartWriter.doRepo): Stub out funtion for the future.
934 * pykickstart/parser.py (KickstartHandlers.doLogging): Likewise.
935 (KickstartHandlers.doRepo): Stub out function for the future.
937 2006-03-27 Chris Lumens <clumens@redhat.com>
939 * pykickstart.spec, setup.py: Bump version.
941 * pykickstart/writer.py (KickstartWriter.doXConfig): Don't write out
942 a blank xconfig line.
944 2006-03-13 Chris Lumens <clumens@redhat.com>
946 * pykickstart/writer.py (KickstartWriter.__init__): Reorder output
949 2006-03-07 Chris Lumens <clumens@redhat.com>
951 * pykickstart.spec, setup.py: Bump version.
953 * pykickstart/parser.py (KickstartHandlers.doZeroMbr): Backwards
954 compatibility support for options to zerombr.
956 2006-02-24 Chris Lumens <clumens@redhat.com>
958 * pykickstart.spec, setup.py: Bump version.
960 * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk): Get ksdata
961 from the correct option parser variable (#182934).
963 2006-02-17 Chris Lumens <clumens@redhat.com>
965 * pykickstart.spec, setup.py: Bump version.
967 2006-02-16 Chris Lumens <clumens@redhat.com>
969 * docs/programmers-guide: Update documentation.
971 * pykickstart/parser.py: Provide an option to not traceback if an
972 included file is not present. This should have very limited
973 usefulness. (#181760).
974 * pykickstart/parser.py (KSOptionParser.check_values): Typos.
976 2006-02-13 Chris Lumens <clumens@redhat.com>
978 * pykickstart.spec, setup.py: Bump version.
980 * pykickstart/parser.py: Don't trust ensure_value in complicated
981 cases in callbacks, as it wasn't setting values.
983 2006-02-13 Chris Lumens <clumens@redhat.com>
985 * pykickstart.spec, setup.py: Bump version.
987 * pykickstart/writer.py (KickstartWriter.doNetwork): --onboot
988 requires a value (#180987).
990 2006-02-10 Chris Lumens <clumens@redhat.com>
992 * pykickstart/parser.py: Be more strict about commands that don't
995 2006-02-09 Chris Lumens <clumens@redhat.com>
997 * pykickstart.spec, setup.py: Bump version.
999 * pykickstart/parser.py, pykickstart/writer.py: Fix pychecker
1002 * pykickstart/parser.py (KSOption): Condense all those option classes
1005 * pykickstart/parser.py (KickstartParser.readKickstart): Allow
1006 exceptions to not be fatal so ksvalidator can report multiple
1007 problems in one pass.
1008 (KickstartHandlers.deprecatedCommand): Add line number to message.
1009 (KSOptionParser.check_values): Make deprecated option message more
1012 * validator/ksvalidator: Default to not following include files and
1013 to not halting on the first error. Add options to change this
1016 2006-02-08 Chris Lumens <clumens@redhat.com>
1018 * pykickstart/parser.py (KickstartHandlers.doRaid): --level is not
1019 strictly required since we should be able to infer it from
1022 2006-02-01 Chris Lumens <clumens@redhat.com>
1024 * pykickstart.spec, setup.py: Bump version.
1026 * pykickstart/parser.py (KickstartHandlers.doVnc): No default port.
1028 2006-01-31 Chris Lumens <clumens@redhat.com>
1030 * pykickstart.spec, setup.py: Bump version.
1032 * pykickstart.py/writer.py (KickstartWriter.doDmRaid): Add an initial
1034 (KickstartWriter.doPartition): Handle None on partition size.
1036 2006-01-30 Chris Lumens <clumens@redhat.com>
1038 * pykickstart.spec, setup.py: Bump version.
1040 * pykickstart/parser.py (KickstartHandlers.doVnc): Fix connecting to
1041 a remote viewer. Deprecate --connect, and add --host and --port as
1042 the new preferred way (#179209).
1044 2006-01-19 Chris Lumens <clumens@redhat.com>
1046 * pykickstart.spec, setup.py: Bump version.
1048 2006-01-13 Chris Lumens <clumens@redhat.com>
1050 * pykickstart/constants.py: Add constants for the various
1051 reboot/shutdown actions.
1052 * pykickstart/data.py: Add support for --eject on reboot.
1053 * pykickstart/parser.py: Likewise.
1054 * pykickstart/writer.py: Likewise.
1056 2006-01-04 Chris Lumens <clumens@redhat.com>
1058 * pykickstart/data.py: Finish removing monitor information.
1059 * pykickstart/writer.py: Clean up output quoting a bit.
1061 2005-12-12 Chris Lumens <clumens@redhat.com>
1063 * pykickstart/data.py: Remove monitor information from xconfig.
1064 * pykickstart/parser.py: Remove monitor configuration from xconfig,
1065 move --noprobe option to monitor keyword.
1066 * pykickstart/writer.py: Likewise.
1068 2005-12-08 Chris Lumens <clumens@redhat.com>
1070 * pykickstart/data.py: Support bytesPerInode on RAID
1071 (Curtis Doty <Curtis at GreenKey.net> #175288).
1072 * pykickstart/parser.py: Likewise.
1073 * pykickstart/writer.py: Likewise.
1075 2005-11-03 Chris Lumens <clumens@redhat.com>
1077 * pykickstart.spec: Bump version.
1079 * pykickstart/data.py: Default to SELINUX_ENFORCING.
1080 anaconda expects partition sizes to start at None as --size=0 --grow
1081 is an acceptable combination (#172378).
1083 * pykickstart/parser.py: Don't call shlex.split on anything inside a
1086 2005-11-01 Chris Lumens <clumens@redhat.com>
1088 * pykickstart.spec: Bump version.
1090 * pykickstart/parser.py (KickstartHandlers.doVnc): --connect is not
1091 required as it may be provided to anaconda on the command line
1093 (KickstartHandlers.doNetwork): --onboot takes no options.
1094 * pykickstart/writer.py (doFirewall): Remove extra spaces. Write out
1095 --<service> options if ports are set.
1097 2005-10-28 Chris Lumens <clumens@redhat.com>
1099 * pykickstart/writer.py (KickstartWriter.doClearPart): Fix --all
1102 2005-10-28 Chris Lumens <clumens@redhat.com>
1104 * pykickstart.spec: Bump version.
1106 * docs/programmers-guide: Add documentation for error reporting.
1107 * pykickstart/parser.py: Add --resolvedeps and --includedeps as
1108 deprecated options to %packages. Pass line number to handlePackageHdr
1109 and handleScriptHdr.
1111 2005-10-24 Chris Lumens <clumens@redhat.com>
1113 * pykickstart.spec: Bump version.
1115 * pykickstart/parser.py: Report the line number on exceptions.
1116 * validator/ksvalidator: Added a stand-alone program to validate
1119 2005-10-19 Chris Lumens <clumens@redhat.com>
1121 * pykickstart.spec: Bump version.
1123 2005-10-18 Chris Lumens <clumens@redhat.com>
1125 * pykickstart/parser.py: Correct deprecated attribute so warnings are
1126 thrown when a deprecated option is seen, not when it's defined.
1128 2005-10-17 Chris Lumens <clumens@redhat.com>
1130 * docs/programmers-guide: Added documentation for extending and
1131 programming with pykickstart.
1133 2005-10-13 Chris Lumens <clumens@redhat.com>
1135 * pykickstart.spec: Correct python lib directory on 64-bit archs
1136 (#170621). Bump build.
1138 2005-10-07 Chris Lumens <clumens@redhat.com>
1140 * pykickstart/constants.py: Add types for scripts.
1141 * pykickstart/data.py: Collapse scripts into a single list.
1142 * pykickstart/parser.py: Likewise. Also, fix script printing.
1143 * pykickstart/writer.py: Likewise. Also, rename class to
1146 2005-10-06 Chris Lumens <clumens@redhat.com>
1148 * pykickstart/parser.py (DeprecatedOption): Add a "deprecated"
1149 attribute so options can be marked as such.
1150 (KickstartHandlers): Change how deprecated commands are printed. Add
1151 --card back to the xconfig command as a deprecated option.
1153 2005-10-05 Chris Lumens <clumens@redhat.com>
1155 * pykickstart/data.py: Rename classes to be consistent with the rest
1156 of the module. Add default bytesPerInode to partition objects.
1158 2005-10-05 Chris Lumens <clumens@redhat.com>
1160 * Imported contents from anaconda.