Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/ Contribution/Scout Git Scripts"

Line 1: Line 1:
''Unfortunately these scripts don't work anymore since we moved to Gerrit.''
+
{{Warning|Depreciated|Unfortunately these scripts don't work anymore since the scout repositories where moved to Gerrit, this page is outdated. See {{FixedBug|405213}}}}
  
 
'''For RT:'''  
 
'''For RT:'''  

Revision as of 03:59, 15 May 2013

Warning2.png
Depreciated
Unfortunately these scripts don't work anymore since the scout repositories where moved to Gerrit, this page is outdated. See bug 405213


For RT:

  • Allow non-FF on any branch:
    git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allownonffpush true
  • Allow any branch to be deleted:
    git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletebranch true
  • Allow any branch to be created:
    git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowcreatenottopicbranch true
  • Allow any tag to be deleted:
    git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletetag true
  • Remove all hook configs:
    git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --remove-section hooks

For SDK:

  • Allow non-FF on any branch:
    git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allownonffpush true
  • Allow any branch to be deleted:
    git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletebranch true
  • Allow any branch to be created:
    git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowcreatenottopicbranch true
  • Allow any tag to be deleted:
    git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletetag true
  • Remove all hook configs:
    git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --remove-section hooks

Back to the top