srcinfo-cache: detect changes in sourced scripts
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
We have some PKGBUILD files which source some shared scripts like https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-PKGBUILD-common
We currently don't detect changes to those scripts.
Something like this should work:
$ bash -cx "source PKGBUILD" 2>&1 | sed -n 's/^+* \(source\|\.\) //p'
PKGBUILD
./../mingw-w64-PKGBUILD-common/kde-frameworks5
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 tracing the srcinfo-cache entry point and reproduce the shown bash command to see how sourced paths are reported. Follow how PKGBUILD changes are currently detected, then make changes to sourced shared scripts trigger the same cache update behavior; done means the example shared script is detected as an input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100