1 2007-02-21 Chris Lumens <clumens@redhat.com>
3 * pykickstart.spec, setup.py: New version.
5 2007-02-21 Chris Lumens <clumens@redhat.com>
7 * pykickstart/base (BaseHandler._registerCommands): Fix reference to
8 cMap and dMap in non-default case (#229505).
10 2007-02-20 Chris Lumens <clumens@redhat.com>
12 * pykickstart.spec, setup.py: New version.
14 2007-02-20 Chris Lumens <clumens@redhat.com>
16 * pykickstart/parser.py (Group): Added an object for dealing with
17 extended group syntax.
18 (Packages._processGroup): Add a new function to handle the extended
21 * pykickstart/constants.py: New group selection constants.
23 * pykickstart/handlers/control.py (dataMap): Add a mapping for data
26 * pykickstart/base.py (BaseHandler._registerCommands): Add attributes
27 on the handler for the data objects.
29 2007-02-19 Chris Lumens <clumens@redhat.com>
31 * pykickstart/base.py (BaseHandler.maskAllExcept): Renamed from
33 (BaseHandler.__init__): Accept a mapping argument in the format of
34 what's in pykickstart.handlers.control, for when you're overriding all
35 the handlers with your own versions.
37 * pykickstart/commands/langsupport.py (FC3_LangSupport.__str__): Add
40 * pykickstart/commands/reboot.py: Provide a default return value in
41 the __str__ methods to fix a traceback.
43 2007-02-19 Chris Lumens <clumens@redhat.com>
45 * pykickstart/commands/*.py: All command objects now have an
46 underscore between the version part and the name for ease of
48 * pykickstart/handlers/control.py (commandMap): Likewise.
50 * pykickstart/base.py (BaseHandler._setCommand): Strip version part
51 from name before creating the attribute.
53 * pykickstart/version.py (versionToString): Added a method to convert
54 version numbers back into strings, which is needed for the above
57 2007-02-19 Chris Lumens <clumens@redhat.com>
59 * pykickstart/base.py: Moved here from pykickstart/commands and adapt
62 * pykickstart/version.py: Accept short forms of version strings again
63 and adapt to new layout.
65 * pykickstart/commands/*.py: Broke each command out into its own file
66 and put all the versions of that command handler together. Idea and
67 mock up from Peter Jones (<pjones AT redhat.com>).
69 * pykickstart/handlers/*.py: Moved handlers into their own directory.
71 * pykickstart/handlers/control.py: Add a file laying out which
72 commands are supported by each version and exactly where they can be
73 found. This should help readability of the code quite a bit.
75 2007-02-14 Chris Lumens <clumens@redhat.com>
77 * pykickstart.spec, setup.py: New version.
79 2007-02-14 Chris Lumens <clumens@redhat.com>
81 * pykickstart/parser.py (KickstartParser.__init__): Don't need to
82 take a version argument since the Parser can get that from the
85 * validator/ksvalidator: KickstartParser no longer takes a version
88 * pykickstart/version.py (stringToVersion): Be more lenient in what
89 strings we accept to take into account RHEL variants.
91 2007-02-08 Chris Lumens <clumens@redhat.com>
93 * pykickstart/parser.py (KickstartParser._reset): Add a method to
94 reset the state machine state and call it from __init__. Also call it
95 from readKickstart and readKickstartFromString except in the special
96 case of included files. This allows calling the parser multiple times
97 with the same data objects for file inheritance/overriding.
99 2007-02-07 Chris Lumens <clumens@redhat.com>
101 * pykickstart.spec, setup.py: New version.
103 2007-02-06 Chris Lumens <clumens@redhat.com>
105 * pykickstart/commands/f7.py (F7Handler.Key.__str__): Add a newline.
106 * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__): Likewise.
108 * pykickstart/constants.py: Add network bootproto constants (#197694).
109 * pykickstart/commands/fc3.py: Use new network constants.
110 * pykickstart/commands/fc4.py: Likewise.
111 * pykickstart/commands/fc6.py: Likewise.
112 * pykickstart/commands/rhel4.py: Likewise.
114 2007-02-01 Chris Lumens <clumens@redhat.com>
116 * pykickstart/commands/fc4.py: Fix tracebacks in subclass __str__
118 * pykickstart/commands/rhel4.py: Likewise.
120 2007-01-31 Chris Lumens <clumens@redhat.com>
122 * pykickstart.spec: Modified to more closely match the extras
123 packaging guidelines.
125 2007-01-25 Chris Lumens <clumens@redhat.com>
127 * pykickstart.spec, setup.py: New version.
129 2007-01-24 Chris Lumens <clumens@redhat.com>
131 * pykickstart/commands/fc3.py: Added.
132 * pykickstart/commands/fc4.py: Move basic commands and data back to
135 * pykickstart/commands/rhel4.py: Added.
137 * pykickstart/version.py: Add support for FC3 and RHEL4.
139 * pykickstart/commands/fc4.py (FC4Handler.__init__): Use
140 overrideCommand instead of registerCommand.
141 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
142 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
144 2007-01-24 Chris Lumens <clumens@redhat.com>
146 * pykickstart/commands/fc6.py (FC6Handler.Key): FC6 didn't support
148 * pykickstart/commands/f7.py (F7Handler.Key): The key command was
149 added just after FC6 came out.
151 * pykickstart/commands/rhel5.py: Added.
153 * pykickstart/version.py: Add support for RHEL5. Be more permissive
154 in what sorts of strings we map to version numbers. Fix pychecker
157 2007-01-19 Chris Lumens <clumens@redhat.com>
159 * pykickstart.spec, setup.py: New version.
161 2007-01-19 Chris Lumens <clumens@redhat.com>
163 * pykickstart/errors.py (KickstartVersionError): This should just
164 take a message like all the other exception classes.
165 * pykickstart/version.py: Pass a message to KickstartVersionError.
167 * pykickstart/commands/base.py (BaseHandler.__init__): Add a version
168 attribute so we no longer have to compare class names.
169 * pykickstart/commands/f7.py (F7Handler.__init__): Likewise.
170 * pykickstart/commands/fc4.py (FC4Handler.__init__): Likewise.
171 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
172 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
174 * pykickstart/parser.py (KickstartParser.__init__): Fix test for
175 matching version numbers now that handlers know what version they are.
177 2007-01-18 Chris Lumens <clumens@redhat.com>
179 * pykickstart/commands/fc4.py: KSOptionParser's lineno argument needs
181 * pykickstart/commands/fc5.py: Likewise.
182 * pykickstart/commands/fc6.py: Likewise.
184 2007-01-18 Chris Lumens <clumens@redhat.com>
186 * pykickstart/commands/base.py (BaseHandler.unregisterCommand): Add a
187 method to remove support for a command from a Handler instance.
189 * pykickstart/version.py: Add support for the F7 version.
190 * pykickstart/commands/f7.py: Add a devel version that removes the
191 deprecated langsupport and mouse commands.
193 * pykickstart/options.py (KSOptionParser.__init__): Move call to
194 superclass __init__ to where it belongs.
195 (KSOptionParser.check_values): Deprecated should be a flag, not a
198 * pykickstart/parser.py (Packages): Accept a --default argument to
199 specify that the default package set should be installed (#221305).
200 (KickstartParser.handlePackageHdr): Likewise.
201 (KickstartParser.__init__): KickstartParser needs to accept a version
204 * validator/ksvalidator: Pass the version to KickstartParser.
206 2007-01-17 Chris Lumens <clumens@redhat.com>
208 * pykickstart.spec, setup.py: New version.
210 2007-01-16 Chris Lumens <clumens@redhat.com>
212 * pykickstart/parser.py (KickstartParser.readKickstartFromString):
213 Add a method to read a kickstart file from a string, in addition to
214 the one that's already there for reading from a file.
216 2007-01-16 Chris Lumens <clumens@redhat.com>
218 * pykickstart.spec, setup.py: New version, finally.
220 2007-01-16 Chris Lumens <clumens@redhat.com>
222 * pykickstart/parser.py (Script.__str__): Write out --interpreter
223 since that's what the parser expects (#222877).
225 * pykickstart/commands/fc4.py: Fix exception error messages.
227 2007-01-15 Chris Lumens <clumens@redhat.com>
229 * pykickstart/commands/base.py (BaseHandler.empty): Add a method to
230 empty out the contents of the commands dict.
232 * pykickstart/commands/fc4.py (BaseHandler.Upgrade): Only set upgrade
233 if that's what the current command is.
234 (BaseHandler.RootPw): rootpw -> password
236 2007-01-15 Chris Lumens <clumens@redhat.com>
238 * pykickstart/version.py (returnClassForVersion): Take a default
240 (returnClassForVersion): Rename Version to Handler.
242 * pykickstart/parser.py: Rename kshandlers to handler.
244 * pykickstart/commands/base.py: Rename BaseVersion to BaseHandler,
245 registerHandler to registerCommand, and self.dispatcher to
247 * pykickstart/commands/fc4.py: Likewise.
248 * pykickstart/commands/fc5.py: Likewise.
249 * pykickstart/commands/fc6.py: Likewise.
251 2007-01-12 Chris Lumens <clumens@redhat.com>
253 * pykickstart/commands/base.py (BaseVersion.overrideHandler): Provide
254 a way to create a new instance of the handler and have it used. This
255 allows a shortcut for wiping out all the attributes on an instance.
256 (BaseVersion.__str__): Newline after the platform is written.
258 * pykickstart/commands/base.py (KickstartCommand.__init__): Add the
259 dispatcher setting back in.
261 2007-01-12 Chris Lumens <clumens@redhat.com>
263 * pykickstart/commands/base.py (BaseVersion._insertSorted): When a
264 subclass of BaseVersion registers a handler that already exists from a
265 class higher up the chain, remove the existing handler in favor of the
268 * pykickstart/commands/fc4.py: Put writePriority defaults in the
269 default arguments to command objects instead of in the calls to
270 creating them, as that didn't work for subclasses. Also change how
271 we handle default arguments that are lists.
272 * pykickstart/commands/fc5.py: Likewise.
273 * pykickstart/commands/fc6.py: Likewise.
275 2007-01-11 Chris Lumens <clumens@redhat.com>
277 * pykickstart/commands/fc5.py (RaidData, Raid): Make these classes
278 subclass the ones in FC4Version, to the extent that can be done.
279 * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
282 * pykickstart/parser.py (Script.__str__): Fix Script printing.
284 * pykickstart/commands/fc6.py (FC6Version.Method): Fix test for opts
287 2007-01-10 Chris Lumens <clumens@redhat.com>
289 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
290 dispatcher setting so command classes can still access data classes.
291 (BaseVersion.registerHandler): Don't overwrite command classes with
292 an instance in the version object.
294 * pykickstart/commands/fc4.py: Data and command classes are now
295 nested inside the version class.
296 * pykickstart/commands/fc5.py: Likewise.
297 * pykickstart/commands/fc6.py: Likewise.
299 2007-01-10 Chris Lumens <clumens@redhat.com>
301 * pykickstart/version.py (makeVersion): Default to DEVEL.
303 * pykickstart/commands/fc4.py: Command -> KS for brevity.
304 * pykickstart/commands/fc5.py: Likewise.
305 * pykickstart/commands/fc6.py: Likewise.
307 2007-01-09 Chris Lumens <clumens@redhat.com>
309 * pykickstart/po/*: Updated translations.
311 * pykickstart/commands/*.py: Rename everything from Handler to
312 Version, as that seems to make more sense.
313 * pykickstart/options.py: Likewise.
314 * pykickstart/parser.py: Likewise.
315 * pykickstart/version.py: Likewise.
316 * ksvalidator/validator: Likewise.
318 2007-01-09 Chris Lumens <clumens@redhat.com>
320 * Merge in multiversion-branch (#189348).
322 2007-01-08 Chris Lumens <clumens@redhat.com>
326 * Merge from HEAD: Updated translations.
328 2007-01-03 Chris Lumens <clumens@redhat.com>
332 * pykickstart/commands/base.py (BaseHandler.hasHandler): Add a
333 convenience method to see if there's a handler for a given command.
335 2006-12-22 Chris Lumens <clumens@redhat.com>
339 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
340 writePriority parameter to control the order commands get written out
341 when __str__ methods are called.
342 (BaseHandler.__str__): Take writePriorities into account.
343 (BaseHandler.registerHandler): Insert command handlers into the
344 _writePriority dict in the correct order - first by priority, then
345 alphabetically within that priority.
347 * pykickstart/commands/fc4.py: Add new writePriority parameter.
348 * pykickstart/commands/fc6.py: Likewise.
350 2006-12-22 Chris Lumens <clumens@redhat.com>
354 * pykickstart/commands/fc6.py: Added multipath support back in.
356 * pykickstart/commands/base.py (BaseData): Added a superclass for all
357 those Kickstart*Data objects.
358 * pykickstart/commands/fc4.py: Use BaseData.
359 * pykickstart/commands/fc6.py: Likewise.
361 * pykickstart/commands/base.py: Clarify API for subclasses a little
362 bit. Make KickstartCommand.__str__ an abstract method. Add
363 DeprecatedCommand.__str__.
365 2006-12-20 Chris Lumens <clumens@redhat.com>
369 * pykickstart/commands/fc4.py (CommandReboot.__str__): Fix output
372 * Merge from HEAD: Updated translations.
374 2006-12-20 Chris Lumens <clumens@redhat.com>
378 * pykickstart/__init__.py: Clear this out.
380 * pykickstart/errors.py: Add __doc__ strings to all classes and
382 * pykickstart/options.py: Likewise.
383 * pykickstart/version.py: Likewise.
384 * pykickstart/commands/base.py: Likewise.
386 * pykickstart/parser.py: Add __doc__ strings to all classes and
387 public methods. Privatize attributes in KickstartParser that don't
390 * pykickstart/commands/fc4.py (FC4Handler.__init__): _registerHandler
391 is no longer private.
392 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
393 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
395 * docs/programmers-guide: Remove stuff that's now duplicated by
398 2006-12-20 Chris Lumens <clumens@redhat.com>
400 * po/nb.po: Update from rhel5-branch.
402 2006-12-19 Chris Lumens <clumens@redhat.com>
406 * pykickstart/commands/base.py (KickstartCommand.__call__): Add a
407 function to set all the attributes of a command object at once.
408 (BaseHandler._registerHandler): Don't need to do so much goofy stuff
409 to register a command handler anymore.
411 * pykickstart/version.py (returnClassForVersion): Add a function to
412 return the class matching a given kickstart syntax version. This does
413 not return an instance of that class.
415 * Makefile: Add pykickstart/commands/*.pyc to what gets cleaned.
417 * setup.py: Package up commands as well.
419 * test.py: This isn't needed anymore.
421 2006-12-19 Chris Lumens <clumens@redhat.com>
425 * pykickstart/commands/fc4.py: Add named arguments to __init__
426 functions for all command handlers.
427 * pykickstart/commands/fc6.py: Likewise.
429 * pykickstart/commands/fc4.py: Various minor fixes to default
430 arguments and __str__ methods throughout.
432 2006-12-15 Chris Lumens <clumens@redhat.com>
434 * pykickstart.spec, setup.py: Bump version (only translations have
435 changed since the last rebuild - #216620).
437 2006-12-12 Chris Lumens <clumens@redhat.com>
441 * pykickstart/commands/fc4.py (CommandLang): Add lang attribute.
443 * pykickstart/commands/fc5.py (FC5Handler): Import from the
446 2006-12-11 Chris Lumens <clumens@redhat.com>
450 * pykickstart/commands/fc4.py: Added first run at data and command
451 handling support for Fedora Core 4.
453 * pykickstart/commands/fc4.py (KickstartLogVolData,
454 KickstartNetworkData, KickstartPartData, KickstartRaidData,
455 KickstartVolGroupData, KickstartZFCPData): Add named arguments to
456 __init__ functions to make creating objects programatically easier.
457 * pykickstart/commands/fc6.py (KickstartDmRaidData,
458 KickstartIscsiData, KickstartRepoData, KickstartUserData): Likewise.
460 2006-12-11 Chris Lumens <clumens@redhat.com>
464 * validator/ksvalidator: Update to handle multiple versions.
466 * pykickstart/parser.py (Packages.add): Move Parser.addPackages here
467 since this seems like a sensible method for the Packages object to
470 * pykickstart/version.py (makeHandler): Add a function to create the
471 right handler for a given syntax version.
472 (stringToVersion): Add a function to convert string versions into
475 * pykickstart/commands/base.py: Need to import errors here.
477 2006-12-11 Chris Lumens <clumens@redhat.com>
481 * pykickstart/options.py (KSOptionParser.check_values): Use
482 self.lineno instead of lineno.
484 * pykickstart/parser.py: Set packages, scripts, and platform on the
487 * pykickstart/commands/base.py (BaseHandler.__init__): This looks
488 like the best place to add packages, scripts, and platform.
489 (BaseHandler.__str__): Write out the whole ks file, though we still
490 need to get commands in the right order.
492 * Merge from HEAD: Updated translations.
494 2006-12-08 Chris Lumens <clumens@redhat.com>
498 * pykickstart/data.py: Removed.
499 * pykickstart/handlers.py: Removed.
500 * pykickstart/writer.py: Removed.
502 * pykickstart/__init__.py: Updated.
503 * pykickstart/errors.py (KickstartVersionError): Add a new exception
504 that will be useful in the future.
505 * pykickstart/options.py: Don't need this import anymore.
506 * pykickstart/parser.py: Rework string representation in String.
507 Create a new Packages class, even though it's not in use yet. Hack in
508 changes to the parser to make it basically work for now.
509 * pykickstart/version.py: Added initial symbolic version numbers.
511 * pykickstart/commands/__init__.py: Added.
512 * pykickstart/commands/base.py: Added base classes useful for all
514 * pykickstart/commands/fc5.py: Added first run at data and command
515 handling support for Fedora Core 5 syntax. Most of this used to be
516 in data.py, handlers.py, and writer.py
517 * pykickstart/commands/fc6.py: Added first run at data and command
518 handling support for Fedora Core 6 syntax. Most of this used to be in
519 data.py, handlers.py, and writer.py
522 * test.py: Added quick test harness.
524 2006-12-05 Chris Lumens <clumens@redhat.com>
528 * pykickstart/options.py (KSOptionParser.check_values): Check
529 introduced and removed attributes.
530 (KSOption): Add introduced and removed attributes.
532 * validator/ksvalidator: Update to work with new file structure.
535 - po/pykickstart.pot: Updated (#216620).
536 - pykickstart/errors.py: Update string formats to make translation
538 - pykickstart/handlers.py: Likewise.
539 - pykickstart/options.py: Likewise.
540 - pykickstart/handlers.py (KickstartHandlers.doIscsi): Use required
542 - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
543 Fix traceback (#218047, #218059).
544 - pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
545 - pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
548 2006-12-05 Chris Lumens <clumens@redhat.com>
550 * pykickstart.spec, setup.py: Bump version.
552 2006-12-04 Chris Lumens <clumens@redhat.com>
554 * pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
557 2006-12-01 Chris Lumens <clumens@redhat.com>
559 * pykickstart.spec, setup.py: Bump version.
561 * pykickstart/parser.py (KickstartHandlers.deprecatedCommands): Fix
562 traceback (#218047, #218059).
564 2006-11-30 Chris Lumens <clumens@redhat.com>
566 * pykickstart.spec, setup.py: Bump version.
568 2006-11-21 Chris Lumens <clumens@redhat.com>
570 * po/pykickstart.pot: Updated (#216620).
572 * pykickstart/parser.py: Update string formats to make translation
575 2006-11-14 Chris Lumens <clumens@redhat.com>
577 * pykickstart/parser.py (KickstartHandlers.doIscsi): Use required
580 2006-11-09 Chris Lumens <clumens@redhat.com>
582 * pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
584 2006-10-24 Chris Lumens <clumens@redhat.com>
589 - Makefile: Update to handle new release format.
590 - setup.py: New version.
591 - pykickstart.spec: Fix spec file to use %{?dist} in release.
592 - pykickstart/writer.py (KickstartWriter.doKey): Better way to
595 2006-10-24 Chris Lumens <clumens@redhat.com>
599 * pykickstart/__init__.py: Import new files by default.
600 * pykickstart/errors.py: Split out from parser.py.
601 * pykickstart/handlers.py: Split out from parser.py
602 * pykickstart/options.py: Split out from parser.py.
603 * pykickstart/parser.py: Updated for new files.
605 * validator/ksvalidator: Updated for new files.
607 2006-10-24 Chris Lumens <clumens@redhat.com>
609 * pykickstart.spec, setup.py: Bump version.
611 * Makefile: Fix for new Release format.
613 2006-10-17 Chris Lumens <clumens@redhat.com>
615 * pykickstart/writer.py: Add writer for key command.
617 2006-10-17 Jeremy Katz <katzj@redhat.com>
619 * pykickstart.spec, setup.py: Bump version.
621 * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
623 2006-10-16 Jeremy Katz <katzj@redhat.com>
625 * pykickstart.spec, setup.py: Bump version.
627 * pykickstart/parser.py (KickstartHandlers.doKey): Support for
629 * pykickstart/data.py (KickstartData.__init__): Likewise.
631 2006-10-13 Bill Nottingham <notting@redhat.com>
633 * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
634 eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
635 lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
636 ur.po, vi.po, zu.po: Use a valid charset (#210720)
638 * pykickstart.spec, setup.py: Bump version
641 2006-09-29 Chris Lumens <clumens@redhat.com>
643 * pykickstart.spec, setup.py: Bump version
645 * pykickstart/parser.py (KickstartHandlers.doMethod): Fix traceback
648 2006-09-25 Chris Lumens <clumens@redhat.com>
650 * pykickstart.spec, setup.py: Bump version
652 * pykickstart/parser.py (KickstartHandlers.doMethod): Add support for
653 --biospart option (#207585).
654 * pykickstart/writer.py (KickstartWriter.doMethod): Likewise.
656 * pykickstart/writer.py (KickstartWriter.doIscsi): Output new syntax.
657 (KickstartWriter.doZFCP): Likewise.
658 (KickstartWriter.doIscsiName): Added.
660 2006-09-20 Jeremy Katz <katzj@redhat.com>
662 * pykickstart.spec, setup.py: Bump version
664 * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
665 improved iscsi syntax. Also, allow multiple zfcp devs
666 * pykickstart/data.py: Likewise.
668 2006-07-13 Chris Lumens <clumens@redhat.com>
670 * pykickstart/data.py: Add noipv4 and noipv6 to KickstartNetworkData.
671 * pykickstart/parser.py (KickstartHandlers.doNetwork): Limit
672 bootproto choices to what anaconda can handle. Add support for
673 --noipv4 and --noipv6 options.
674 * pykickstart/writer.py (KickstartWriter.doNetwork): Write out new
677 2006-06-20 Chris Lumens <clumens@redhat.com>
679 * pykickstart.spec, setup.py: Bump version.
681 * pykickstart/writer.py (KickstartWriter.doIscsi): Add iscsi writer.
683 2006-06-20 Jeremy Katz <katzj@redhat.com>
685 * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
686 support. This syntax is likely to change but this makes testing
688 * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
690 2006-06-20 Chris Lumens <clumens@redhat.com>
692 * pykickstart/parser (KickstartHandlers.doRaid): Handle a RAID device
693 as an integer instead of a string (#176537).
695 2006-06-16 Jeremy Katz <katzj@redhat.com>
697 * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
699 2006-06-06 Chris Lumens <clumens@redhat.com>
701 * pykickstart.spec: Fix BuildRequires (#194156).
703 2006-05-25 Chris Lumens <clumens@redhat.com>
705 * pykickstart.spec, setup.py: Bump version.
707 2006-05-24 Chris Lumens <clumens@redhat.com>
709 * pykickstart/writer.py (KickstartWriter): Change order of LVM-related
712 2006-05-23 Chris Lumens <clumens@redhat.com>
714 * pykickstart.spec: Require urlgrabber now.
716 * po/*: Update translation files.
718 * pykickstart/parser.py (KickstartParser.handleCommand): Return a
719 more useful error message on unknown command.
721 * pykickstart/writer.py (KickstartWriter.doLogicalVolume): Fix typo.
723 * validator/ksvalidator: Accept a URL in addition to a file name.
725 2006-05-23 Chris Lumens <clumens@redhat.com>
727 * pykickstart/writer.py (KickstartWriter.doPackages): Don't write out
728 an empty packages section, since we may want this step to be
729 interactive (#192851).
731 2006-05-23 Chris Lumens <clumens@redhat.com>
733 * pykickstart.spec, setup.py: Bump version.
735 * pykickstart/writer.py (KickstartWriter.doFirewall): Rename --ports
738 2006-05-17 Peter Jones <pjones@redhat.com>
740 * pykickstart/parser.py: Add "multipath" command and doMultiPath
742 * pykickstart/data.py: Add kickstartMpPathData and
743 KickstartMultiPathData objects to handle multipath info, as well as
744 KickstartData.mpaths .
745 * pykickstart/writer.py: add doMultiPath
746 * docs/programmers-guide: add completely useless documentation for
747 multipath kickstart objects.
749 2006-05-15 Chris Lumens <clumens@redhat.com>
751 * pykickstart.spec, setup.py: Bump version.
753 * pykickstart/data.py (KickstartNetworkData): Add MTU (#191328).
754 * pykickstart/parser.py (KickstartHandlers.doNetwork): Likewise.
755 * pykickstart/writer.py (KickstartWriter.doNetwork): Likweise.
757 2006-05-10 Chris Lumens <clumens@redhat.com>
759 * pykickstart/parser.py (KickstartHandlers.doTimezone): Accept
760 --isUtc for backwards compatibility.
762 2006-05-04 Chris Lumens <clumens@redhat.com>
764 * pykickstart.spec, setup.py: Bump version.
766 2006-04-25 Chris Lumens <clumens@redhat.com>
768 * pykickstart/data.py (KickstartUserData): Added.
769 (KickstartData): Added lists for services and users.
770 * pykickstart/parser.py (KickstartParser.doServices,
771 KickstartParser.doUser): Add new command handlers.
772 Consolidate code to copy from option parsers to ksdata.
773 * pykickstart/writer.py (KickstartWriter.doServices,
774 KickstartParser.doUser): Add new command handlers.
776 2006-04-24 Chris Lumens <clumens@redhat.com>
778 * pykickstart/writer.py: More output formatting fixes.
780 2006-04-19 Chris Lumens <clumens@redhat.com>
782 * pykickstart/constants.py: Start CLEARPART_ constants at 0.
784 2006-04-17 Chris Lumens <clumens@redhat.com>
786 * pykickstart.spec, setup.py: Bump version.
788 2006-04-13 Chris Lumens <clumens@redhat.com>
790 * pykickstart/data.py (KickstartRepoData): Added.
791 (KickstartRaidData): Initialize members to a list instead of string.
792 (KickstartVolGroupData): Likewise.
793 * pykickstart/parser.py (KickstartHandlers.doRepo): Add options.
794 * pykickstart/writer.py (KickstartWriter.doRepo): Likewise.
795 (KickstartWriter.doPackages): Reorder package output. Output header
798 2006-04-11 Chris Lumens <clumens@redhat.com>
800 * pykickstart/parser.py (KickstartParser.addPackages): Ignore
801 whitespace before group names (#188095).
803 2006-03-27 Chris Lumens <clumens@redhat.com>
805 * pykickstart.spec, setup.py: Bump version.
807 * pykickstart/data.py (KickstartData.__init__): Add support for the
809 * pykickstart/writer.py (KickstartWriter.doLogging): Likewise.
810 (KickstartWriter.doRepo): Stub out funtion for the future.
811 * pykickstart/parser.py (KickstartHandlers.doLogging): Likewise.
812 (KickstartHandlers.doRepo): Stub out function for the future.
814 2006-03-27 Chris Lumens <clumens@redhat.com>
816 * pykickstart.spec, setup.py: Bump version.
818 * pykickstart/writer.py (KickstartWriter.doXConfig): Don't write out
819 a blank xconfig line.
821 2006-03-13 Chris Lumens <clumens@redhat.com>
823 * pykickstart/writer.py (KickstartWriter.__init__): Reorder output
826 2006-03-07 Chris Lumens <clumens@redhat.com>
828 * pykickstart.spec, setup.py: Bump version.
830 * pykickstart/parser.py (KickstartHandlers.doZeroMbr): Backwards
831 compatibility support for options to zerombr.
833 2006-02-24 Chris Lumens <clumens@redhat.com>
835 * pykickstart.spec, setup.py: Bump version.
837 * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk): Get ksdata
838 from the correct option parser variable (#182934).
840 2006-02-17 Chris Lumens <clumens@redhat.com>
842 * pykickstart.spec, setup.py: Bump version.
844 2006-02-16 Chris Lumens <clumens@redhat.com>
846 * docs/programmers-guide: Update documentation.
848 * pykickstart/parser.py: Provide an option to not traceback if an
849 included file is not present. This should have very limited
850 usefulness. (#181760).
851 * pykickstart/parser.py (KSOptionParser.check_values): Typos.
853 2006-02-13 Chris Lumens <clumens@redhat.com>
855 * pykickstart.spec, setup.py: Bump version.
857 * pykickstart/parser.py: Don't trust ensure_value in complicated
858 cases in callbacks, as it wasn't setting values.
860 2006-02-13 Chris Lumens <clumens@redhat.com>
862 * pykickstart.spec, setup.py: Bump version.
864 * pykickstart/writer.py (KickstartWriter.doNetwork): --onboot
865 requires a value (#180987).
867 2006-02-10 Chris Lumens <clumens@redhat.com>
869 * pykickstart/parser.py: Be more strict about commands that don't
872 2006-02-09 Chris Lumens <clumens@redhat.com>
874 * pykickstart.spec, setup.py: Bump version.
876 * pykickstart/parser.py, pykickstart/writer.py: Fix pychecker
879 * pykickstart/parser.py (KSOption): Condense all those option classes
882 * pykickstart/parser.py (KickstartParser.readKickstart): Allow
883 exceptions to not be fatal so ksvalidator can report multiple
884 problems in one pass.
885 (KickstartHandlers.deprecatedCommand): Add line number to message.
886 (KSOptionParser.check_values): Make deprecated option message more
889 * validator/ksvalidator: Default to not following include files and
890 to not halting on the first error. Add options to change this
893 2006-02-08 Chris Lumens <clumens@redhat.com>
895 * pykickstart/parser.py (KickstartHandlers.doRaid): --level is not
896 strictly required since we should be able to infer it from
899 2006-02-01 Chris Lumens <clumens@redhat.com>
901 * pykickstart.spec, setup.py: Bump version.
903 * pykickstart/parser.py (KickstartHandlers.doVnc): No default port.
905 2006-01-31 Chris Lumens <clumens@redhat.com>
907 * pykickstart.spec, setup.py: Bump version.
909 * pykickstart.py/writer.py (KickstartWriter.doDmRaid): Add an initial
911 (KickstartWriter.doPartition): Handle None on partition size.
913 2006-01-30 Chris Lumens <clumens@redhat.com>
915 * pykickstart.spec, setup.py: Bump version.
917 * pykickstart/parser.py (KickstartHandlers.doVnc): Fix connecting to
918 a remote viewer. Deprecate --connect, and add --host and --port as
919 the new preferred way (#179209).
921 2006-01-19 Chris Lumens <clumens@redhat.com>
923 * pykickstart.spec, setup.py: Bump version.
925 2006-01-13 Chris Lumens <clumens@redhat.com>
927 * pykickstart/constants.py: Add constants for the various
928 reboot/shutdown actions.
929 * pykickstart/data.py: Add support for --eject on reboot.
930 * pykickstart/parser.py: Likewise.
931 * pykickstart/writer.py: Likewise.
933 2006-01-04 Chris Lumens <clumens@redhat.com>
935 * pykickstart/data.py: Finish removing monitor information.
936 * pykickstart/writer.py: Clean up output quoting a bit.
938 2005-12-12 Chris Lumens <clumens@redhat.com>
940 * pykickstart/data.py: Remove monitor information from xconfig.
941 * pykickstart/parser.py: Remove monitor configuration from xconfig,
942 move --noprobe option to monitor keyword.
943 * pykickstart/writer.py: Likewise.
945 2005-12-08 Chris Lumens <clumens@redhat.com>
947 * pykickstart/data.py: Support bytesPerInode on RAID
948 (Curtis Doty <Curtis at GreenKey.net> #175288).
949 * pykickstart/parser.py: Likewise.
950 * pykickstart/writer.py: Likewise.
952 2005-11-03 Chris Lumens <clumens@redhat.com>
954 * pykickstart.spec: Bump version.
956 * pykickstart/data.py: Default to SELINUX_ENFORCING.
957 anaconda expects partition sizes to start at None as --size=0 --grow
958 is an acceptable combination (#172378).
960 * pykickstart/parser.py: Don't call shlex.split on anything inside a
963 2005-11-01 Chris Lumens <clumens@redhat.com>
965 * pykickstart.spec: Bump version.
967 * pykickstart/parser.py (KickstartHandlers.doVnc): --connect is not
968 required as it may be provided to anaconda on the command line
970 (KickstartHandlers.doNetwork): --onboot takes no options.
971 * pykickstart/writer.py (doFirewall): Remove extra spaces. Write out
972 --<service> options if ports are set.
974 2005-10-28 Chris Lumens <clumens@redhat.com>
976 * pykickstart/writer.py (KickstartWriter.doClearPart): Fix --all
979 2005-10-28 Chris Lumens <clumens@redhat.com>
981 * pykickstart.spec: Bump version.
983 * docs/programmers-guide: Add documentation for error reporting.
984 * pykickstart/parser.py: Add --resolvedeps and --includedeps as
985 deprecated options to %packages. Pass line number to handlePackageHdr
988 2005-10-24 Chris Lumens <clumens@redhat.com>
990 * pykickstart.spec: Bump version.
992 * pykickstart/parser.py: Report the line number on exceptions.
993 * validator/ksvalidator: Added a stand-alone program to validate
996 2005-10-19 Chris Lumens <clumens@redhat.com>
998 * pykickstart.spec: Bump version.
1000 2005-10-18 Chris Lumens <clumens@redhat.com>
1002 * pykickstart/parser.py: Correct deprecated attribute so warnings are
1003 thrown when a deprecated option is seen, not when it's defined.
1005 2005-10-17 Chris Lumens <clumens@redhat.com>
1007 * docs/programmers-guide: Added documentation for extending and
1008 programming with pykickstart.
1010 2005-10-13 Chris Lumens <clumens@redhat.com>
1012 * pykickstart.spec: Correct python lib directory on 64-bit archs
1013 (#170621). Bump build.
1015 2005-10-07 Chris Lumens <clumens@redhat.com>
1017 * pykickstart/constants.py: Add types for scripts.
1018 * pykickstart/data.py: Collapse scripts into a single list.
1019 * pykickstart/parser.py: Likewise. Also, fix script printing.
1020 * pykickstart/writer.py: Likewise. Also, rename class to
1023 2005-10-06 Chris Lumens <clumens@redhat.com>
1025 * pykickstart/parser.py (DeprecatedOption): Add a "deprecated"
1026 attribute so options can be marked as such.
1027 (KickstartHandlers): Change how deprecated commands are printed. Add
1028 --card back to the xconfig command as a deprecated option.
1030 2005-10-05 Chris Lumens <clumens@redhat.com>
1032 * pykickstart/data.py: Rename classes to be consistent with the rest
1033 of the module. Add default bytesPerInode to partition objects.
1035 2005-10-05 Chris Lumens <clumens@redhat.com>
1037 * Imported contents from anaconda.