4.7 KiB
Rules for sox_ng issues
Usage
The master copy of the issues lives on Codeberg.
You can make a local copy of them into the issues subdirectory
by going
sh issues/getissues.sh
which fetches each issue into an .md file named according
to the issue's title, and its metadata and attachments into
a directory of the same name without the .md suffix.
If you migrate the Codeberg repository to another Forgejo instance,
attachments to issues do not make it
forgejo issue 4787
but if pincopallino has made a migration on codeberg.org,
they can be restored from the copy made above by going:
issues/putissues.sh codeberg.org/pincopallino/sox_ng -f
where -f means "don't worry if the issue ids don't match."
Like the wiki, it has a script makehtml.sh to make HTML pages of the issues.
In future, the master copy of the issue database will live in the source repository and the web version will be a copy of it (#80) but for the moment the preferred way to edit the issues is via the web interface.
Working offline
It is possible to make a new issue locally from the command line by creating
issues/"Don't worry, be happy".md and, if you want, a directory
issues/"Don't worry, be happy" with files milestone, labels etc.
If the issue persists, when online you can say issues/putissues.sh
using your Codeberg username and password and it will fill in
the number file with whatever forgejo assigns it.
If you've downloaded the interesting issues, you can modify their .md
files, add attachments, change labels and so on and when online
issues/putissues.sh will replace the contents on Codeberg with yours,
deleting anything that has been updated there except for comments.
Something gitty or diffy is being thought of, like keeping a separate copy
of each issue as it was downloaded and diffing those against the upstream
versions when thinking of updating an element of an issue.
Format of an issue
Title
A one-liner, as short as possible.
For the issue downloader to work on Windows and MS/DOS, you should avoid slash, backslash, colon and double quotes.
If a new issue has the same cause as an existing one,
its title (not its first line) should end =#35
so that the summary of issues says where to go for the best info.
Description
The first line of every issue is # Title, the same as the Title.
The second-level headings are usually
## Links, ## Description, ## Repeat by, ## Results,
## Analysis and ## Conclusion.
Commit hashes should be cited as their first seven digits because that makes it easier to search for them with precision.
In the content, semantic line breaks
and less-than-80-column lines are preferred to long lines
so that the .md version is more readable.
Unfortunately, forgejo renders all line breaks in its pages
for the issues even though it doesn't do this to the wiki.
The Markdown Guide
recommends ending a line with two spaces or <BR>
to get an explicit line break. forgejo viewing an
.md file in the source tree doesn't honour double spaces,
but the forgejo wiki and makehtml.sh (i.e. multimarkdown) do.
For further info on the Markdown used in issues and the wiki see RULES-wiki.md
Attachments
Test files (small ones only please!) and patches need to be attached to the main description as comments are not downloaded. Locally they are stored in Title/assets/.
Comments
Issue comments are not downloaded.
If people add them on the web version, other webby people can edit the wisdom in them into the main description; that way our command-line friends get the best version of the problem description and are spared wading through the chitchat in search of gems.
Big attachments that most people don't want to download can be attached to comments using the Forgejo web interface.
Milestone
All issues should have a milestone, one of:
microfor bug fixesminorfor enhancementsmajorfor non backward-compatible changesreleaseif it regards the SoX_ng project's infrastructure
Milestones micro or minor are used instead of
the conventional labels bug or enhancement.
Labels
All optional:
bounty: Someone has offered money to whoever resolves this issuebugfix: This repairs a defect in SoXcopyright: The issue impacts onsox_ng's copyright statusduplicate: This report has the same cause as another issue; go thereinvalid: This reported bug does not affectsox_ngneedswork: All info seems to be in, but work is neededpatch: A solution is available, maybe as an attached patchunconfirmed: We have heard of a bug but not yet seen whether it bites us