This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
userdoc:kup [2014-11-11 13:21] mricon [Uploading with kup] |
userdoc:kup [2017-05-11 16:55] mricon |
||
---|---|---|---|
Line 15: | Line 15: | ||
yum install kup | yum install kup | ||
+ | |||
+ | :!: **NOTE: Make sure the version of kup is at least 0.3.6, as earlier versions will NOT work.** | ||
You can also check out the git tree to obtain the latest version of kup: | You can also check out the git tree to obtain the latest version of kup: | ||
Line 22: | Line 24: | ||
===== Configuring kup ===== | ===== Configuring kup ===== | ||
- | Set your ''$HOME/.kuprc'' as follows (requires kup >= 0.3.2): | + | Set your ''$HOME/.kuprc'' as follows (**requires kup >= 0.3.6**): |
- | rsh = ssh -a -x -T -i /home/yourname/.ssh/id_rsa_korg_gitolite | + | host = git@gitolite.kernel.org |
- | host = yourkorgusername@kup.kernel.org | + | subcmd = kup-server |
That should be all you need to do. You may test things by running: | That should be all you need to do. You may test things by running: | ||
- | kup ls /pub | + | kup info |
You should see the following or similar output: | You should see the following or similar output: | ||
- | +++ /pub/ | + | kup-server 0.3.6 (gitolite integrated) |
- | drwxrwsr-x 6 hpa 498 4096 2011-12-01 19:56:21 dist | + | |
- | drwxr-sr-x 13 root 498 4096 2011-11-16 18:36:48 linux | + | ls /* |
- | drwxrwsr-x 3 498 498 4096 2008-09-23 23:35:52 media | + | put/rm/mv/mkdir /testing/* |
- | drwxr-xr-x 2 root root 4096 2011-10-18 18:24:52 scm | + | put/rm/mv/mkdir /pub/linux/kernel/people/yourname/* |
- | drwxrwsr-x 2 hpa 498 4096 2011-12-01 19:56:21 site | + | |
- | drwxr-sr-x 13 root 498 4096 2011-11-27 17:31:37 software | + | |
- | drwxr-sr-x 3 498 498 4096 2008-04-30 22:31:54 tools | + | |
- | If you get an error in return, check to make sure you are using the correct private key and username (see [[userdoc:ssh_access]]). | + | :-/ If you get an error in return, check to make sure you have correctly set up your ssh access (see [[userdoc:ssh_access]]). Additionally, if you see a long list of gitolite repositories instead, make sure your version of kup is 0.3.6 or above, and that you have correctly set up your ''~/.kuprc'' to specify "''subcmd=kup-server''". |
If it is still not working for you, please [[userdoc:support|contact support]] for further assistance. | If it is still not working for you, please [[userdoc:support|contact support]] for further assistance. | ||
Line 52: | Line 51: | ||
man kup | man kup | ||
- | You can test kup by uploading into a special /test directory: | + | You can test kup by uploading into a special /testing directory: |
- | kup put foo.tar foo.tar.asc /test/foo.tar.gz | + | kup put foo.tar foo.tar.asc /testing/foo.tar.gz |
| | ||
8-o: If you get "invalid signature", the most likely cause is that your signature is against the compressed version of the archive. Kup expects the signature to be against .tar, not .tar.?z. It uncompresses the file, then runs the verification check, then recompresses in multiple formats. | 8-o: If you get "invalid signature", the most likely cause is that your signature is against the compressed version of the archive. Kup expects the signature to be against .tar, not .tar.?z. It uncompresses the file, then runs the verification check, then recompresses in multiple formats. | ||
Line 60: | Line 59: | ||
Please remove anything you put there after you are done: | Please remove anything you put there after you are done: | ||
- | kup rm /test/foo.tar.gz | + | kup rm /testing/foo.tar.gz |
Anything uploaded to ''/pub'' will be rsynced to kernel.org frontends and will be available on [[http://kernel.org/pub]] after a few minutes. | Anything uploaded to ''/pub'' will be rsynced to kernel.org frontends and will be available on [[http://kernel.org/pub]] after a few minutes. |