rule website: edit on GitHub doesn't work for library rules (missing namespace)
Open
Nobody has claimed this yet.
bug
rule website
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 726
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 7
Description
example link: https://mandiant.github.io/capa/rules/calculate-modulo-256-via-x86-assembly.html
https://github.com/mandiant/capa/blob/db4798aaf6d37abfd137b9dff2391088b1030cdd/web/rules/scripts/build_rules.py#L51
Contributor guide
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 with web/rules/scripts/build_rules.py at line 51 and inspect how the edit-on-GitHub URL is generated for the example library rule page. Compare the generated URL with the example page and verify that the corrected link includes the required namespace and works for library rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100