Difference between revisions of "Hostsgen"

From ProgClub
Jump to: navigation, search
(Created page with "Hostsgen is the ProgClub /etc/hosts generation software. That's the software that generates /etc/hosts content for replaced hosts. For other projects see projects. =...")
 
Line 5: Line 5:
 
We use [[Versioning|semantic versioning]].
 
We use [[Versioning|semantic versioning]].
 
Latest production version: unreleased.
 
Latest production version: unreleased.
Latest development version: 0.1.0.
+
Latest development version: 0.1.
  
 
See [[#TODO|TODO]] for work that still needs to be done.
 
See [[#TODO|TODO]] for work that still needs to be done.

Revision as of 15:54, 25 June 2020

Hostsgen is the ProgClub /etc/hosts generation software. That's the software that generates /etc/hosts content for replaced hosts. For other projects see projects.

Status

We use semantic versioning. Latest production version: unreleased. Latest development version: 0.1.

See TODO for work that still needs to be done.

Motivation

Why this software?

We want old hostnames to point to new hosts when they are replaced.

Administration

Contributors

Non-members who have contributed to this project. Newest on top.

  • Max Saker

Members who have contributed to this project. Newest on top.

All contributors have agreed to the terms of the Contributor License Agreement. This excludes any upstream contributors who tend to have different administrative frameworks.

Copyright

Copyright © 2020, Contributors.

License

Licensed under the MIT license.

Components

Libraries, tools, services or media from third parties used under license:

  • Subversion
  • Node.js

Resources

Downloads

There are no downloads for this project, see source code.

Source code

The repository can be browsed online:

https://www.progclub.org/pcrepo/hostsgen/branches/0.1

The latest stable released version of the code will be available from:

https://www.progclub.org/svn/pcrepo/hostsgen/tags/latest/0.1

Or if you want the latest version for development purposes:

https://www.progclub.org/svn/pcrepo/hostsgen/branches/0.1

Links

N/A

Specifications

Functional specification

The functional specification describes what the project does.

See: notes.txt.

Technical specification

The technical specification describes how the project works.

The software is a JavaScript script which runs via Node.js. It processes a JSON file as input and produces /etc/hosts compatible output. For example input see good.json.

Notes

See versioning for information on our semantic version numbers.

Notes for implementers

If you are interested in incorporating this software into your project, here's what you need to know:

$ svn co https://www.progclub.org/svn/pcrepo/hostsgen/branches/0.1 hostsgen-0.1

Notes for developers

If you're looking to set up a development environment for this project here's what you need to know.

Get the latest code from the version branch:

$ svn checkout https://www.progclub.org/svn/pcrepo/hostsgen/branches/0.1 hostsgen-0.1

You can then run the unit tests like this:

$ cd hostsgen-0.1 && bin/test/test.sh

Note that you may need to install some dependencies, such as:

# apt install nodejs subversion

Send your patch to jj5@progclub.org along with a statement that you are willing to be listed in the contributors section of the documentation and willing to license your contribution under the license and agree to the terms.

Notes for administrators

To release a version of this project use the software itself.

First, run maintenance and commit any changes:

$ svnman commit

Then run the release:

$ bin/dev/release.sh

You will be prompted to update the project documentation.

Generated documentation

N/A at this time.