Neko Miko Reimu, we love you

This commit is contained in:
Izuru Yakumo ~Eternal Servant~ 2025-04-10 19:47:19 -03:00
parent 782904d9db
commit 86ac86a42a
3 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,7 @@ $git_host = "https://git.yakumo.dev"
$git_passwd = "";
$git_user = "";
@repos = { "aya", "chen" };
$reporoot = "";
```
## Diagnostics

View File

@ -6,12 +6,17 @@ use warnings;
my $git_host;
my $git_passwd;
my $git_user;
my $reporoot;
my @repos;
do "$ENV{HOME}/.config/svn2git-sync.conf" or die "Can't load config file";
chdir($reporoot);
foreach my $r (@repos) {
print "Processing $r\n";
system("git -C $r svn --quiet rebase");
system("git -C $r push --quiet https://$git_user:$git_passwd\@$git_host/$git_user/$r");
}
chdir($ENV{OLDPWD});

View File

@ -0,0 +1,7 @@
# vim: syntax=perl
# -*- mode: perl -*-
$git_host = "https://git.example.com";
$git_pass = "nekomikoreimu";
$git_user = "hakurei.reimu";
$reporoot = "/home/user/git";
@repos = { "nekomikoreimu" };