Outstanding issues, blackmagic-debug organization-wide
See these 404 links in:
- hacking/target-cortex-a.md:
These bits may need to change for devices other than Zynq-7000:
Cache line length: https://github.com/blackmagic-debug/blackmagic/blob/main/src/target/cortexa.c#L77
Reset implementation: https://github.com/blackmagic-debug/blackmagic/blob/main/src/target/cortexa.c#L555
- This one (I suspect they was a target file rename, but I didn't chase it as the updated file & line was not immediately obvious.) in hacking/target-drivers.md:
-
What to do with GitHub sponsor links?
A: see Discord, leaving it for now.
-
Move Wki file contents (e.g. pdf links). See blackmagic-debug/blackmagic#2202
A: Wiki Is retired. Files should be moved to assets.
-
API Links such as this one:
https://api.github.com/repos/blackmagic-debug/blackmagic/releases
-
githubusercontent links, such as this one:
https://raw.githubusercontent.com/blackmagic-debug/bmputil/refs/heads/main/src/metadata/metadata.schema.json
Note the double src added to this after multiple trial-and-error attempts to simplify (see discord discussion):
https://codeberg.org/blackmagic-debug/blackmagic/src/src/platforms/hydrabus/README.md
The default URL when browsing to the same file is instead:
https://codeberg.org/blackmagic-debug/blackmagic/src/branch/main/src/platforms/hydrabus/README.md
Note that this, although the sytax has worked elsewhere, did NOT work for this link using just one src:
https://codeberg.org/blackmagic-debug/blackmagic/src/platforms/hydrabus/README.md
Progress Check
I have all the BM repos in my local codeberg directory and at that root, contains this check_migration.sh file:
#!/bin/bash
grep -Rni "github" . \
--exclude-dir=".git" \
--exclude-dir=".vs" \
--exclude="Cargo.lock" \
| grep -Ev "github.com/sponsors/esden|github.com/sponsors/dragonmux" \
| grep -E "blackmagic-debug|raw\.githubusercontent"
Find all instances of "github", except for some directories and files; then from that result set show only the ones that contain the text "blackmagic-debug" or "raw.githubusercontent" .
This one may also be helpful to check codeberg links that still related to github:
grep -Rni "codeberg" . \
--exclude-dir=".git" \
--exclude-dir=".vs" \
--exclude="Cargo.lock" \
| grep -E "github"
## Outstanding issues, `blackmagic-debug` organization-wide
See these 404 links in:
1) [hacking/target-cortex-a.md](https://codeberg.org/blackmagic-debug/pages/src/commit/0c182ad7f8c7a066c2477a59496ffb74f4440516/hacking/target-cortex-a.md):
> These bits may need to change for devices other than Zynq-7000:
> Cache line length: https://github.com/blackmagic-debug/blackmagic/blob/main/src/target/cortexa.c#L77
> Reset implementation: https://github.com/blackmagic-debug/blackmagic/blob/main/src/target/cortexa.c#L555
2) This one (I suspect they was a target file rename, but I didn't chase it as the updated file & line was not immediately obvious.) in [hacking/target-drivers.md](https://codeberg.org/blackmagic-debug/pages/src/commit/0c182ad7f8c7a066c2477a59496ffb74f4440516/hacking/target-drivers.md):
> * The generic logic for Cortex-A parts which is found in
> [`target/cortexa.c`](https://github.com/blackmagic-debug/blackmagic/blob/main/src/target/cortexa.c).
3) What to do with GitHub sponsor links?
A: see Discord, leaving it for now.
4) Move Wki file contents (e.g. pdf links). See https://codeberg.org/blackmagic-debug/blackmagic/issues/2202
A: Wiki Is retired. Files should be moved to assets.
5) API Links such as [this one](https://codeberg.org/blackmagic-debug/summon-blackmagic/src/commit/5bad1dad2a5f59e07f2f03e77ee365db0226960e/summon/github.py#L39):
```https://api.github.com/repos/blackmagic-debug/blackmagic/releases```
6) githubusercontent links, such as [this one](https://codeberg.org/blackmagic-debug/summon-blackmagic/src/commit/5bad1dad2a5f59e07f2f03e77ee365db0226960e/summon/__init__.py#L49):
```https://raw.githubusercontent.com/blackmagic-debug/bmputil/refs/heads/main/src/metadata/metadata.schema.json```
## Wonkiness (Codeberg bug? A: no, see comment below)
Note the double `src` added to this after multiple trial-and-error attempts to simplify (see discord discussion):
https://codeberg.org/blackmagic-debug/blackmagic/src/src/platforms/hydrabus/README.md
The default URL when browsing to the same file is instead:
https://codeberg.org/blackmagic-debug/blackmagic/src/branch/main/src/platforms/hydrabus/README.md
Note that this, although the sytax has worked elsewhere, did NOT work for this link using just one `src`:
https://codeberg.org/blackmagic-debug/blackmagic/src/platforms/hydrabus/README.md
## Progress Check
I have all the BM repos in my local `codeberg` directory and at that root, contains this `check_migration.sh` file:
```
#!/bin/bash
grep -Rni "github" . \
--exclude-dir=".git" \
--exclude-dir=".vs" \
--exclude="Cargo.lock" \
| grep -Ev "github.com/sponsors/esden|github.com/sponsors/dragonmux" \
| grep -E "blackmagic-debug|raw\.githubusercontent"
```
Find all instances of "github", except for some directories and files; then from that result set show only the ones that contain the text "blackmagic-debug" or "raw.githubusercontent" .
This one may also be helpful to check codeberg links that still related to github:
```
grep -Rni "codeberg" . \
--exclude-dir=".git" \
--exclude-dir=".vs" \
--exclude="Cargo.lock" \
| grep -E "github"
```