Modify

Opened 16 years ago

Closed 16 years ago

#3072 closed defect (invalid)

downloading modules with wget fails

Reported by: anonymous Owned by: Alec Thomas
Priority: normal Component: TracHacks
Severity: normal Keywords: wget
Cc: Trac Release: 0.11

Description

This issue was raised a year ago for the TocMacro component (ticket #1148), but it seems like a general problem for the site, not just that component.

Attempts to use wget to download a component (eg, xmlrpcplugin) result in files that do not have zip extensions:

wget http://trac-hacks.org/changeset/latest/tractagsxmlrpcplugin?old_path=/&filename=tractagsxmlrpcplugin&format=zip

results in:

xmlrpcplugin\?old_path\=%2F

attempting to rename them (eg. xmlrpcplugin.zip) results in an error stating that the files are not recognized as zip files.

Is there a trick to getting the components from the site via wget?

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

You need to quote the URLs at the shell:

wget 'http://trac-hacks.org/changeset/latest/tractagsxmlrpcplugin?old_path=/&filename=tractagsxmlrpcplugin&format=zip'

This is not an issue with TracHacks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.