Bash is not entirely stateless
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 146
- Avg merge
- 11h 7m
- Merged PRs (30d)
- 407
Description
Follow up from #3795. As Ikey pointed out:
The solus bash patch is broken
I tried a new approach in the serpent pkg:
https://github.com/serpent-os/recipes/blob/main/b/bash/pkg/stateless.patch
Also see the bashrc and profile files
They'll conditionally load stuff if necessary
Just need to add the checks for ~/.bashrc in the vendor profile files basically
Replace /etc/skel/{.bashrc,.profile} files with properly stateless patches
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing /etc/skel/{.bashrc,.profile} files and the referenced stateless.patch approach, along with the vendor profile files mentioned in the issue. Compare them with the Solus and Serpent examples; done means the replacement patches conditionally load user configuration without making Bash stateful.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100