diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-10-29 15:46:00 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-10-29 15:46:00 (GMT) |
commit | 4d5fd7243b1c18cefb4dae51f1c5f9264dcfc8dc (patch) | |
tree | 499f55ae4246c9eb6ca57bc5adf00b4cdc7b5fde /lib/sugar/activity/bundlebuilder.py | |
parent | 15210f4cc497da080fd00a5089dc8bf802e4ea74 (diff) |
Remove activity uploading since it's not useful with the new build system.
Diffstat (limited to 'lib/sugar/activity/bundlebuilder.py')
-rw-r--r-- | lib/sugar/activity/bundlebuilder.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sugar/activity/bundlebuilder.py b/lib/sugar/activity/bundlebuilder.py index c2e3278..927b695 100644 --- a/lib/sugar/activity/bundlebuilder.py +++ b/lib/sugar/activity/bundlebuilder.py @@ -348,22 +348,6 @@ def cmd_release(bundle_name, manifest): print 'Creating the bundle...' cmd_dist(bundle_name, manifest) - if os.environ.has_key('ACTIVITIES_REPOSITORY'): - print 'Uploading to the activities repository...' - repo = os.environ['ACTIVITIES_REPOSITORY'] - - server, path = repo.split(':') - retcode = subprocess.call(['ssh', server, 'rm', - '%s/%s*' % (path, bundle_name)]) - if retcode: - print 'ERROR - cannot remove old bundles from the repository.' - - bundle_path = os.path.join(_get_source_path(), - _get_package_name(bundle_name)) - retcode = subprocess.call(['scp', bundle_path, repo]) - if retcode: - print 'ERROR - cannot upload the bundle to the repository.' - print 'Done.' def cmd_clean(): |