summaryrefslogtreecommitdiff
path: root/lib/API
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-17 19:22:25 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-17 19:22:25 -0700
commite8500273c206df871c82a72b4824b9174067d58b (patch)
treef221f292b0fe6595955d0ab42c481cb30292a74c /lib/API
parent00a5902b22ba9a82b4113f97f23f6fd8d9e93858 (diff)
downloadp5-API-GitForge-e8500273c206df871c82a72b4824b9174067d58b.tar.gz
add TODO
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'lib/API')
-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.