Numerous changes:
- Add a command line option (-f) to specify an alternate configuration file.
- Whitespace and comment cleanup.
- Allow setting the $editor from the config file.
- Break out the fetching of valid must/may attributes for an object
class into a separate function
- Offer to re-enter the editor if there is an error during create or
edit, so changes aren't lost. Thanks to Alexander Perlis <aperlis@math.lsu.edu>
for the suggestion.
- Wrap the passwd command with connection retry.
- Change the version number to reflect semantic versioning
(http://semver.org), in preparation of the 1.0.0 release.
VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g")
release:
@mkdir shelldap-${VERSION}
@cp shelldap shelldap-${VERSION}
@hg log --style=changelog > shelldap-${VERSION}/ChangeLog
@pod2text shelldap > shelldap-${VERSION}/README
@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
@rm -rf shelldap-${VERSION}