Skip to content

drossy/pan

 
 

Repository files navigation

Pan Configuration Language Compiler

The pan configuration language allows system administrators to define simultaneously a site configuration and a schema for validation. As a core component of the Quattor fabric management toolkit, the pan compiler translates this high-level site configuration to a machine-readable representation, which other tools can then use to enact the desired configuration changes.

Documentation

All of the pan language and pan language compiler documentation is now hosted on the ReadTheDocs service. Via that service, you can also download PDF and EPUB versions of the documentation.

Release Procedure

To generate all supported packages, the release build must be performed on a CentOS (or compatible) machine with the rpmbuild command installed. Ensure also that a recent, certified version of the JVM (1.6+) and maven (3.0.3+) are installed.

Before doing anything else, ensure that the release notes and the change log for the release are up to date and complete. The source is in the panc-docs/source/release-notes/release-notes.rst file. The change log should list all of the issues resolved in the release.

Clone this repository to your build machine and then verify that the full build runs correctly. Run the following command from the top-level of the cloned repository:

$ mvn clean install

If this doesn't end with a "BUILD SUCCESS" message, then correct the problems before going any farther with the release.

To perform the release you must have:

  • A registered GPG key installed on your build machine.
  • Write access to this repository (for tagging).
  • Access to the Sonatype OSS maven repository as a Quattor member.

If this is the case, then use the normal maven procedures for preparing and performing a release:

$ mvn clean
$ mvn release:prepare
$ mvn release:perform

During the preparation phase you will be asked about the versions to tag and for your GPG key password. You will also be asked about the GPG key password during the perform stage.

If all worked without errors, then the packages will have been successfully staged to the OSS maven repository. You will need to log into the repository to promote and release the artifacts. Once logged in:

  • Click on "Staging Repositories" in left panel.
  • Select the "orgquattor" repository in the list.
  • Click on "Close" at the top below the tabs, give a message and confirm the action.
  • Wait for the action to finish. You can click on "Refresh" to update the status.
  • Finish the release by clicking "Release" at the top below the tabs. You have now successfully released all of the artifacts into the central maven repository.

You must also create the release in GitHub. Collect all of the files you will distribute as part of the release. The list includes:

  • Jar file with dependencies,
  • Tar archive,
  • Zip archive, and
  • RPM package Put them on the machine you'll use to access the GitHub web interface.

Visit the pan releases page. You should see a tag that corresponds to the release that you've just created. Click on the tag link on this page and then on the "Edit Tag" button.

Now use the interface to upload the packages to GitHub. You can either drop and drag them into place or just select them with the chooser. Provide a title and description for the release and then click on the "Publish" button.

For the documentation, log into ReadTheDocs.org and add the tag for the release. Once added it will build automatically. You can then select the latest release as the default version to show.

To finish up, close the current milestone and create a new milestone in the pan repository for the next release.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Pan Language Compiler and Tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Smarty 93.8%
  • Java 5.7%
  • PostScript 0.2%
  • Clojure 0.1%
  • Perl 0.1%
  • HTML 0.1%