[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ROCm - manifest added, git-repo working :)



I am starting to be happy about the workflow. Added a manifest at the
root of rocm-team/community/team-project, copying what AMD ROCm does
with git-repo [1] (it is in Debian contrib archives).
There is no mapping with AMD ROCm manifest yet [2].

git-repo may be a lesser git submodule, I never worked with submodules.
I wanted to fix a wrong maintainer address in all of ROCm high-level
libraries. It was a matter of:

```bash
repo init -u https://salsa.debian.org/rocm-team/community/team-project
repo sync
repo forall -c "git checkout pristine-tar && git checkout upstream && git checkout master"
repo forall -c "sed -i 's/team+rocm-team@tracker.debian.org/debian-ai@lists.debian.org/' debian/control"
repo forall -c "git commit -am 'Update maintainer address to debian-ai@l.d.o.' && git push rocm-team master"
```

This is not much, but it felt nice!
Especially, thinking that, with the watch files in place, two shell
commands could in theory update ROCm Debian packaging automatically
for next ROCm release. Of course in practice everything will break, c'est
Murphy qui l'a dit 🙃.

BR, Maxime

[1] https://gerrit.googlesource.com/git-repo
[2] https://salsa.debian.org/rocm-team/community/rocm-builder#git-repo

Reply to: