Largely notes to myself.
-
Copy the file
functions.py
tofubar.py
-
Edit the file
fubar.py
. In the functionmyjson()
changejsonfile = 'yjl-sysusers.json'
tojsonfile = 'fubar.json'
-
Further edit
fubar.py
. In the functionmain()
changeif myuid != 0:
toif myuid == 0:
-
Whatever JSON file you want to work with, copy it to
fubar.json
You can test the integrity of the JSON via:
python3 fubar.py --bootstrap
You can test what it does when given arguments by:
python3 fubar.py [options] somename
When done hacking, remember to run pylint
on fubar.py
and fix
what is reasonable, integrate any changes into functions.py
(using the diff
command is useful) other than Steps 2 and 3 above,
and if applicable, merge any JSON changes.
Mostly notes to myself. I have poor short term memory.
Before pull request merging development into main:
-
Make sure both man pages reflect any changes.
-
Make sure to update
Modified:
date in both man pages (line 6). -
Make sure to update the Month, year, and version in both man pages (
.TH
line 10) -
run the script
make-docs.sh
(inside thedocs
dir) to regenerate the markdown pages. -
Hand edit the resulting Markdown pages so they look good in both a console as plain text, and in github markdown web viewer.
-
Make sure version is correct in
yjl-sysusers.spec
file (the%global gitv
in first line) -
Make sure version is correct in README.md
-
Merge into
master
branch -
create new tagged release
v
followed by version.