1 2007-02-20 Chris Lumens <clumens@redhat.com>
3 * pykickstart/parser.py (Group): Added an object for dealing with
5 (Packages._processGroup): Add a new function to handle the extended
8 * pykickstart/constants.py: New group selection constants.
10 * pykickstart/handlers/control.py (dataMap): Add a mapping for data
13 * pykickstart/base.py (BaseHandler._registerCommands): Add attributes
14 on the handler for the data objects.
16 2007-02-19 Chris Lumens <clumens@redhat.com>
18 * pykickstart/base.py (BaseHandler.maskAllExcept): Renamed from
20 (BaseHandler.__init__): Accept a mapping argument in the format of
21 what's in pykickstart.handlers.control, for when you're overriding all
22 the handlers with your own versions.
24 * pykickstart/commands/langsupport.py (FC3_LangSupport.__str__): Add
27 * pykickstart/commands/reboot.py: Provide a default return value in
28 the __str__ methods to fix a traceback.
30 2007-02-19 Chris Lumens <clumens@redhat.com>
32 * pykickstart/commands/*.py: All command objects now have an
33 underscore between the version part and the name for ease of
35 * pykickstart/handlers/control.py (commandMap): Likewise.
37 * pykickstart/base.py (BaseHandler._setCommand): Strip version part
38 from name before creating the attribute.
40 * pykickstart/version.py (versionToString): Added a method to convert
41 version numbers back into strings, which is needed for the above
44 2007-02-19 Chris Lumens <clumens@redhat.com>
46 * pykickstart/base.py: Moved here from pykickstart/commands and adapt
49 * pykickstart/version.py: Accept short forms of version strings again
50 and adapt to new layout.
52 * pykickstart/commands/*.py: Broke each command out into its own file
53 and put all the versions of that command handler together. Idea and
54 mock up from Peter Jones (<pjones AT redhat.com>).
56 * pykickstart/handlers/*.py: Moved handlers into their own directory.
58 * pykickstart/handlers/control.py: Add a file laying out which
59 commands are supported by each version and exactly where they can be
60 found. This should help readability of the code quite a bit.
62 2007-02-14 Chris Lumens <clumens@redhat.com>
64 * pykickstart.spec, setup.py: New version.
66 2007-02-14 Chris Lumens <clumens@redhat.com>
68 * pykickstart/parser.py (KickstartParser.__init__): Don't need to
69 take a version argument since the Parser can get that from the
72 * validator/ksvalidator: KickstartParser no longer takes a version
75 * pykickstart/version.py (stringToVersion): Be more lenient in what
76 strings we accept to take into account RHEL variants.
78 2007-02-08 Chris Lumens <clumens@redhat.com>
80 * pykickstart/parser.py (KickstartParser._reset): Add a method to
81 reset the state machine state and call it from __init__. Also call it
82 from readKickstart and readKickstartFromString except in the special
83 case of included files. This allows calling the parser multiple times
84 with the same data objects for file inheritance/overriding.
86 2007-02-07 Chris Lumens <clumens@redhat.com>
88 * pykickstart.spec, setup.py: New version.
90 2007-02-06 Chris Lumens <clumens@redhat.com>
92 * pykickstart/commands/f7.py (F7Handler.Key.__str__): Add a newline.
93 * pykickstart/commands/rhel5.py (RHEL5Handler.Key.__str__): Likewise.
95 * pykickstart/constants.py: Add network bootproto constants (#197694).
96 * pykickstart/commands/fc3.py: Use new network constants.
97 * pykickstart/commands/fc4.py: Likewise.
98 * pykickstart/commands/fc6.py: Likewise.
99 * pykickstart/commands/rhel4.py: Likewise.
101 2007-02-01 Chris Lumens <clumens@redhat.com>
103 * pykickstart/commands/fc4.py: Fix tracebacks in subclass __str__
105 * pykickstart/commands/rhel4.py: Likewise.
107 2007-01-31 Chris Lumens <clumens@redhat.com>
109 * pykickstart.spec: Modified to more closely match the extras
110 packaging guidelines.
112 2007-01-25 Chris Lumens <clumens@redhat.com>
114 * pykickstart.spec, setup.py: New version.
116 2007-01-24 Chris Lumens <clumens@redhat.com>
118 * pykickstart/commands/fc3.py: Added.
119 * pykickstart/commands/fc4.py: Move basic commands and data back to
122 * pykickstart/commands/rhel4.py: Added.
124 * pykickstart/version.py: Add support for FC3 and RHEL4.
126 * pykickstart/commands/fc4.py (FC4Handler.__init__): Use
127 overrideCommand instead of registerCommand.
128 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
129 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
131 2007-01-24 Chris Lumens <clumens@redhat.com>
133 * pykickstart/commands/fc6.py (FC6Handler.Key): FC6 didn't support
135 * pykickstart/commands/f7.py (F7Handler.Key): The key command was
136 added just after FC6 came out.
138 * pykickstart/commands/rhel5.py: Added.
140 * pykickstart/version.py: Add support for RHEL5. Be more permissive
141 in what sorts of strings we map to version numbers. Fix pychecker
144 2007-01-19 Chris Lumens <clumens@redhat.com>
146 * pykickstart.spec, setup.py: New version.
148 2007-01-19 Chris Lumens <clumens@redhat.com>
150 * pykickstart/errors.py (KickstartVersionError): This should just
151 take a message like all the other exception classes.
152 * pykickstart/version.py: Pass a message to KickstartVersionError.
154 * pykickstart/commands/base.py (BaseHandler.__init__): Add a version
155 attribute so we no longer have to compare class names.
156 * pykickstart/commands/f7.py (F7Handler.__init__): Likewise.
157 * pykickstart/commands/fc4.py (FC4Handler.__init__): Likewise.
158 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
159 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
161 * pykickstart/parser.py (KickstartParser.__init__): Fix test for
162 matching version numbers now that handlers know what version they are.
164 2007-01-18 Chris Lumens <clumens@redhat.com>
166 * pykickstart/commands/fc4.py: KSOptionParser's lineno argument needs
168 * pykickstart/commands/fc5.py: Likewise.
169 * pykickstart/commands/fc6.py: Likewise.
171 2007-01-18 Chris Lumens <clumens@redhat.com>
173 * pykickstart/commands/base.py (BaseHandler.unregisterCommand): Add a
174 method to remove support for a command from a Handler instance.
176 * pykickstart/version.py: Add support for the F7 version.
177 * pykickstart/commands/f7.py: Add a devel version that removes the
178 deprecated langsupport and mouse commands.
180 * pykickstart/options.py (KSOptionParser.__init__): Move call to
181 superclass __init__ to where it belongs.
182 (KSOptionParser.check_values): Deprecated should be a flag, not a
185 * pykickstart/parser.py (Packages): Accept a --default argument to
186 specify that the default package set should be installed (#221305).
187 (KickstartParser.handlePackageHdr): Likewise.
188 (KickstartParser.__init__): KickstartParser needs to accept a version
191 * validator/ksvalidator: Pass the version to KickstartParser.
193 2007-01-17 Chris Lumens <clumens@redhat.com>
195 * pykickstart.spec, setup.py: New version.
197 2007-01-16 Chris Lumens <clumens@redhat.com>
199 * pykickstart/parser.py (KickstartParser.readKickstartFromString):
200 Add a method to read a kickstart file from a string, in addition to
201 the one that's already there for reading from a file.
203 2007-01-16 Chris Lumens <clumens@redhat.com>
205 * pykickstart.spec, setup.py: New version, finally.
207 2007-01-16 Chris Lumens <clumens@redhat.com>
209 * pykickstart/parser.py (Script.__str__): Write out --interpreter
210 since that's what the parser expects (#222877).
212 * pykickstart/commands/fc4.py: Fix exception error messages.
214 2007-01-15 Chris Lumens <clumens@redhat.com>
216 * pykickstart/commands/base.py (BaseHandler.empty): Add a method to
217 empty out the contents of the commands dict.
219 * pykickstart/commands/fc4.py (BaseHandler.Upgrade): Only set upgrade
220 if that's what the current command is.
221 (BaseHandler.RootPw): rootpw -> password
223 2007-01-15 Chris Lumens <clumens@redhat.com>
225 * pykickstart/version.py (returnClassForVersion): Take a default
227 (returnClassForVersion): Rename Version to Handler.
229 * pykickstart/parser.py: Rename kshandlers to handler.
231 * pykickstart/commands/base.py: Rename BaseVersion to BaseHandler,
232 registerHandler to registerCommand, and self.dispatcher to
234 * pykickstart/commands/fc4.py: Likewise.
235 * pykickstart/commands/fc5.py: Likewise.
236 * pykickstart/commands/fc6.py: Likewise.
238 2007-01-12 Chris Lumens <clumens@redhat.com>
240 * pykickstart/commands/base.py (BaseVersion.overrideHandler): Provide
241 a way to create a new instance of the handler and have it used. This
242 allows a shortcut for wiping out all the attributes on an instance.
243 (BaseVersion.__str__): Newline after the platform is written.
245 * pykickstart/commands/base.py (KickstartCommand.__init__): Add the
246 dispatcher setting back in.
248 2007-01-12 Chris Lumens <clumens@redhat.com>
250 * pykickstart/commands/base.py (BaseVersion._insertSorted): When a
251 subclass of BaseVersion registers a handler that already exists from a
252 class higher up the chain, remove the existing handler in favor of the
255 * pykickstart/commands/fc4.py: Put writePriority defaults in the
256 default arguments to command objects instead of in the calls to
257 creating them, as that didn't work for subclasses. Also change how
258 we handle default arguments that are lists.
259 * pykickstart/commands/fc5.py: Likewise.
260 * pykickstart/commands/fc6.py: Likewise.
262 2007-01-11 Chris Lumens <clumens@redhat.com>
264 * pykickstart/commands/fc5.py (RaidData, Raid): Make these classes
265 subclass the ones in FC4Version, to the extent that can be done.
266 * pykickstart/commands/fc6.py (NetworkData, Method, Monitor, Reboot):
269 * pykickstart/parser.py (Script.__str__): Fix Script printing.
271 * pykickstart/commands/fc6.py (FC6Version.Method): Fix test for opts
274 2007-01-10 Chris Lumens <clumens@redhat.com>
276 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
277 dispatcher setting so command classes can still access data classes.
278 (BaseVersion.registerHandler): Don't overwrite command classes with
279 an instance in the version object.
281 * pykickstart/commands/fc4.py: Data and command classes are now
282 nested inside the version class.
283 * pykickstart/commands/fc5.py: Likewise.
284 * pykickstart/commands/fc6.py: Likewise.
286 2007-01-10 Chris Lumens <clumens@redhat.com>
288 * pykickstart/version.py (makeVersion): Default to DEVEL.
290 * pykickstart/commands/fc4.py: Command -> KS for brevity.
291 * pykickstart/commands/fc5.py: Likewise.
292 * pykickstart/commands/fc6.py: Likewise.
294 2007-01-09 Chris Lumens <clumens@redhat.com>
296 * pykickstart/po/*: Updated translations.
298 * pykickstart/commands/*.py: Rename everything from Handler to
299 Version, as that seems to make more sense.
300 * pykickstart/options.py: Likewise.
301 * pykickstart/parser.py: Likewise.
302 * pykickstart/version.py: Likewise.
303 * ksvalidator/validator: Likewise.
305 2007-01-09 Chris Lumens <clumens@redhat.com>
307 * Merge in multiversion-branch (#189348).
309 2007-01-08 Chris Lumens <clumens@redhat.com>
313 * Merge from HEAD: Updated translations.
315 2007-01-03 Chris Lumens <clumens@redhat.com>
319 * pykickstart/commands/base.py (BaseHandler.hasHandler): Add a
320 convenience method to see if there's a handler for a given command.
322 2006-12-22 Chris Lumens <clumens@redhat.com>
326 * pykickstart/commands/base.py (KickstartCommand.__init__): Add a
327 writePriority parameter to control the order commands get written out
328 when __str__ methods are called.
329 (BaseHandler.__str__): Take writePriorities into account.
330 (BaseHandler.registerHandler): Insert command handlers into the
331 _writePriority dict in the correct order - first by priority, then
332 alphabetically within that priority.
334 * pykickstart/commands/fc4.py: Add new writePriority parameter.
335 * pykickstart/commands/fc6.py: Likewise.
337 2006-12-22 Chris Lumens <clumens@redhat.com>
341 * pykickstart/commands/fc6.py: Added multipath support back in.
343 * pykickstart/commands/base.py (BaseData): Added a superclass for all
344 those Kickstart*Data objects.
345 * pykickstart/commands/fc4.py: Use BaseData.
346 * pykickstart/commands/fc6.py: Likewise.
348 * pykickstart/commands/base.py: Clarify API for subclasses a little
349 bit. Make KickstartCommand.__str__ an abstract method. Add
350 DeprecatedCommand.__str__.
352 2006-12-20 Chris Lumens <clumens@redhat.com>
356 * pykickstart/commands/fc4.py (CommandReboot.__str__): Fix output
359 * Merge from HEAD: Updated translations.
361 2006-12-20 Chris Lumens <clumens@redhat.com>
365 * pykickstart/__init__.py: Clear this out.
367 * pykickstart/errors.py: Add __doc__ strings to all classes and
369 * pykickstart/options.py: Likewise.
370 * pykickstart/version.py: Likewise.
371 * pykickstart/commands/base.py: Likewise.
373 * pykickstart/parser.py: Add __doc__ strings to all classes and
374 public methods. Privatize attributes in KickstartParser that don't
377 * pykickstart/commands/fc4.py (FC4Handler.__init__): _registerHandler
378 is no longer private.
379 * pykickstart/commands/fc5.py (FC5Handler.__init__): Likewise.
380 * pykickstart/commands/fc6.py (FC6Handler.__init__): Likewise.
382 * docs/programmers-guide: Remove stuff that's now duplicated by
385 2006-12-20 Chris Lumens <clumens@redhat.com>
387 * po/nb.po: Update from rhel5-branch.
389 2006-12-19 Chris Lumens <clumens@redhat.com>
393 * pykickstart/commands/base.py (KickstartCommand.__call__): Add a
394 function to set all the attributes of a command object at once.
395 (BaseHandler._registerHandler): Don't need to do so much goofy stuff
396 to register a command handler anymore.
398 * pykickstart/version.py (returnClassForVersion): Add a function to
399 return the class matching a given kickstart syntax version. This does
400 not return an instance of that class.
402 * Makefile: Add pykickstart/commands/*.pyc to what gets cleaned.
404 * setup.py: Package up commands as well.
406 * test.py: This isn't needed anymore.
408 2006-12-19 Chris Lumens <clumens@redhat.com>
412 * pykickstart/commands/fc4.py: Add named arguments to __init__
413 functions for all command handlers.
414 * pykickstart/commands/fc6.py: Likewise.
416 * pykickstart/commands/fc4.py: Various minor fixes to default
417 arguments and __str__ methods throughout.
419 2006-12-15 Chris Lumens <clumens@redhat.com>
421 * pykickstart.spec, setup.py: Bump version (only translations have
422 changed since the last rebuild - #216620).
424 2006-12-12 Chris Lumens <clumens@redhat.com>
428 * pykickstart/commands/fc4.py (CommandLang): Add lang attribute.
430 * pykickstart/commands/fc5.py (FC5Handler): Import from the
433 2006-12-11 Chris Lumens <clumens@redhat.com>
437 * pykickstart/commands/fc4.py: Added first run at data and command
438 handling support for Fedora Core 4.
440 * pykickstart/commands/fc4.py (KickstartLogVolData,
441 KickstartNetworkData, KickstartPartData, KickstartRaidData,
442 KickstartVolGroupData, KickstartZFCPData): Add named arguments to
443 __init__ functions to make creating objects programatically easier.
444 * pykickstart/commands/fc6.py (KickstartDmRaidData,
445 KickstartIscsiData, KickstartRepoData, KickstartUserData): Likewise.
447 2006-12-11 Chris Lumens <clumens@redhat.com>
451 * validator/ksvalidator: Update to handle multiple versions.
453 * pykickstart/parser.py (Packages.add): Move Parser.addPackages here
454 since this seems like a sensible method for the Packages object to
457 * pykickstart/version.py (makeHandler): Add a function to create the
458 right handler for a given syntax version.
459 (stringToVersion): Add a function to convert string versions into
462 * pykickstart/commands/base.py: Need to import errors here.
464 2006-12-11 Chris Lumens <clumens@redhat.com>
468 * pykickstart/options.py (KSOptionParser.check_values): Use
469 self.lineno instead of lineno.
471 * pykickstart/parser.py: Set packages, scripts, and platform on the
474 * pykickstart/commands/base.py (BaseHandler.__init__): This looks
475 like the best place to add packages, scripts, and platform.
476 (BaseHandler.__str__): Write out the whole ks file, though we still
477 need to get commands in the right order.
479 * Merge from HEAD: Updated translations.
481 2006-12-08 Chris Lumens <clumens@redhat.com>
485 * pykickstart/data.py: Removed.
486 * pykickstart/handlers.py: Removed.
487 * pykickstart/writer.py: Removed.
489 * pykickstart/__init__.py: Updated.
490 * pykickstart/errors.py (KickstartVersionError): Add a new exception
491 that will be useful in the future.
492 * pykickstart/options.py: Don't need this import anymore.
493 * pykickstart/parser.py: Rework string representation in String.
494 Create a new Packages class, even though it's not in use yet. Hack in
495 changes to the parser to make it basically work for now.
496 * pykickstart/version.py: Added initial symbolic version numbers.
498 * pykickstart/commands/__init__.py: Added.
499 * pykickstart/commands/base.py: Added base classes useful for all
501 * pykickstart/commands/fc5.py: Added first run at data and command
502 handling support for Fedora Core 5 syntax. Most of this used to be
503 in data.py, handlers.py, and writer.py
504 * pykickstart/commands/fc6.py: Added first run at data and command
505 handling support for Fedora Core 6 syntax. Most of this used to be in
506 data.py, handlers.py, and writer.py
509 * test.py: Added quick test harness.
511 2006-12-05 Chris Lumens <clumens@redhat.com>
515 * pykickstart/options.py (KSOptionParser.check_values): Check
516 introduced and removed attributes.
517 (KSOption): Add introduced and removed attributes.
519 * validator/ksvalidator: Update to work with new file structure.
522 - po/pykickstart.pot: Updated (#216620).
523 - pykickstart/errors.py: Update string formats to make translation
525 - pykickstart/handlers.py: Likewise.
526 - pykickstart/options.py: Likewise.
527 - pykickstart/handlers.py (KickstartHandlers.doIscsi): Use required
529 - pykickstart/handlers.py (KickstartHandlers.deprecatedCommands):
530 Fix traceback (#218047, #218059).
531 - pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
532 - pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
535 2006-12-05 Chris Lumens <clumens@redhat.com>
537 * pykickstart.spec, setup.py: Bump version.
539 2006-12-04 Chris Lumens <clumens@redhat.com>
541 * pykickstart/writer.py (KickstartWriter.doRepo): Fix traceback
544 2006-12-01 Chris Lumens <clumens@redhat.com>
546 * pykickstart.spec, setup.py: Bump version.
548 * pykickstart/parser.py (KickstartHandlers.deprecatedCommands): Fix
549 traceback (#218047, #218059).
551 2006-11-30 Chris Lumens <clumens@redhat.com>
553 * pykickstart.spec, setup.py: Bump version.
555 2006-11-21 Chris Lumens <clumens@redhat.com>
557 * po/pykickstart.pot: Updated (#216620).
559 * pykickstart/parser.py: Update string formats to make translation
562 2006-11-14 Chris Lumens <clumens@redhat.com>
564 * pykickstart/parser.py (KickstartHandlers.doIscsi): Use required
567 2006-11-09 Chris Lumens <clumens@redhat.com>
569 * pykickstart/writer.py (KickstartWriter.doLogging): Add --level.
571 2006-10-24 Chris Lumens <clumens@redhat.com>
576 - Makefile: Update to handle new release format.
577 - setup.py: New version.
578 - pykickstart.spec: Fix spec file to use %{?dist} in release.
579 - pykickstart/writer.py (KickstartWriter.doKey): Better way to
582 2006-10-24 Chris Lumens <clumens@redhat.com>
586 * pykickstart/__init__.py: Import new files by default.
587 * pykickstart/errors.py: Split out from parser.py.
588 * pykickstart/handlers.py: Split out from parser.py
589 * pykickstart/options.py: Split out from parser.py.
590 * pykickstart/parser.py: Updated for new files.
592 * validator/ksvalidator: Updated for new files.
594 2006-10-24 Chris Lumens <clumens@redhat.com>
596 * pykickstart.spec, setup.py: Bump version.
598 * Makefile: Fix for new Release format.
600 2006-10-17 Chris Lumens <clumens@redhat.com>
602 * pykickstart/writer.py: Add writer for key command.
604 2006-10-17 Jeremy Katz <katzj@redhat.com>
606 * pykickstart.spec, setup.py: Bump version.
608 * pykickstart/parser.py, pykickstart/constants.py: add --skip for key
610 2006-10-16 Jeremy Katz <katzj@redhat.com>
612 * pykickstart.spec, setup.py: Bump version.
614 * pykickstart/parser.py (KickstartHandlers.doKey): Support for
616 * pykickstart/data.py (KickstartData.__init__): Likewise.
618 2006-10-13 Bill Nottingham <notting@redhat.com>
620 * af.po, am.po, ar.po, be.po, bg.po, bn.po, cy.po, et.po,
621 eu_ES.po, fa.po, fi.po, he.po, hy.po, kn.po, ku.po, lo.po, lt.po,
622 lv.po, mk.po, my.po, nn.po, no.po, nso.po, ro.po, si.po, sq.po, th.po,
623 ur.po, vi.po, zu.po: Use a valid charset (#210720)
625 * pykickstart.spec, setup.py: Bump version
628 2006-09-29 Chris Lumens <clumens@redhat.com>
630 * pykickstart.spec, setup.py: Bump version
632 * pykickstart/parser.py (KickstartHandlers.doMethod): Fix traceback
635 2006-09-25 Chris Lumens <clumens@redhat.com>
637 * pykickstart.spec, setup.py: Bump version
639 * pykickstart/parser.py (KickstartHandlers.doMethod): Add support for
640 --biospart option (#207585).
641 * pykickstart/writer.py (KickstartWriter.doMethod): Likewise.
643 * pykickstart/writer.py (KickstartWriter.doIscsi): Output new syntax.
644 (KickstartWriter.doZFCP): Likewise.
645 (KickstartWriter.doIscsiName): Added.
647 2006-09-20 Jeremy Katz <katzj@redhat.com>
649 * pykickstart.spec, setup.py: Bump version
651 * pykickstart/parser.py (KickstartHandlers.doIscsi): New and
652 improved iscsi syntax. Also, allow multiple zfcp devs
653 * pykickstart/data.py: Likewise.
655 2006-07-13 Chris Lumens <clumens@redhat.com>
657 * pykickstart/data.py: Add noipv4 and noipv6 to KickstartNetworkData.
658 * pykickstart/parser.py (KickstartHandlers.doNetwork): Limit
659 bootproto choices to what anaconda can handle. Add support for
660 --noipv4 and --noipv6 options.
661 * pykickstart/writer.py (KickstartWriter.doNetwork): Write out new
664 2006-06-20 Chris Lumens <clumens@redhat.com>
666 * pykickstart.spec, setup.py: Bump version.
668 * pykickstart/writer.py (KickstartWriter.doIscsi): Add iscsi writer.
670 2006-06-20 Jeremy Katz <katzj@redhat.com>
672 * pykickstart/parser.py (KickstartHandlers.doIscsi): Initial iscsi
673 support. This syntax is likely to change but this makes testing
675 * pykickstart/data.py (KickstartData.__init__): Add iscsi data.
677 2006-06-20 Chris Lumens <clumens@redhat.com>
679 * pykickstart/parser (KickstartHandlers.doRaid): Handle a RAID device
680 as an integer instead of a string (#176537).
682 2006-06-16 Jeremy Katz <katzj@redhat.com>
684 * pykickstart/parser.py (KickstartHandlers.doMethod): Handle nfs --opts
686 2006-06-06 Chris Lumens <clumens@redhat.com>
688 * pykickstart.spec: Fix BuildRequires (#194156).
690 2006-05-25 Chris Lumens <clumens@redhat.com>
692 * pykickstart.spec, setup.py: Bump version.
694 2006-05-24 Chris Lumens <clumens@redhat.com>
696 * pykickstart/writer.py (KickstartWriter): Change order of LVM-related
699 2006-05-23 Chris Lumens <clumens@redhat.com>
701 * pykickstart.spec: Require urlgrabber now.
703 * po/*: Update translation files.
705 * pykickstart/parser.py (KickstartParser.handleCommand): Return a
706 more useful error message on unknown command.
708 * pykickstart/writer.py (KickstartWriter.doLogicalVolume): Fix typo.
710 * validator/ksvalidator: Accept a URL in addition to a file name.
712 2006-05-23 Chris Lumens <clumens@redhat.com>
714 * pykickstart/writer.py (KickstartWriter.doPackages): Don't write out
715 an empty packages section, since we may want this step to be
716 interactive (#192851).
718 2006-05-23 Chris Lumens <clumens@redhat.com>
720 * pykickstart.spec, setup.py: Bump version.
722 * pykickstart/writer.py (KickstartWriter.doFirewall): Rename --ports
725 2006-05-17 Peter Jones <pjones@redhat.com>
727 * pykickstart/parser.py: Add "multipath" command and doMultiPath
729 * pykickstart/data.py: Add kickstartMpPathData and
730 KickstartMultiPathData objects to handle multipath info, as well as
731 KickstartData.mpaths .
732 * pykickstart/writer.py: add doMultiPath
733 * docs/programmers-guide: add completely useless documentation for
734 multipath kickstart objects.
736 2006-05-15 Chris Lumens <clumens@redhat.com>
738 * pykickstart.spec, setup.py: Bump version.
740 * pykickstart/data.py (KickstartNetworkData): Add MTU (#191328).
741 * pykickstart/parser.py (KickstartHandlers.doNetwork): Likewise.
742 * pykickstart/writer.py (KickstartWriter.doNetwork): Likweise.
744 2006-05-10 Chris Lumens <clumens@redhat.com>
746 * pykickstart/parser.py (KickstartHandlers.doTimezone): Accept
747 --isUtc for backwards compatibility.
749 2006-05-04 Chris Lumens <clumens@redhat.com>
751 * pykickstart.spec, setup.py: Bump version.
753 2006-04-25 Chris Lumens <clumens@redhat.com>
755 * pykickstart/data.py (KickstartUserData): Added.
756 (KickstartData): Added lists for services and users.
757 * pykickstart/parser.py (KickstartParser.doServices,
758 KickstartParser.doUser): Add new command handlers.
759 Consolidate code to copy from option parsers to ksdata.
760 * pykickstart/writer.py (KickstartWriter.doServices,
761 KickstartParser.doUser): Add new command handlers.
763 2006-04-24 Chris Lumens <clumens@redhat.com>
765 * pykickstart/writer.py: More output formatting fixes.
767 2006-04-19 Chris Lumens <clumens@redhat.com>
769 * pykickstart/constants.py: Start CLEARPART_ constants at 0.
771 2006-04-17 Chris Lumens <clumens@redhat.com>
773 * pykickstart.spec, setup.py: Bump version.
775 2006-04-13 Chris Lumens <clumens@redhat.com>
777 * pykickstart/data.py (KickstartRepoData): Added.
778 (KickstartRaidData): Initialize members to a list instead of string.
779 (KickstartVolGroupData): Likewise.
780 * pykickstart/parser.py (KickstartHandlers.doRepo): Add options.
781 * pykickstart/writer.py (KickstartWriter.doRepo): Likewise.
782 (KickstartWriter.doPackages): Reorder package output. Output header
785 2006-04-11 Chris Lumens <clumens@redhat.com>
787 * pykickstart/parser.py (KickstartParser.addPackages): Ignore
788 whitespace before group names (#188095).
790 2006-03-27 Chris Lumens <clumens@redhat.com>
792 * pykickstart.spec, setup.py: Bump version.
794 * pykickstart/data.py (KickstartData.__init__): Add support for the
796 * pykickstart/writer.py (KickstartWriter.doLogging): Likewise.
797 (KickstartWriter.doRepo): Stub out funtion for the future.
798 * pykickstart/parser.py (KickstartHandlers.doLogging): Likewise.
799 (KickstartHandlers.doRepo): Stub out function for the future.
801 2006-03-27 Chris Lumens <clumens@redhat.com>
803 * pykickstart.spec, setup.py: Bump version.
805 * pykickstart/writer.py (KickstartWriter.doXConfig): Don't write out
806 a blank xconfig line.
808 2006-03-13 Chris Lumens <clumens@redhat.com>
810 * pykickstart/writer.py (KickstartWriter.__init__): Reorder output
813 2006-03-07 Chris Lumens <clumens@redhat.com>
815 * pykickstart.spec, setup.py: Bump version.
817 * pykickstart/parser.py (KickstartHandlers.doZeroMbr): Backwards
818 compatibility support for options to zerombr.
820 2006-02-24 Chris Lumens <clumens@redhat.com>
822 * pykickstart.spec, setup.py: Bump version.
824 * pykickstart/parser.py (KickstartHandlers.doIgnoreDisk): Get ksdata
825 from the correct option parser variable (#182934).
827 2006-02-17 Chris Lumens <clumens@redhat.com>
829 * pykickstart.spec, setup.py: Bump version.
831 2006-02-16 Chris Lumens <clumens@redhat.com>
833 * docs/programmers-guide: Update documentation.
835 * pykickstart/parser.py: Provide an option to not traceback if an
836 included file is not present. This should have very limited
837 usefulness. (#181760).
838 * pykickstart/parser.py (KSOptionParser.check_values): Typos.
840 2006-02-13 Chris Lumens <clumens@redhat.com>
842 * pykickstart.spec, setup.py: Bump version.
844 * pykickstart/parser.py: Don't trust ensure_value in complicated
845 cases in callbacks, as it wasn't setting values.
847 2006-02-13 Chris Lumens <clumens@redhat.com>
849 * pykickstart.spec, setup.py: Bump version.
851 * pykickstart/writer.py (KickstartWriter.doNetwork): --onboot
852 requires a value (#180987).
854 2006-02-10 Chris Lumens <clumens@redhat.com>
856 * pykickstart/parser.py: Be more strict about commands that don't
859 2006-02-09 Chris Lumens <clumens@redhat.com>
861 * pykickstart.spec, setup.py: Bump version.
863 * pykickstart/parser.py, pykickstart/writer.py: Fix pychecker
866 * pykickstart/parser.py (KSOption): Condense all those option classes
869 * pykickstart/parser.py (KickstartParser.readKickstart): Allow
870 exceptions to not be fatal so ksvalidator can report multiple
871 problems in one pass.
872 (KickstartHandlers.deprecatedCommand): Add line number to message.
873 (KSOptionParser.check_values): Make deprecated option message more
876 * validator/ksvalidator: Default to not following include files and
877 to not halting on the first error. Add options to change this
880 2006-02-08 Chris Lumens <clumens@redhat.com>
882 * pykickstart/parser.py (KickstartHandlers.doRaid): --level is not
883 strictly required since we should be able to infer it from
886 2006-02-01 Chris Lumens <clumens@redhat.com>
888 * pykickstart.spec, setup.py: Bump version.
890 * pykickstart/parser.py (KickstartHandlers.doVnc): No default port.
892 2006-01-31 Chris Lumens <clumens@redhat.com>
894 * pykickstart.spec, setup.py: Bump version.
896 * pykickstart.py/writer.py (KickstartWriter.doDmRaid): Add an initial
898 (KickstartWriter.doPartition): Handle None on partition size.
900 2006-01-30 Chris Lumens <clumens@redhat.com>
902 * pykickstart.spec, setup.py: Bump version.
904 * pykickstart/parser.py (KickstartHandlers.doVnc): Fix connecting to
905 a remote viewer. Deprecate --connect, and add --host and --port as
906 the new preferred way (#179209).
908 2006-01-19 Chris Lumens <clumens@redhat.com>
910 * pykickstart.spec, setup.py: Bump version.
912 2006-01-13 Chris Lumens <clumens@redhat.com>
914 * pykickstart/constants.py: Add constants for the various
915 reboot/shutdown actions.
916 * pykickstart/data.py: Add support for --eject on reboot.
917 * pykickstart/parser.py: Likewise.
918 * pykickstart/writer.py: Likewise.
920 2006-01-04 Chris Lumens <clumens@redhat.com>
922 * pykickstart/data.py: Finish removing monitor information.
923 * pykickstart/writer.py: Clean up output quoting a bit.
925 2005-12-12 Chris Lumens <clumens@redhat.com>
927 * pykickstart/data.py: Remove monitor information from xconfig.
928 * pykickstart/parser.py: Remove monitor configuration from xconfig,
929 move --noprobe option to monitor keyword.
930 * pykickstart/writer.py: Likewise.
932 2005-12-08 Chris Lumens <clumens@redhat.com>
934 * pykickstart/data.py: Support bytesPerInode on RAID
935 (Curtis Doty <Curtis at GreenKey.net> #175288).
936 * pykickstart/parser.py: Likewise.
937 * pykickstart/writer.py: Likewise.
939 2005-11-03 Chris Lumens <clumens@redhat.com>
941 * pykickstart.spec: Bump version.
943 * pykickstart/data.py: Default to SELINUX_ENFORCING.
944 anaconda expects partition sizes to start at None as --size=0 --grow
945 is an acceptable combination (#172378).
947 * pykickstart/parser.py: Don't call shlex.split on anything inside a
950 2005-11-01 Chris Lumens <clumens@redhat.com>
952 * pykickstart.spec: Bump version.
954 * pykickstart/parser.py (KickstartHandlers.doVnc): --connect is not
955 required as it may be provided to anaconda on the command line
957 (KickstartHandlers.doNetwork): --onboot takes no options.
958 * pykickstart/writer.py (doFirewall): Remove extra spaces. Write out
959 --<service> options if ports are set.
961 2005-10-28 Chris Lumens <clumens@redhat.com>
963 * pykickstart/writer.py (KickstartWriter.doClearPart): Fix --all
966 2005-10-28 Chris Lumens <clumens@redhat.com>
968 * pykickstart.spec: Bump version.
970 * docs/programmers-guide: Add documentation for error reporting.
971 * pykickstart/parser.py: Add --resolvedeps and --includedeps as
972 deprecated options to %packages. Pass line number to handlePackageHdr
975 2005-10-24 Chris Lumens <clumens@redhat.com>
977 * pykickstart.spec: Bump version.
979 * pykickstart/parser.py: Report the line number on exceptions.
980 * validator/ksvalidator: Added a stand-alone program to validate
983 2005-10-19 Chris Lumens <clumens@redhat.com>
985 * pykickstart.spec: Bump version.
987 2005-10-18 Chris Lumens <clumens@redhat.com>
989 * pykickstart/parser.py: Correct deprecated attribute so warnings are
990 thrown when a deprecated option is seen, not when it's defined.
992 2005-10-17 Chris Lumens <clumens@redhat.com>
994 * docs/programmers-guide: Added documentation for extending and
995 programming with pykickstart.
997 2005-10-13 Chris Lumens <clumens@redhat.com>
999 * pykickstart.spec: Correct python lib directory on 64-bit archs
1000 (#170621). Bump build.
1002 2005-10-07 Chris Lumens <clumens@redhat.com>
1004 * pykickstart/constants.py: Add types for scripts.
1005 * pykickstart/data.py: Collapse scripts into a single list.
1006 * pykickstart/parser.py: Likewise. Also, fix script printing.
1007 * pykickstart/writer.py: Likewise. Also, rename class to
1010 2005-10-06 Chris Lumens <clumens@redhat.com>
1012 * pykickstart/parser.py (DeprecatedOption): Add a "deprecated"
1013 attribute so options can be marked as such.
1014 (KickstartHandlers): Change how deprecated commands are printed. Add
1015 --card back to the xconfig command as a deprecated option.
1017 2005-10-05 Chris Lumens <clumens@redhat.com>
1019 * pykickstart/data.py: Rename classes to be consistent with the rest
1020 of the module. Add default bytesPerInode to partition objects.
1022 2005-10-05 Chris Lumens <clumens@redhat.com>
1024 * Imported contents from anaconda.