hpr3797 :: How to submit changes to HPR
rho_n shows Ken how to submit changes to the new HPR static site.
Hosted by Ken Fallon on Tuesday, 2023-02-21 is flagged as Clean and is released under a CC-BY-SA license.
git, hpr, code, pull request.
5.
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:31:35
general.
HPR is switching to a static site and in today's show Rho`n explains to Ken how to submit changes to the code.
[user@pc fix]$ git clone gitea@repo.anhonesthost.net:HPR/hpr_generator.git
[user@pc fix]$ cd hpr_generator/
[user@pc hpr_generator]$ git status
[user@pc hpr_generator]$ git checkout -b I70_Fix_links_to_audio
Edit the files. Once complete:
[user@pc hpr_generator]$ git add file/to/commit
[user@pc hpr_generator]$ git commit
[user@pc hpr_generator]$ git push origin I70_Fix_links_to_audio
You can now login to the HPR/hpr_generator git repo and you should be able to see several branches.
Next to your branch you can press New Pull Request
Review your changes and if you're happy press the green New Pull Request
Fill in the description and a detailed comment
Use the HPR convention [<issue number>] <brief_description> The brief description is usually based on the title of the issue
When Create Pull Request
To switch back to the main branch
$ git checkout main Switched to branch 'main' Your branch is up to date with 'origin/main'.
To delete the branch locally
$ git branch -D I70_Fix_links_to_audio Deleted branch I70_Fix_links_to_audio (was 280ece7).
For more Developer Information see Project Principles
In order to contribute you need to create an account, but you also need to notify the admins@hpr either via email, mastodon, or matrix that you have created an account. Due to the level of spam accounts we need to approve each one by one.