summaryrefslogtreecommitdiff
path: root/lib/API/GitForge/Role/GitForge.pm
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-03-09 12:18:11 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-03-09 12:18:11 -0700
commita5db6b2e61deb66fc31bc2cc6c9e405081522a00 (patch)
tree7afb6582e4bfbd70a6d86ad04d8beffb65b564fe /lib/API/GitForge/Role/GitForge.pm
parent87b20713db75d7b021d96298ac6c0d2dbab8cf2a (diff)
parenta7b92281eaa19d1d2e36c7d0fd4d1359a2469e99 (diff)
downloadp5-API-GitForge-a5db6b2e61deb66fc31bc2cc6c9e405081522a00.tar.gz
Merge tag 'v0.002' into debian
v0.002 # gpg: Signature made Mon 09 Mar 2020 12:17:55 PM MST # gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240 # gpg: issuer "spwhitton@spwhitton.name" # gpg: Good signature from "Sean Whitton <spwhitton@spwhitton.name>" [ultimate] # Primary key fingerprint: 8DC2 487E 51AB DD90 B5C4 753F 0F56 D055 3B6D 411B # Subkey fingerprint: 9B91 7007 AE03 0E36 E4FC 248B 695B 7AE4 BF06 6240
Diffstat (limited to 'lib/API/GitForge/Role/GitForge.pm')
-rw-r--r--lib/API/GitForge/Role/GitForge.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/API/GitForge/Role/GitForge.pm b/lib/API/GitForge/Role/GitForge.pm
index 933b166..bacc293 100644
--- a/lib/API/GitForge/Role/GitForge.pm
+++ b/lib/API/GitForge/Role/GitForge.pm
@@ -126,6 +126,10 @@ sub clean_fork {
$self->_clean_config_fork(@_);
+ # TODO use API to unprotect all branches in the fork. we still
+ # want to use git-push(1) to delete the branches, rather than
+ # using the API for that, because that's maximally compatible
+
# assume that if we had to create the gitforge branch, we just
# created the fork, so can go ahead and nuke all branches there.
# may fail if some branches are protected; that's okay.