[Debian-ha-maintainers] [debian-ha - cluster-glue] [Task #514] Create shared repository

noreply at alioth.debian.org noreply at alioth.debian.org
Mon Apr 20 02:07:50 UTC 2015


Task #514 has been updated by Richard Winters.

Project: High Availability in Debian
Subproject: cluster-glue
Summary: Create shared repository
Complete: 100%
Status: Closed
Assigned: Richard Winters

Description: In an effort to get all of our subprojects organized, create a shared repository on Alioth for helping team members to collaborate.

Follow-Ups:

-------------------------------------------------------
Date: 2015-04-20 02:07
By: devrik-guest

>Comment:
Don't forget to re-enable the deny-fast-forwards feature again when done with updating the repository history:

  (on git.debian.org via ssh)
  $ cd /srv/git.debian.org/git/debian-ha/cluster-glue
  $ git config receive.denynonfastforwards true


-------------------------------------------------------
Date: 2015-04-20 02:03
By: devrik-guest

Comment:
Started repository by importing all previous versions:

1 Start repository by importing all previous versions:
  
  $ mkdir cluster-glue
  $ cd cluster-glue
  $ gbp import-dscs --debsnap --pristine-tar cluster-glue

2 Update it by importing new release
  
  $ gbp import-orig --pristine-tar ../tarballs/cluster-glue_1.0.12.orig.tar.bz2

3 If you had an existing repository and need to cherry-pick commits back on top 
  of new imported history, first add the path to the local/remote repository as 
  a remote named backup, then:

  $ git fetch backup
  $ git cherry-pick <sha-hash-of-commit-in-backup>

4 When ready, log in to git.debian.org via ssh, and cd to 
  /srv/git.debian.org/git/debian-ha/cluster-glue.git:

  $ git config receive.denynonfastforwards false
  $ git push origin :upstream
  $ git push origin :pristine-tar
  $ git push origin -f master
  $ git push origin upstream
  $ git push origin pristine-tar

5 Perhaps to make it easier, use eclipse or another GUI-Tool in order to update
  all tags, and be sure and overwrite existing tags if they exist on remote.

-------------------------------------------------------
For more info, visit:

https://alioth.debian.org/pm/task.php?func=detailtask&project_task_id=514&group_id=100322&group_project_id=332



More information about the Debian-ha-maintainers mailing list