1 2007-06-05 Chris Lumens <clumens@redhat.com>
3 * pykickstart/version.py: Add support for F8.
4 * pykickstart/handlers/control.py: Likewise.
5 * pykickstart/handlers/f8.py: Likewise.
7 2007-06-04 Chris Lumens <clumens@redhat.com>
9 * pykickstart.spec, setup.py: New version.
11 2007-06-04 Chris Lumens <clumens@redhat.com>
13 * pykickstart/commands/method.py: Fix harddrive install method error
14 checking (#242492, patch from Andrew Edmunds
15 <andrew DOT edmunds AT yahoo.com.au>).
17 * pykickstart/base.py (KickstartCommand.__init__): Add currentLine
19 (BaseHandler.dispatcher): Set currentLine attribute on the command
21 * pykickstart/parser.py (KickstartParser.handleCommand): Set
22 currentLine attribute on the handler.
23 * pykickstart/commands/auth.py (FC3_Authconfig.parse): Use
24 currentLine instead of reassembling the list of arguments, since
25 otherwise we might miss quoting (#241657).
27 * pykickstart/parser.py (KickstartParser.readKickstart): Use urlopen
28 to open a kickstart file so includes can be given by a URL in addition
31 2007-05-18 Chris Lumens <clumens@redhat.com>
33 * pykickstart/commands/user.py (FC6_UserData.__str__): Fix typo in
34 outputting --iscrypted option.
36 2007-05-14 Chris Lumens <clumens@redhat.com>
38 * pykickstart.spec, setup.py: New version.
40 2007-04-24 Chris Lumens <clumens@redhat.com>
42 * pykickstart/version.py (stringToVersion): Better regexes for
43 splitting strings into family and version.
45 * pykickstart/version.py: Add support for RHEL3 (jlaska AT
47 * pykickstart/handlers/control.py: Likewise.
48 * pykickstart/handlers/rhel3.py: Likewise.
50 * pykickstart/commands/mouse.py: Initial support for RHEL3 commands
51 (jlaska AT redhat.com).
53 2007-04-13 Chris Lumens <clumens@redhat.com>
55 * pykickstart.spec, setup.py: This is pykickstart version 1.0.
57 * docs/programmers-guide: Update documentation.
59 2007-04-12 Chris Lumens <clumens@redhat.com>
61 * docs/programmers-guide: Update documentation.
63 * pykickstart/base.py (DeprecatedCommand): This should be an abstract
66 2007-03-30 Chris Lumens <clumens@redhat.com>
68 * pykickstart/parser.py (KickstartParser.readKickstart): Use
69 urlgrabber so %include files can be URLs (#234351).
71 2007-03-19 Chris Lumens <clumens@redhat.com>
73 * pykickstart.spec, setup.py: New version.
75 2007-03-16 Chris Lumens <clumens@redhat.com>
77 * pykickstart/commands/bootloader.py: Increase writePriority number
78 so this comes after upgrade/install.
80 2007-03-12 Chris Lumens <clumens@redhat.com>
82 * pykickstart/base.py (BaseHandler._setCommand): Treat class names as
83 unicode strings so lower() works in all locales (#231053).
85 2007-03-07 Chris Lumens <clumens@redhat.com>
87 * pykickstart.spec, setup.py: New version.
89 2007-03-07 Chris Lumens <clumens@redhat.com>
91 * pykickstart/commands/timezone.py: The timezone command didn't
92 understand --isUtc before FC6 (#231189).
94 * pykickstart/parser.py (KickstartParser._stateMachine): Recognize
95 %ksappend so ksvalidator works.
97 * po/: Update translation files.
99 2007-03-01 Chris Lumens <clumens@redhat.com>
101 * pykickstart/commands/bootloader.py, pykickstart/commands/clearpart.py,
102 pykickstart/commands/displaymode.py, pykickstart/commands/firewall.py,
103 pykickstart/commands/firstboot.py, pykickstart/commands/langsupport.py,
104 pykickstart/commands/logging.py, pykickstart/commands/reboot.py,
105 pykickstart/commands/selinux.py, pykickstart/commands/upgrade.py:
106 Don't set default values so a newly created kickstart handler object
107 will only have the values set by a caller.
109 2007-02-28 Chris Lumens <clumens@redhat.com>
111 * pykickstart/commands/updates.py: Added a new updates command for
112 grabbing updates.img files.
113 * pykickstart/commands/__init__.py: Pull in new command object.
114 * pykickstart/handlers/control.py: Add new command to F7 map.
116 * pykickstart/commands/raid.py (F7_Raid): Add support for RAID10.
118 2007-02-26 Chris Lumens <clumens@redhat.com>
120 * pykickstart.spec, setup.py: New version.
122 2007-02-26 Chris Lumens <clumens@redhat.com>
124 * pykickstart/commands/device.py (FC3_Device): Fix device command
125 syntax to match anaconda's documentation.
127 * pykickstart/commands/method.py: Add all the attributes that the
128 Method commands can set so __call__ works.
130 2007-02-21 Chris Lumens <clumens@redhat.com>
132 * pykickstart.spec, setup.py: New version.
134 2007-02-21 Chris Lumens <clumens@redhat.com>
136 * pykickstart/base (BaseHandler._registerCommands): Fix reference to
137 cMap and dMap in non-default case (#229505).
139 2007-02-20 Chris Lumens <clumens@redhat.com>
141 * pykickstart.spec, setup.py: New version.
143 2007-02-20 Chris Lumens <clumens@redhat.com>
145 * pykickstart/parser.py (Group): Added an object for dealing with
146 extended group syntax.
147 (Packages._processGroup): Add a new function to handle the extended
150 * pykickstart/constants.py: New group selection constants.
152 * pykickstart/handlers/control.py (dataMap): Add a mapping for data
155 * pykickstart/base.py (BaseHandler._registerCommands): Add attributes
156 on the handler for the data objects.
158 2007-02-19 Chris Lumens <clumens@redhat.com>
160 * pykickstart/base.py (BaseHandler.maskAllExcept): Renamed from
162 (BaseHandler.__init__): Accept a mapping argument in the format of
163 what's in pykickstart.handlers.control, for when you're overriding all
164 the handlers with your own versions.
166 * pykickstart/commands/langsupport.py (FC3_LangSupport.__str__): Add
169 * pykickstart/commands/reboot.py: Provide a default return value in
170 the __str__ methods to fix a traceback.
172 2007-02-19 Chris Lumens <clumens@redhat.com>
174 * pykickstart/commands/*.py: All command objects now have an
175 underscore between the version part and the name for ease of
177 * pykickstart/handlers/control.py (commandMap): Likewise.
179 * pykickstart/base.py (BaseHandler._setCommand): Strip version part
180 from name before creating the attribute.
182 * pykickstart/version.py (versionToString): Added a method to convert
183 version numbers back into strings, which is needed for the above
186 2007-02-19 Chris Lumens <clumens@redhat.com>
188 * pykickstart/base.py: Moved here from pykickstart/commands and adapt
191 * pykickstart/version.py: Accept short forms of version strings again
192 and adapt to new layout.
194 * pykickstart/commands/*.py: Broke each command out into its own file
195 and put all the versions of that command handler together. Idea and
196 mock up from Peter Jones (<pjones AT redhat.com>).
198 * pykickstart/handlers/*.py: Moved handlers into their own directory.
200 * pykickstart/handlers/control.py: Add a file laying out which
201 commands are supported by each version and exactly where they can be
202 found. This should help readability of the code quite a bit.
204 2007-02-14 Chris Lumens <clumens@redhat.com>
206 * pykickstart.spec, setup.py: New version.
208 2007-02-14 Chris Lumens <clumens@redhat.com>
210 * pykickstart/parser.py (KickstartParser.__init__): Don't need to
211 take a version argument since the Parser can get that from the
214 * validator/ksvalidator: KickstartParser no longer takes a version
217 * pykickstart/version.py (stringToVersion): Be more lenient in what
218 strings we accept to take into account RHEL variants.
220 2007-02-08 Chris Lumens <clumens@redhat.com>
222 * pykickstart/parser.py (KickstartParser._reset): Add a method to
223 reset the state machine state and call it from __init__. Also call it
224 from readKickstart and readKickstartFromString except in the special
225 case of included files. This allows calling the parser multiple times
226 with the same data objects for file inheritance/overriding.
228 2007-02-07 Chris Lumens <clumens@redhat.com>
230 * pykickstart.spec, setup.py: New version.
232 2007-02-06 Chris Lumens <clumens@redhat.com>
234 * pykickstart/commands/f7.py (F7Handler.Key.__str__): Add a newline.
235 * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__): Likewise.
237 * pykickstart/constants.py: Add network bootproto constants (#197694).
238 * pykickstart/commands/fc3.py: Use new network constants.
239 * pykickstart/commands/fc4.py: Likewise.
240 * pykickstart/commands/fc6.py: Likewise.
241 * pykickstart/commands/rhel4.py: Likewise.
243 2007-02-01 Chris Lumens <clumens@redhat.com>
245 * pykickstart/commands/fc4.py: Fix tracebacks in subclass __str__
247 * pykickstart/commands/rhel4.py: Likewise.
249 2007-01-31 Chris Lumens <clumens@redhat.com>
251 * pykickstart.spec: Modified to more closely match the extras
252 packaging guidelines.
254 2007-01-25 Chris Lumens <clumens@redhat.com>
256 * pykickstart.spec, setup.py: New version.
258 2007-01-24 Chris Lumens <clumens@redhat.com>
260 * pykickstart/commands/fc3.py: Added.
261 * pykickstart/commands/fc4.py: Move basic commands and data back to
264 * pykickstart/commands/rhel4.py: Added.
266 * pykickstart/version.py: Add support for FC3 and RHEL4.
268 * pykickstart/commands/fc4.py (FC4Handler.__init__): Use
269 overrideCommand instead of registerCommand.
270 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
271 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
273 2007-01-24 Chris Lumens <clumens@redhat.com>
275 * pykickstart/commands/fc6.py (FC6Handler.Key): FC6 didn't support
277 * pykickstart/commands/f7.py (F7Handler.Key): The key command was
278 added just after FC6 came out.
280 * pykickstart/commands/rhel5.py: Added.
282 * pykickstart/version.py: Add support for RHEL5. Be more permissive
283 in what sorts of strings we map to version numbers. Fix pychecker
286 2007-01-19 Chris Lumens <clumens@redhat.com>
288 * pykickstart.spec, setup.py: New version.
290 2007-01-19 Chris Lumens <clumens@redhat.com>
292 * pykickstart/errors.py (KickstartVersionError): This should just
293 take a message like all the other exception classes.
294 * pykickstart/version.py: Pass a message to KickstartVersionError.
296 * pykickstart/commands/base.py (BaseHandler.__init__): Add a version
297 attribute so we no longer have to compare class names.
298 * pykickstart/commands/f7.py (F7Handler.__init__): Likewise.
299 * pykickstart/commands/fc4.py (FC4Handler.__init__): Likewise.
300 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
301 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
303 * pykickstart/parser.py (KickstartParser.__init__): Fix test for
304 matching version numbers now that handlers know what version they are.
306 2007-01-18 Chris Lumens <clumens@redhat.com>
308 * pykickstart/commands/fc4.py: KSOptionParser's lineno argument needs
310 * pykickstart/commands/fc5.py: Likewise.
311 * pykickstart/commands/fc6.py: Likewise.
313 2007-01-18 Chris Lumens <clumens@redhat.com>
315 * pykickstart/commands/base.py (BaseHandler.unregisterCommand): Add a
316 method to remove support for a command from a Handler instance.
318 * pykickstart/version.py: Add support for the F7 version.
319 * pykickstart/commands/f7.py: Add a devel version that removes the
320 deprecated langsupport and mouse commands.
322 * pykickstart/options.py (KSOptionParser.__init__): Move call to
323 superclass __init__ to where it belongs.
324 (KSOptionParser.check_values): Deprecated should be a flag, not a
327 * pykickstart/parser.py (Packages): Accept a --default argument to
328 specify that the default package set should be installed (#221305).
329 (KickstartParser.handlePackageHdr): Likewise.
330 (KickstartParser.__init__): KickstartParser needs to accept a version
333 * validator/ksvalidator: Pass the version to KickstartParser.
335 2007-01-17 Chris Lumens <clumens@redhat.com>
337 * pykickstart.spec, setup.py: New version.
339 2007-01-16 Chris Lumens <clumens@redhat.com>
341 * pykickstart/parser.py (KickstartParser.readKickstartFromString):
342 Add a method to read a kickstart file from a string, in addition to
343 the one that's already there for reading from a file.
345 2007-01-16 Chris Lumens <clumens@redhat.com>
347 * pykickstart.spec, setup.py: New version, finally.
349 2007-01-16 Chris Lumens <clumens@redhat.com>
351 * pykickstart/parser.py (Script.__str__): Write out --interpreter
352 since that's what the parser expects (#222877).
354 * pykickstart/commands/fc4.py: Fix exception error messages.
356 2007-01-15 Chris Lumens <clumens@redhat.com>
358 * pykickstart/commands/base.py (BaseHandler.empty): Add a method to
359 empty out the contents of the commands dict.
361 * pykickstart/commands/fc4.py (BaseHandler.Upgrade): Only set upgrade
362 if that's what the current command is.
363 (BaseHandler.RootPw): rootpw -> password
365 2007-01-15 Chris Lumens <clumens@redhat.com>
367 * pykickstart/version.py (returnClassForVersion): Take a default
369 (returnClassForVersion): Rename Version to Handler.
371 * pykickstart/parser.py: Rename kshandlers to handler.
373 * pykickstart/commands/base.py: Rename BaseVersion to BaseHandler,
374 registerHandler to registerCommand, and self.dispatcher to
376 * pykickstart/commands/fc4.py: Likewise.
377 * pykickstart/commands/fc5.py: Likewise.
378 * pykickstart/commands/fc6.py: Likewise.
380 2007-01-12 Chris Lumens <clumens@redhat.com>
382 * pykickstart/commands/base.py (BaseVersion.overrideHandler): Provide
383 a way to create a new instance of the handler and have it used. This
384 allows a shortcut for wiping out all the attributes on an instance.
385 (BaseVersion.__str__): Newline after the platform is written.
387 * pykickstart/commands/base.py (KickstartCommand.__init__): Add the
388 dispatcher setting back in.
390 2007-01-12 Chris Lumens <clumens@redhat.com>
392 * pykickstart/commands/base.py (BaseVersion._insertSorted): When a
393 subclass of BaseVersion registers a handler that already exists from a
394 class higher up the chain, remove the existing handler in favor of the
397 * pykickstart/commands/fc4.py: Put writePriority defaults in the
398 default arguments to command objects instead of in the calls to
399 creating them, as that didn't work for subclasses. Also change how
400 we handle default arguments that are lists.
401 * pykickstart/commands/fc5.py: Likewise.
402 * pykickstart/commands/fc6.py: Likewise.
404 2007-01-11 Chris Lumens <clumens@redhat.com>
406 * pykickstart/commands/fc5.py (RaidData, Raid): Make these classes
407 subclass the ones in FC4Version, to the extent that can be done.
408 * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
411 * pykickstart/parser.py (Script.__str__): Fix Script printing.
413 * pykickstart/commands/fc6.py (FC6Version.Method): Fix test for opts
416 2007-01-10 Chris Lumens <clumens@redhat.com>
418 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
419 dispatcher setting so command classes can still access data classes.
420 (BaseVersion.registerHandler): Don't overwrite command classes with
421 an instance in the version object.
423 * pykickstart/commands/fc4.py: Data and command classes are now
424 nested inside the version class.
425 * pykickstart/commands/fc5.py: Likewise.
426 * pykickstart/commands/fc6.py: Likewise.
428 2007-01-10 Chris Lumens <clumens@redhat.com>
430 * pykickstart/version.py (makeVersion): Default to DEVEL.
432 * pykickstart/commands/fc4.py: Command -> KS for brevity.
433 * pykickstart/commands/fc5.py: Likewise.
434 * pykickstart/commands/fc6.py: Likewise.
436 2007-01-09 Chris Lumens <clumens@redhat.com>
438 * pykickstart/po/*: Updated translations.
440 * pykickstart/commands/*.py: Rename everything from Handler to
441 Version, as that seems to make more sense.
442 * pykickstart/options.py: Likewise.
443 * pykickstart/parser.py: Likewise.
444 * pykickstart/version.py: Likewise.
445 * ksvalidator/validator: Likewise.
447 2007-01-09 Chris Lumens <clumens@redhat.com>
449 * Merge in multiversion-branch (#189348).
451 2007-01-08 Chris Lumens <clumens@redhat.com>
455 * Merge from HEAD: Updated translations.
457 2007-01-03 Chris Lumens <clumens@redhat.com>
461 * pykickstart/commands/base.py (BaseHandler.hasHandler): Add a
462 convenience method to see if there's a handler for a given command.
464 2006-12-22 Chris Lumens <clumens@redhat.com>
468 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
469 writePriority parameter to control the order commands get written out
470 when __str__ methods are called.
471 (BaseHandler.__str__): Take writePriorities into account.
472 (BaseHandler.registerHandler): Insert command handlers into the
473 _writePriority dict in the correct order - first by priority, then
474 alphabetically within that priority.
476 * pykickstart/commands/fc4.py: Add new writePriority parameter.
477 * pykickstart/commands/fc6.py: Likewise.
479 2006-12-22 Chris Lumens <clumens@redhat.com>
483 * pykickstart/commands/fc6.py: Added multipath support back in.
485 * pykickstart/commands/base.py (BaseData): Added a superclass for all
486 those Kickstart*Data objects.
487 * pykickstart/commands/fc4.py: Use BaseData.
488 * pykickstart/commands/fc6.py: Likewise.
490 * pykickstart/commands/base.py: Clarify API for subclasses a little
491 bit. Make KickstartCommand.__str__ an abstract method. Add
492 DeprecatedCommand.__str__.
494 2006-12-20 Chris Lumens <clumens@redhat.com>
498 * pykickstart/commands/fc4.py (CommandReboot.__str__): Fix output
501 * Merge from HEAD: Updated translations.
503 2006-12-20 Chris Lumens <clumens@redhat.com>
507 * pykickstart/__init__.py: Clear this out.
509 * pykickstart/errors.py: Add __doc__ strings to all classes and
511 * pykickstart/options.py: Likewise.
512 * pykickstart/version.py: Likewise.
513 * pykickstart/commands/base.py: Likewise.
515 * pykickstart/parser.py: Add __doc__ strings to all classes and
516 public methods. Privatize attributes in KickstartParser that don't
519 * pykickstart/commands/fc4.py (FC4Handler.__init__): _registerHandler
520 is no longer private.
521 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
522 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
524 * docs/programmers-guide: Remove stuff that's now duplicated by
527 2006-12-20 Chris Lumens <clumens@redhat.com>
529 * po/nb.po: Update from rhel5-branch.
531 2006-12-19 Chris Lumens <clumens@redhat.com>
535 * pykickstart/commands/base.py (KickstartCommand.__call__): Add a
536 function to set all the attributes of a command object at once.
537 (BaseHandler._registerHandler): Don't need to do so much goofy stuff
538 to register a command handler anymore.
540 * pykickstart/version.py (returnClassForVersion): Add a function to
541 return the class matching a given kickstart syntax version. This does
542 not return an instance of that class.
544 * Makefile: Add pykickstart/commands/*.pyc to what gets cleaned.
546 * setup.py: Package up commands as well.
548 * test.py: This isn't needed anymore.
550 2006-12-19 Chris Lumens <clumens@redhat.com>
554 * pykickstart/commands/fc4.py: Add named arguments to __init__
555 functions for all command handlers.
556 * pykickstart/commands/fc6.py: Likewise.
558 * pykickstart/commands/fc4.py: Various minor fixes to default
559 arguments and __str__ methods throughout.
561 2006-12-15 Chris Lumens <clumens@redhat.com>
563 * pykickstart.spec, setup.py: Bump version (only translations have
564 changed since the last rebuild - #216620).
566 2006-12-12 Chris Lumens <clumens@redhat.com>
570 * pykickstart/commands/fc4.py (CommandLang): Add lang attribute.
572 * pykickstart/commands/fc5.py (FC5Handler): Import from the
575 2006-12-11 Chris Lumens <clumens@redhat.com>
579 * pykickstart/commands/fc4.py: Added first run at data and command
580 handling support for Fedora Core 4.
582 * pykickstart/commands/fc4.py (KickstartLogVolData,
583 KickstartNetworkData, KickstartPartData, KickstartRaidData,
584 KickstartVolGroupData, KickstartZFCPData): Add named arguments to
585 __init__ functions to make creating objects programatically easier.
586 * pykickstart/commands/fc6.py (KickstartDmRaidData,
587 KickstartIscsiData, KickstartRepoData, KickstartUserData): Likewise.
589 2006-12-11 Chris Lumens <clumens@redhat.com>
593 * validator/ksvalidator: Update to handle multiple versions.
595 * pykickstart/parser.py (Packages.add): Move Parser.addPackages here
596 since this seems like a sensible method for the Packages object to
599 * pykickstart/version.py (makeHandler): Add a function to create the
600 right handler for a given syntax version.
601 (stringToVersion): Add a function to convert string versions into
604 * pykickstart/commands/base.py: Need to import errors here.
606 2006-12-11 Chris Lumens <clumens@redhat.com>
610 * pykickstart/options.py (KSOptionParser.check_values): Use
611 self.lineno instead of lineno.
613 * pykickstart/parser.py: Set packages, scripts, and platform on the
616 * pykickstart/commands/base.py (BaseHandler.__init__): This looks
617 like the best place to add packages, scripts, and platform.
618 (BaseHandler.__str__): Write out the whole ks file, though we still
619 need to get commands in the right order.
621 * Merge from HEAD: Updated translations.
623 2006-12-08 Chris Lumens <clumens@redhat.com>
627 * pykickstart/data.py: Removed.
628 * pykickstart/handlers.py: Removed.
629 * pykickstart/writer.py: Removed.
631 * pykickstart/__init__.py: Updated.
632 * pykickstart/errors.py (KickstartVersionError): Add a new exception
633 that will be useful in the future.
634 * pykickstart/options.py: Don't need this import anymore.
635 * pykickstart/parser.py: Rework string representation in String.
636 Create a new Packages class, even though it's not in use yet. Hack in
637 changes to the parser to make it basically work for now.
638 * pykickstart/version.py: Added initial symbolic version numbers.
640 * pykickstart/commands/__init__.py: Added.
641 * pykickstart/commands/base.py: Added base classes useful for all
643 * pykickstart/commands/fc5.py: Added first run at data and command
644 handling support for Fedora Core 5 syntax. Most of this used to be
645 in data.py, handlers.py, and writer.py
646 * pykickstart/commands/fc6.py: Added first run at data and command
647 handling support for Fedora Core 6 syntax. Most of this used to be in
648 data.py, handlers.py, and writer.py
651 * test.py: Added quick test harness.
653 2006-12-05 Chris Lumens <clumens@redhat.com>
657 * pykickstart/options.py (KSOptionParser.check_values): Check
658 introduced and removed attributes.
659 (KSOption): Add introduced and removed attributes.
661 * validator/ksvalidator: Update to work with new file structure.
664 - po/pykickstart.pot: Updated (#216620).
665 - pykickstart/errors.py: Update string formats to make translation
667 - pykickstart/handlers.py: Likewise.
668 - pykickstart/options.py: Likewise.
669 - pykickstart/handlers.py (KickstartHandlers.doIscsi): Use required
671 - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
672 Fix traceback (#218047, #218059).
673 - pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
674 - pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
677 2006-12-05 Chris Lumens <clumens@redhat.com>
679 * pykickstart.spec, setup.py: Bump version.
681 2006-12-04 Chris Lumens <clumens@redhat.com>
683 * pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
686 2006-12-01 Chris Lumens <clumens@redhat.com>
688 * pykickstart.spec, setup.py: Bump version.
690 * pykickstart/parser.py (KickstartHandlers.deprecatedCommands): Fix
691 traceback (#218047, #218059).
693 2006-11-30 Chris Lumens <clumens@redhat.com>
695 * pykickstart.spec, setup.py: Bump version.
697 2006-11-21 Chris Lumens <clumens@redhat.com>
699 * po/pykickstart.pot: Updated (#216620).
701 * pykickstart/parser.py: Update string formats to make translation
704 2006-11-14 Chris Lumens <clumens@redhat.com>
706 * pykickstart/parser.py (KickstartHandlers.doIscsi): Use required
709 2006-11-09 Chris Lumens <clumens@redhat.com>
711 * pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
713 2006-10-24 Chris Lumens <clumens@redhat.com>
718 - Makefile: Update to handle new release format.
719 - setup.py: New version.
720 - pykickstart.spec: Fix spec file to use %{?dist} in release.
721 - pykickstart/writer.py (KickstartWriter.doKey): Better way to
724 2006-10-24 Chris Lumens <clumens@redhat.com>
728 * pykickstart/__init__.py: Import new files by default.
729 * pykickstart/errors.py: Split out from parser.py.
730 * pykickstart/handlers.py: Split out from parser.py
731 * pykickstart/options.py: Split out from parser.py.
732 * pykickstart/parser.py: Updated for new files.
734 * validator/ksvalidator: Updated for new files.
736 2006-10-24 Chris Lumens <clumens@redhat.com>
738 * pykickstart.spec, setup.py: Bump version.
740 * Makefile: Fix for new Release format.
742 2006-10-17 Chris Lumens <clumens@redhat.com>
744 * pykickstart/writer.py: Add writer for key command.
746 2006-10-17 Jeremy Katz <katzj@redhat.com>
748 * pykickstart.spec, setup.py: Bump version.
750 * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
752 2006-10-16 Jeremy Katz <katzj@redhat.com>
754 * pykickstart.spec, setup.py: Bump version.
756 * pykickstart/parser.py (KickstartHandlers.doKey): Support for
758 * pykickstart/data.py (KickstartData.__init__): Likewise.
760 2006-10-13 Bill Nottingham <notting@redhat.com>
762 * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
763 eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
764 lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
765 ur.po, vi.po, zu.po: Use a valid charset (#210720)
767 * pykickstart.spec, setup.py: Bump version
770 2006-09-29 Chris Lumens <clumens@redhat.com>
772 * pykickstart.spec, setup.py: Bump version
774 * pykickstart/parser.py (KickstartHandlers.doMethod): Fix traceback
777 2006-09-25 Chris Lumens <clumens@redhat.com>
779 * pykickstart.spec, setup.py: Bump version
781 * pykickstart/parser.py (KickstartHandlers.doMethod): Add support for
782 --biospart option (#207585).
783 * pykickstart/writer.py (KickstartWriter.doMethod): Likewise.
785 * pykickstart/writer.py (KickstartWriter.doIscsi): Output new syntax.
786 (KickstartWriter.doZFCP): Likewise.
787 (KickstartWriter.doIscsiName): Added.
789 2006-09-20 Jeremy Katz <katzj@redhat.com>
791 * pykickstart.spec, setup.py: Bump version
793 * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
794 improved iscsi syntax. Also, allow multiple zfcp devs
795 * pykickstart/data.py: Likewise.
797 2006-07-13 Chris Lumens <clumens@redhat.com>
799 * pykickstart/data.py: Add noipv4 and noipv6 to KickstartNetworkData.
800 * pykickstart/parser.py (KickstartHandlers.doNetwork): Limit
801 bootproto choices to what anaconda can handle. Add support for
802 --noipv4 and --noipv6 options.
803 * pykickstart/writer.py (KickstartWriter.doNetwork): Write out new
806 2006-06-20 Chris Lumens <clumens@redhat.com>
808 * pykickstart.spec, setup.py: Bump version.
810 * pykickstart/writer.py (KickstartWriter.doIscsi): Add iscsi writer.
812 2006-06-20 Jeremy Katz <katzj@redhat.com>
814 * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
815 support. This syntax is likely to change but this makes testing
817 * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
819 2006-06-20 Chris Lumens <clumens@redhat.com>
821 * pykickstart/parser (KickstartHandlers.doRaid): Handle a RAID device
822 as an integer instead of a string (#176537).
824 2006-06-16 Jeremy Katz <katzj@redhat.com>
826 * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
828 2006-06-06 Chris Lumens <clumens@redhat.com>
830 * pykickstart.spec: Fix BuildRequires (#194156).
832 2006-05-25 Chris Lumens <clumens@redhat.com>
834 * pykickstart.spec, setup.py: Bump version.
836 2006-05-24 Chris Lumens <clumens@redhat.com>
838 * pykickstart/writer.py (KickstartWriter): Change order of LVM-related
841 2006-05-23 Chris Lumens <clumens@redhat.com>
843 * pykickstart.spec: Require urlgrabber now.
845 * po/*: Update translation files.
847 * pykickstart/parser.py (KickstartParser.handleCommand): Return a
848 more useful error message on unknown command.
850 * pykickstart/writer.py (KickstartWriter.doLogicalVolume): Fix typo.
852 * validator/ksvalidator: Accept a URL in addition to a file name.
854 2006-05-23 Chris Lumens <clumens@redhat.com>
856 * pykickstart/writer.py (KickstartWriter.doPackages): Don't write out
857 an empty packages section, since we may want this step to be
858 interactive (#192851).
860 2006-05-23 Chris Lumens <clumens@redhat.com>
862 * pykickstart.spec, setup.py: Bump version.
864 * pykickstart/writer.py (KickstartWriter.doFirewall): Rename --ports
867 2006-05-17 Peter Jones <pjones@redhat.com>
869 * pykickstart/parser.py: Add "multipath" command and doMultiPath
871 * pykickstart/data.py: Add kickstartMpPathData and
872 KickstartMultiPathData objects to handle multipath info, as well as
873 KickstartData.mpaths .
874 * pykickstart/writer.py: add doMultiPath
875 * docs/programmers-guide: add completely useless documentation for
876 multipath kickstart objects.
878 2006-05-15 Chris Lumens <clumens@redhat.com>
880 * pykickstart.spec, setup.py: Bump version.
882 * pykickstart/data.py (KickstartNetworkData): Add MTU (#191328).
883 * pykickstart/parser.py (KickstartHandlers.doNetwork): Likewise.
884 * pykickstart/writer.py (KickstartWriter.doNetwork): Likweise.
886 2006-05-10 Chris Lumens <clumens@redhat.com>
888 * pykickstart/parser.py (KickstartHandlers.doTimezone): Accept
889 --isUtc for backwards compatibility.
891 2006-05-04 Chris Lumens <clumens@redhat.com>
893 * pykickstart.spec, setup.py: Bump version.
895 2006-04-25 Chris Lumens <clumens@redhat.com>
897 * pykickstart/data.py (KickstartUserData): Added.
898 (KickstartData): Added lists for services and users.
899 * pykickstart/parser.py (KickstartParser.doServices,
900 KickstartParser.doUser): Add new command handlers.
901 Consolidate code to copy from option parsers to ksdata.
902 * pykickstart/writer.py (KickstartWriter.doServices,
903 KickstartParser.doUser): Add new command handlers.
905 2006-04-24 Chris Lumens <clumens@redhat.com>
907 * pykickstart/writer.py: More output formatting fixes.
909 2006-04-19 Chris Lumens <clumens@redhat.com>
911 * pykickstart/constants.py: Start CLEARPART_ constants at 0.
913 2006-04-17 Chris Lumens <clumens@redhat.com>
915 * pykickstart.spec, setup.py: Bump version.
917 2006-04-13 Chris Lumens <clumens@redhat.com>
919 * pykickstart/data.py (KickstartRepoData): Added.
920 (KickstartRaidData): Initialize members to a list instead of string.
921 (KickstartVolGroupData): Likewise.
922 * pykickstart/parser.py (KickstartHandlers.doRepo): Add options.
923 * pykickstart/writer.py (KickstartWriter.doRepo): Likewise.
924 (KickstartWriter.doPackages): Reorder package output. Output header
927 2006-04-11 Chris Lumens <clumens@redhat.com>
929 * pykickstart/parser.py (KickstartParser.addPackages): Ignore
930 whitespace before group names (#188095).
932 2006-03-27 Chris Lumens <clumens@redhat.com>
934 * pykickstart.spec, setup.py: Bump version.
936 * pykickstart/data.py (KickstartData.__init__): Add support for the
938 * pykickstart/writer.py (KickstartWriter.doLogging): Likewise.
939 (KickstartWriter.doRepo): Stub out funtion for the future.
940 * pykickstart/parser.py (KickstartHandlers.doLogging): Likewise.
941 (KickstartHandlers.doRepo): Stub out function for the future.
943 2006-03-27 Chris Lumens <clumens@redhat.com>
945 * pykickstart.spec, setup.py: Bump version.
947 * pykickstart/writer.py (KickstartWriter.doXConfig): Don't write out
948 a blank xconfig line.
950 2006-03-13 Chris Lumens <clumens@redhat.com>
952 * pykickstart/writer.py (KickstartWriter.__init__): Reorder output
955 2006-03-07 Chris Lumens <clumens@redhat.com>
957 * pykickstart.spec, setup.py: Bump version.
959 * pykickstart/parser.py (KickstartHandlers.doZeroMbr): Backwards
960 compatibility support for options to zerombr.
962 2006-02-24 Chris Lumens <clumens@redhat.com>
964 * pykickstart.spec, setup.py: Bump version.
966 * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk): Get ksdata
967 from the correct option parser variable (#182934).
969 2006-02-17 Chris Lumens <clumens@redhat.com>
971 * pykickstart.spec, setup.py: Bump version.
973 2006-02-16 Chris Lumens <clumens@redhat.com>
975 * docs/programmers-guide: Update documentation.
977 * pykickstart/parser.py: Provide an option to not traceback if an
978 included file is not present. This should have very limited
979 usefulness. (#181760).
980 * pykickstart/parser.py (KSOptionParser.check_values): Typos.
982 2006-02-13 Chris Lumens <clumens@redhat.com>
984 * pykickstart.spec, setup.py: Bump version.
986 * pykickstart/parser.py: Don't trust ensure_value in complicated
987 cases in callbacks, as it wasn't setting values.
989 2006-02-13 Chris Lumens <clumens@redhat.com>
991 * pykickstart.spec, setup.py: Bump version.
993 * pykickstart/writer.py (KickstartWriter.doNetwork): --onboot
994 requires a value (#180987).
996 2006-02-10 Chris Lumens <clumens@redhat.com>
998 * pykickstart/parser.py: Be more strict about commands that don't
1001 2006-02-09 Chris Lumens <clumens@redhat.com>
1003 * pykickstart.spec, setup.py: Bump version.
1005 * pykickstart/parser.py, pykickstart/writer.py: Fix pychecker
1008 * pykickstart/parser.py (KSOption): Condense all those option classes
1011 * pykickstart/parser.py (KickstartParser.readKickstart): Allow
1012 exceptions to not be fatal so ksvalidator can report multiple
1013 problems in one pass.
1014 (KickstartHandlers.deprecatedCommand): Add line number to message.
1015 (KSOptionParser.check_values): Make deprecated option message more
1018 * validator/ksvalidator: Default to not following include files and
1019 to not halting on the first error. Add options to change this
1022 2006-02-08 Chris Lumens <clumens@redhat.com>
1024 * pykickstart/parser.py (KickstartHandlers.doRaid): --level is not
1025 strictly required since we should be able to infer it from
1028 2006-02-01 Chris Lumens <clumens@redhat.com>
1030 * pykickstart.spec, setup.py: Bump version.
1032 * pykickstart/parser.py (KickstartHandlers.doVnc): No default port.
1034 2006-01-31 Chris Lumens <clumens@redhat.com>
1036 * pykickstart.spec, setup.py: Bump version.
1038 * pykickstart.py/writer.py (KickstartWriter.doDmRaid): Add an initial
1040 (KickstartWriter.doPartition): Handle None on partition size.
1042 2006-01-30 Chris Lumens <clumens@redhat.com>
1044 * pykickstart.spec, setup.py: Bump version.
1046 * pykickstart/parser.py (KickstartHandlers.doVnc): Fix connecting to
1047 a remote viewer. Deprecate --connect, and add --host and --port as
1048 the new preferred way (#179209).
1050 2006-01-19 Chris Lumens <clumens@redhat.com>
1052 * pykickstart.spec, setup.py: Bump version.
1054 2006-01-13 Chris Lumens <clumens@redhat.com>
1056 * pykickstart/constants.py: Add constants for the various
1057 reboot/shutdown actions.
1058 * pykickstart/data.py: Add support for --eject on reboot.
1059 * pykickstart/parser.py: Likewise.
1060 * pykickstart/writer.py: Likewise.
1062 2006-01-04 Chris Lumens <clumens@redhat.com>
1064 * pykickstart/data.py: Finish removing monitor information.
1065 * pykickstart/writer.py: Clean up output quoting a bit.
1067 2005-12-12 Chris Lumens <clumens@redhat.com>
1069 * pykickstart/data.py: Remove monitor information from xconfig.
1070 * pykickstart/parser.py: Remove monitor configuration from xconfig,
1071 move --noprobe option to monitor keyword.
1072 * pykickstart/writer.py: Likewise.
1074 2005-12-08 Chris Lumens <clumens@redhat.com>
1076 * pykickstart/data.py: Support bytesPerInode on RAID
1077 (Curtis Doty <Curtis at GreenKey.net> #175288).
1078 * pykickstart/parser.py: Likewise.
1079 * pykickstart/writer.py: Likewise.
1081 2005-11-03 Chris Lumens <clumens@redhat.com>
1083 * pykickstart.spec: Bump version.
1085 * pykickstart/data.py: Default to SELINUX_ENFORCING.
1086 anaconda expects partition sizes to start at None as --size=0 --grow
1087 is an acceptable combination (#172378).
1089 * pykickstart/parser.py: Don't call shlex.split on anything inside a
1092 2005-11-01 Chris Lumens <clumens@redhat.com>
1094 * pykickstart.spec: Bump version.
1096 * pykickstart/parser.py (KickstartHandlers.doVnc): --connect is not
1097 required as it may be provided to anaconda on the command line
1099 (KickstartHandlers.doNetwork): --onboot takes no options.
1100 * pykickstart/writer.py (doFirewall): Remove extra spaces. Write out
1101 --<service> options if ports are set.
1103 2005-10-28 Chris Lumens <clumens@redhat.com>
1105 * pykickstart/writer.py (KickstartWriter.doClearPart): Fix --all
1108 2005-10-28 Chris Lumens <clumens@redhat.com>
1110 * pykickstart.spec: Bump version.
1112 * docs/programmers-guide: Add documentation for error reporting.
1113 * pykickstart/parser.py: Add --resolvedeps and --includedeps as
1114 deprecated options to %packages. Pass line number to handlePackageHdr
1115 and handleScriptHdr.
1117 2005-10-24 Chris Lumens <clumens@redhat.com>
1119 * pykickstart.spec: Bump version.
1121 * pykickstart/parser.py: Report the line number on exceptions.
1122 * validator/ksvalidator: Added a stand-alone program to validate
1125 2005-10-19 Chris Lumens <clumens@redhat.com>
1127 * pykickstart.spec: Bump version.
1129 2005-10-18 Chris Lumens <clumens@redhat.com>
1131 * pykickstart/parser.py: Correct deprecated attribute so warnings are
1132 thrown when a deprecated option is seen, not when it's defined.
1134 2005-10-17 Chris Lumens <clumens@redhat.com>
1136 * docs/programmers-guide: Added documentation for extending and
1137 programming with pykickstart.
1139 2005-10-13 Chris Lumens <clumens@redhat.com>
1141 * pykickstart.spec: Correct python lib directory on 64-bit archs
1142 (#170621). Bump build.
1144 2005-10-07 Chris Lumens <clumens@redhat.com>
1146 * pykickstart/constants.py: Add types for scripts.
1147 * pykickstart/data.py: Collapse scripts into a single list.
1148 * pykickstart/parser.py: Likewise. Also, fix script printing.
1149 * pykickstart/writer.py: Likewise. Also, rename class to
1152 2005-10-06 Chris Lumens <clumens@redhat.com>
1154 * pykickstart/parser.py (DeprecatedOption): Add a "deprecated"
1155 attribute so options can be marked as such.
1156 (KickstartHandlers): Change how deprecated commands are printed. Add
1157 --card back to the xconfig command as a deprecated option.
1159 2005-10-05 Chris Lumens <clumens@redhat.com>
1161 * pykickstart/data.py: Rename classes to be consistent with the rest
1162 of the module. Add default bytesPerInode to partition objects.
1164 2005-10-05 Chris Lumens <clumens@redhat.com>
1166 * Imported contents from anaconda.