Transfer to SourceForge: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 11: Line 11:
  Enter passphrase for key '/root/.ssh/id_dsa':  
  Enter passphrase for key '/root/.ssh/id_dsa':  
  Changing to: /home/frs/project/n/ns/nst/
  Changing to: /home/frs/project/n/ns/nst/
  sftp> mkdir "NST/NST v2.11.0"
  sftp> mkdir "NST/NST v2.13.0"
  sftp> ls NST
  sftp> ls NST
  NST/NST v1.8.0      NST/NST v1.8.1      NST/NST v2.11.0
  NST/NST v1.8.0      NST/NST v1.8.1      NST/NST v2.13.0
  sftp> cd "NST/NST v2.11.0"
  sftp> cd "NST/NST v2.13.0"
  sftp> lcd ../nst-2.11.0
  sftp> lcd ../nst-2.13.0
  sftp> lls
  sftp> lls
  nst-2.11.0.i586.iso     nst-vm-appliance-2.11.0.i586.zip
  nst-2.13.0.i586.iso     nst-vm-appliance-2.13.0.i586.zip
  nst-2.11.0.tar.gz     nst-vm-live-2.11.0.i586.zip
  nst-2.13.0.tar.gz     nst-vm-live-2.13.0.i586.zip
  nst-minimal-2.11.0.i586.iso
  nst-minimal-2.13.0.i586.iso release-notes-2.13.0.txt
  sftp> put nst-2.11.0.tar.gz
  sftp> put release-notes-2.13.0.txt
  ... Output as source is uploaded ...
  ... Output as source is uploaded ...
  sftp> put nst-minimal-2.11.0.i586.iso
sftp> put nst-2.13.0.tar.gz
... Output as source is uploaded ...
  sftp> put nst-minimal-2.13.0.i586.iso
  ... Output as ISO is uploaded ...
  ... Output as ISO is uploaded ...
  sftp> put nst-2.11.0.i586.iso
  sftp> put nst-2.13.0.i586.iso
  ... Output as ISO is uploaded ...
  ... Output as ISO is uploaded ...
  sftp> put nst-vm-live-2.11.0.i586.zip
  sftp> put nst-vm-live-2.13.0.i586.zip
  ... Output as VMware configuration is uploaded ...
  ... Output as VMware configuration is uploaded ...
  sftp>
  sftp>


NOTE: In the past, we've had user's start to download files before they were fully transferred. To avoid this, you can transfer the files to the ''OldFiles'' directory first and then use the '''rename''' command to make the files "instantly" appear in the download area.
NOTE: In the past, we've had user's start to download files before they were fully transferred. To avoid this, you can transfer the files to the ''OldFiles'' directory first and then use the '''rename''' command to make the files "instantly" appear in the download area.

Revision as of 15:20, 6 October 2010

At this point you can start transferring files to SourceForge. The make -C yum sftp-sf can be used to simplify this task (NOTE: It defaults to Nautilus if the DISPLAY variable is set, unset DISPLAY to remain on the command line).

[root@nst-dev-32 repo]# (unset DISPLAY; make -C yum sftp-sf)
make: Entering directory `/root/repo/yum'
if [ -z "" ]; then \
	  sftp pblankenbaker,nst@frs.sourceforge.net:/home/frs/project/n/ns/nst/; \
	else \
	  nautilus ssh://pblankenbaker,nst@frs.sourceforge.net/home/frs/project/n/ns/nst/; \
	fi
Connecting to frs.sourceforge.net...
Enter passphrase for key '/root/.ssh/id_dsa': 
Changing to: /home/frs/project/n/ns/nst/
sftp> mkdir "NST/NST v2.13.0"
sftp> ls NST
NST/NST v1.8.0      NST/NST v1.8.1      NST/NST v2.13.0
sftp> cd "NST/NST v2.13.0"
sftp> lcd ../nst-2.13.0
sftp> lls
nst-2.13.0.i586.iso	     nst-vm-appliance-2.13.0.i586.zip
nst-2.13.0.tar.gz	     nst-vm-live-2.13.0.i586.zip
nst-minimal-2.13.0.i586.iso release-notes-2.13.0.txt
sftp> put release-notes-2.13.0.txt
... Output as source is uploaded ...
sftp> put nst-2.13.0.tar.gz
... Output as source is uploaded ...
sftp> put nst-minimal-2.13.0.i586.iso
... Output as ISO is uploaded ...
sftp> put nst-2.13.0.i586.iso
... Output as ISO is uploaded ...
sftp> put nst-vm-live-2.13.0.i586.zip
... Output as VMware configuration is uploaded ...
sftp>

NOTE: In the past, we've had user's start to download files before they were fully transferred. To avoid this, you can transfer the files to the OldFiles directory first and then use the rename command to make the files "instantly" appear in the download area.