An open API service indexing awesome lists of open source software.

https://github.com/midnightcommander/trac-archive

Archive of Trac-related content
https://github.com/midnightcommander/trac-archive

Last synced: 9 months ago
JSON representation

Archive of Trac-related content

Awesome Lists containing this project

README

          

# Trac archive

Archive of Trac related content, mainly attachments.

## Wiki

See [repository wiki](../../wiki) for archived Trac wiki content.

## Provenance

### Sync from Trac server

```shell
rsync -av --delete \
midnight-commander.org:/var/www/trac/attachments/ \
attachments

python unquote-filenames.py

find attachments -type f | \
sort > attachments-fs.csv
```

### Compare with the state of the database

```sql
SELECT COUNT(*)
FROM attachment;

SELECT CONCAT('attachments/', type, '/', id, '/', filename)
FROM attachment;
```