Tree [c8509f] master /
 History

HTTPS access


File Date Author Commit
 README 2015-10-13 Chih-Wei Huang Chih-Wei Huang [457ff7] add tips and document the options
 login-sf 2009-12-08 Chih-Wei Huang Chih-Wei Huang [c88594] initial commit
 push-sf 2016-10-05 Chih-Wei Huang Chih-Wei Huang [c8509f] Use new osdn domain

Read Me

This is a helper script to push Android-x86 into SourceForge git server.

Usages:

* In the top directory of the Android-x86 tree, clone the push script
  from SourceForge repository:

  $ git clone git://android-x86.git.sf.net/gitroot/android-x86/push.git

* Switch manifest.xml to the branch you want to push:

  $ cd .repo/manifests
  $ git checkout <branch>
  $ cd ../..

* Push all projects of the specified branch in manifest.xml

  $ push/push-sf

* Push some specified projects

  $ push/push-sf <project1> <project2> ...

  e.g.,

  $ push/push-sf bionic frameworks/base system/core

* Push a specified branch (regradless the branch of manifest.xml)

  $ push/push-sf -d <branch> <project1> <project2> ...

  e.g.,

  $ push/push-sf -d donut-x86 frameworks/base

* How to use SourceForge mirror?

  $ mkdir android-x86
  $ cd android-x86
  $ repo init -u git://android-x86.git.sf.net/gitroot/android-x86/manifest.git
  $ repo sync

  To checkout another branch, say donut-x86, add -b option to repo init:

  $ repo init -u git://android-x86.git.sf.net/gitroot/android-x86/manifest.git -b donut-x86

* Tips:

  - List all x86 projects:

  $ push/push-sf -c 'eval echo $path' x86

  or

  $ push/push-sf -l path

  - List all non-x86 projects:

  $ push/push-sf -i -c 'eval [ "$remote" != "x86" ] && echo $path' | grep -v Failed

  or

  $ push/push-sf -i -l path

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks