Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide xtask command to build combined Gource file #95

Open
IsaacWoods opened this issue Feb 7, 2023 · 1 comment
Open

Provide xtask command to build combined Gource file #95

IsaacWoods opened this issue Feb 7, 2023 · 1 comment

Comments

@IsaacWoods
Copy link
Owner

IsaacWoods commented Feb 7, 2023

Visualising the whole project's history in Gource would be cool, which would involve merging multiple repositories into one tree. This is luckily quite easy in Gource; we just have to construct and sort logs for each repo, and then rename them. An example with the main repo + rust-osdev/acpi:

gource --output-custom-log gource_acpi.txt lib/acpi -s 0.1 -s 0.1               # Not sure if passing `-s 0.1 -a 0.1` does anything here
sed -i -r "s#(.+)\|#\1|/lib/acpi#" gource_acpi.txt                              # This renames the paths in the sub-repo
gource --output-custom-log gource_main.txt . -s 0.1 -a 0.1
cat gource_acpi.txt gource_main.txt | sort -n >gource.txt                       # Combine and sort all the entries
gource -a 0.1 -s 0.1 gource.txt

It would be cool to have an xtask command that could produce a Gource log that contained all of the repos that we consider part of the 'main' project, for some definition of that.

@IsaacWoods
Copy link
Owner Author

I've also just found out you can add captions to Gource very easily. We could have significant events (e.g. renamed to Poplar, support for riscv started, etc.) in Rust and then export them with unix timestamps for ease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant