Init
This commit is contained in:
39
README.md
Normal file
39
README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
To create a persistent pod
|
||||
|
||||
```
|
||||
podman create -it --name rocky-9-man -v $(pwd):/data/ rockylinux:9 /bin/bash
|
||||
podman exec -it rocky-9-man /bin/bash
|
||||
```
|
||||
|
||||
To create a temp pod
|
||||
|
||||
```
|
||||
podman run --rm -it -v $(pwd):/data/ rockylinux:9 /bin/bash
|
||||
```
|
||||
|
||||
Then `cd /data`
|
||||
|
||||
Install Dependencies
|
||||
|
||||
```
|
||||
dnf install -y epel-release
|
||||
dnf install -y python3 python3-dnf python3-rpm python3-requests python3-pip python3-jinja2 python3-aiohttp python3-zstandard mandoc
|
||||
```
|
||||
|
||||
Set alternative python if you need to
|
||||
|
||||
```
|
||||
alternatives --set python $(which python3)
|
||||
```
|
||||
|
||||
And run
|
||||
```
|
||||
python3 rocky_man.py
|
||||
```
|
||||
|
||||
This will download all appstream and baseos for 9.5 and 8.10 into ./tmp and the finished html will be saved to ./html.
|
||||
|
||||
TODO:
|
||||
- Add async
|
||||
- Investigate "Error downloading package: 'utf-8' codec can't decode byte 0xe2 in position 220: invalid continuation byte"
|
||||
- Delete files after they have been processed or at the end
|
||||
Reference in New Issue
Block a user