summaryrefslogtreecommitdiffstats
path: root/schemas
Commit message (Collapse)AuthorAgeFilesLines
* further schema fixesChris St. Pierre2011-04-083-6/+19
|
* A number of schema changes/fixes/updates:Chris St. Pierre2011-04-087-89/+190
| | | | | | | | * altsrc attr is not allowed on Service and Action tags * Removed duplicate definition of PackageType, fixed required attrs * Removed deprecated <Ignore> tags in BoundPackage Instances * Added Genshi schema, made Genshi bundles validate * Use builtin xs:boolean type where possible
* schemas: Build DTD docs, provide -doc subpackage in RPM (Resolves #984)Chris St. Pierre2011-01-271-20/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the ticket: I've attached a patch that does two things: 1. Uses xs3p (http://xml.fiforms.org/xs3p/), an XSLT stylesheet, to do transforms on the Bcfg2 DTD and automatically generates documentation on the DTD. I added a build_dtddoc command to setup.py that performs the transforms using lxml.etree and puts the resulting HTML in build/dtd. I also added some documentation to bundle.xsd; it's not much, but should demonstrate the ease with which the DTD can be documented with this system in use. 2. I added both build_sphinx and build_dtddoc commands to the RPM specfile, and added a -doc subpackage to put the resulting HTML in. The specfile builds successfully on CentOS 5 and Fedora 13. There are a couple of known issues: 1. The output from xs3p uses pop-ups to present documentation on non-global components, which, due to the way the Bcfg2 DTD is written, is most of them. This is ugly. It could be improved by modifying the XSLT, but I'm not a web designer and wasn't sure the best way to present that information. Either way, this is a start. 2. The python-sphinx10 package in EPEL 5 apparently has a bug where it fails to add itself to sys.path after installing. There's some ugliness in the spec file to get around that. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* schema: Add support for verify attribute (Resolves Ticket #883)Sol Jerome2011-01-231-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Support ability to pass parameters to Upstart servicesJoe Digilio2011-01-221-0/+1
|
* POSIX: Remove client-side support for old POSIX typesSol Jerome2010-10-181-26/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* schemas/deps.xsd: Deprecate old configuration entries in Deps schema ↵Sol Jerome2010-10-071-12/+3
| | | | | | | | (Reported by Mike McCallister in Ticket #950) Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6083 ce84e21b-d406-0410-9b95-82705330c041
* Repo validate fails for Path type="ignore"Tim Laszlo2010-09-041-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6050 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Document new knobs and added schema validatorTim Laszlo2010-08-041-5/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6000 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow xinclude and add XML error handlingTim Laszlo2010-07-301-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow for whitelistingTim Laszlo2010-07-301-3/+7
| | | | | | | Patch from IRConan to allow for whitelisted packages in sources. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
* fix bundle schema (reported by gregcoit)Narayan Desai2010-07-081-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5960 ce84e21b-d406-0410-9b95-82705330c041
* Add the ability to specify important entries via info/info.xmlSol Jerome2010-06-221-2/+3
| | | | | | | | | | | | We currently have 'important' entries specified only inside the code for various client tools. This provides no room for growing that list outside of adding things to the code itself. With this change, users can now specify important entries via an additional attribute in their info.xml files. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5957 ce84e21b-d406-0410-9b95-82705330c041
* Tighten schema for package entries in Rules (Resolves root cause of #894)Narayan Desai2010-06-211-1/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5945 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Remove old 'restart' attributeSol Jerome2010-06-141-1/+0
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5930 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement support for recommended packages in APTSourcesNarayan Desai2010-04-171-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5826 ce84e21b-d406-0410-9b95-82705330c041
* Packages: implement blacklist functionalityNarayan Desai2010-04-081-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5809 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Validate nested Group tags in info.xml filesSol Jerome2010-03-071-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5755 ce84e21b-d406-0410-9b95-82705330c041
* packages.xsd: Make Version and Component option (Necessary for RawURLs)Sol Jerome2010-03-061-3/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5753 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Add missing attributes 'prune' and 'to'Sol Jerome2010-02-161-0/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5727 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Schema updatesSol Jerome2010-01-286-70/+1
| | | | | | | | | | * Remove old translation schema for bcfg1 * Remove old POSIX entries * Remove toolsetType schema since it's no longer used Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5708 ce84e21b-d406-0410-9b95-82705330c041
* schemas: Fix BoundPath schema for Bundles (Reported by gregcoit on irc) [bugfix]Sol Jerome2010-01-272-2/+11
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5705 ce84e21b-d406-0410-9b95-82705330c041
* schema: Add altsrc attribute for Path entriesSol Jerome2009-12-021-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5609 ce84e21b-d406-0410-9b95-82705330c041
* schema: Group name attribute required for Pkgmgr listings (Reported by Bruce ↵Sol Jerome2009-12-021-1/+1
| | | | | | | | Bush) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5607 ce84e21b-d406-0410-9b95-82705330c041
* Schema: Add support for Path entries in BaseSol Jerome2009-11-121-0/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5576 ce84e21b-d406-0410-9b95-82705330c041
* Schema: Add missing 'to' attribute for Path entries (Reported by Thorsten ↵Sol Jerome2009-11-111-0/+1
| | | | | | | | Lockert) [bugfix] Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5571 ce84e21b-d406-0410-9b95-82705330c041
* Schema: Add missing element/attributes [bugfix]Sol Jerome2009-11-112-0/+3
| | | | | | | | | | * Add missing 'prune' attribute for Path entries * Allow for Path entries to be grouped in Rules (Reported by Thorsten Lockert) * Add 'target' attribute for new service mode Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5570 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add support for all new POSIX types in the client codeSol Jerome2009-10-161-1/+6
| | | | | | | | | | | The client should now understand old and new POSIX entries. It is compatible with 0.9.6, 1.0 using POSIXCompat, and new 1.0 Path entries. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5485 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add block/character/fifo devices (ticket #477)Sol Jerome2009-10-013-4/+14
| | | | | | | | | | This commit adds support for posix device types via Path entries in Bundler. The 'type' attribute for Path entries is now all lowercase. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5470 ce84e21b-d406-0410-9b95-82705330c041
* schema: Add description attribute for Bundles (ticket #689)Sol Jerome2009-09-291-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5469 ce84e21b-d406-0410-9b95-82705330c041
* schema: Add schema for Path entriesSol Jerome2009-09-263-0/+34
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5466 ce84e21b-d406-0410-9b95-82705330c041
* Schema: Add restart attribute to the servicetype schemaSol Jerome2009-09-251-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5463 ce84e21b-d406-0410-9b95-82705330c041
* Client Metadata schema: Add auth attribute to client schema (Fix from Mike ↵Sol Jerome2009-07-301-0/+1
| | | | | | | | McCallister) Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5395 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns: support activation of multiple groups from a single patternNarayan Desai2009-07-161-8/+13
| | | | | | | Add support for the addition of multiple new group memberships based on a single pattern (of either type). Alsa add support in the schema. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5336 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns: implement NodeRange (node[[001-096,099]]) supportNarayan Desai2009-07-151-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5330 ce84e21b-d406-0410-9b95-82705330c041
* GroupPatterns plugin: initial implementationNarayan Desai2009-07-151-0/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5327 ce84e21b-d406-0410-9b95-82705330c041
* Implement RawURL supportNarayan Desai2009-06-111-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5271 ce84e21b-d406-0410-9b95-82705330c041
* Schema update from TimL (related to the service schema change)Narayan Desai2009-05-181-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5243 ce84e21b-d406-0410-9b95-82705330c041
* SSL: add auth entry to metadata schemaNarayan Desai2009-05-061-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5197 ce84e21b-d406-0410-9b95-82705330c041
* schema updatesNarayan Desai2009-03-232-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5138 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Implement schema verificationNarayan Desai2009-03-221-0/+32
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5137 ce84e21b-d406-0410-9b95-82705330c041
* Service type attribute is requiredSol Jerome2009-03-031-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5096 ce84e21b-d406-0410-9b95-82705330c041
* Add BoundEntry support to bundle schemaSol Jerome2009-02-2713-147/+158
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5090 ce84e21b-d406-0410-9b95-82705330c041
* Add schema support for new Decisions pluginNarayan Desai2008-10-081-0/+23
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4934 ce84e21b-d406-0410-9b95-82705330c041
* make old ping data in metadata schema explicitly optionalNarayan Desai2008-07-281-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4827 ce84e21b-d406-0410-9b95-82705330c041
* Switch portage package type in schema to correspond with the portage driverNarayan Desai2008-07-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4758 ce84e21b-d406-0410-9b95-82705330c041
* correct base schema to allow global entries (Resolves Ticket #525)Narayan Desai2008-03-091-1/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4409 ce84e21b-d406-0410-9b95-82705330c041
* deprecate PostInstalls (in schemas and Core.py) -- Actions can be used insteadNarayan Desai2008-03-092-5/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4408 ce84e21b-d406-0410-9b95-82705330c041
* Implement sequence number support for services (Patch from DanP) (Resolves ↵Narayan Desai2008-01-301-0/+1
| | | | | | Ticket #504) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4309 ce84e21b-d406-0410-9b95-82705330c041
* Implement xml schema checks for info.xml files (from Sol Jerome) (Resolves ↵Narayan Desai2008-01-211-0/+35
| | | | | | Ticket #514) [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4269 ce84e21b-d406-0410-9b95-82705330c041