helpGna! Administration - Support: sr #2282, deleting unused gnu arch repository

Show feedback again

sr #2282: deleting unused gnu arch repository

Submitted by:  Marco Maggi <marcomaggi>
Submitted on:  Tue Feb 24 10:22:38 2009  
Category: SCM: Arch RepositoriesPriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: Any / Non-Specific

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Apr 16 14:26:39 2009, comment #1:

I wrote:

> I would like to delete the old arch repositories at GNA!
> I wonder if there is some automatic way of doing it.

I found the way: use lftp[1]. I am doing it like this:

1) install lftp;

2) make sure that access to Gna! is up and running
with an sftp test session; login:

$ sftp -unavailable-

then logout;

2) login with lftp:

$ lftp s

at the request for a password: type the one required
to use the ssh key associated to;

3) if it goes, do this:

$ cd /upload/<my-project-name>
$ ls

to recursively remove a directory and all its

$ rm -r <directory>

Triple-check the directory pathname!!!

Yosh! Notice that:

  • Using the "-d" option with lftp prints a lot of

useful debug messages.

  • The "feeling" of lftp is somewhat different from

the one of sftp, because of the way commands are
executed; after the login the connection is not
truly established until the first command is

  • If present, lftp automatically makes use of the

GNU readline library.

  • I have not tried it, but it looks like lftp can

do automatic mirroring from a remote directory
to a local one, and vice versa.

If something is wrong with this procedure I hope the
Gna! admins will let me know before sending Interpol[2]
to my door. :)

P.S. Problem solved, this thread can be closed, thanks.

[1] <>
[2] <>

Marco Maggi <marcomaggi>
Tue Feb 24 10:22:38 2009, original submission:

I have moved my code bases under git, so I would like to delete the old arch repositories at GNA! Just disabling the service from the project page is not enough, and visiting the site with sftp deleting files by hand is tedious. I wonder if there is some automatic way of doing it.

Marco Maggi <marcomaggi>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by marcomaggi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup