You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a new API endpoint that provides a ZIP archive containing all core files and their signatures in the FuseSoC Package Directory.
This allows users to download a snapshot of the entire repository.
The implementation handles cases where signature files are missing.
Error handling has been added to return a 500 status code if there is a problem generating the archive.
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,9 +61,9 @@ FuseSoC-PD is ideal for teams and communities who want a reliable, transparent,
61
61
```
62
62
App runs at [http://localhost:8000](http://localhost:8000) (if `DJANGO_DEBUG=True`).
63
63
64
-
>**Note on static files:**
65
-
> Static files are automatically collected to the `/staticfiles` directory inside the Docker container during build or startup.
66
-
> By default, static files are served by [WhiteNoise](https://whitenoise.evans.io/) within the Django application.
64
+
>**Note on static files:**
65
+
> Static files are automatically collected to the `/staticfiles` directory inside the Docker container during build or startup.
66
+
> By default, static files are served by [WhiteNoise](https://whitenoise.evans.io/) within the Django application.
67
67
> For larger or production deployments, you may optionally configure a dedicated web server (such as Nginx or Caddy) to serve static files from `/staticfiles`.
68
68
69
69
---
@@ -113,6 +113,7 @@ All endpoints are under `/api/v1/`:
113
113
|`/health/`| GET | API health check |
114
114
|`/list/?filter=...`| GET | List available core packages |
115
115
|`/get/?core=...`| GET | Download a `.core` file by VLNV name |
116
+
|`/get_archive/`| GET | Download a `.zip` file with all cores |
116
117
|`/validate/`| POST | Validate a core file (`multipart/form`) |
117
118
|`/publish/`| POST | Publish a core file to GitHub |
118
119
@@ -133,6 +134,7 @@ Easily search and browse packages in a clean interface.
0 commit comments