16 lines
452 B
V
16 lines
452 B
V
import git2
|
|
import gitea
|
|
|
|
fn main() {
|
|
bur_url := 'https://git.rustybever.be/bur/nheko-git.git'
|
|
mirror_url := 'https://aur.archlinux.org/nheko-git.git'
|
|
c := gitea.new('https://git.rustybever.be', '')
|
|
repo := c.org_repos('bur')!.filter(it.description == 'https://aur.archlinux.org/nheko-git.git')[0]
|
|
println(repo)
|
|
|
|
sync_repo(c, repo)!
|
|
|
|
// println(repos)
|
|
// repo := git2.clone('https://aur.archlinux.org/thisdefinitelydoesntexist.git', 'test')!
|
|
}
|