aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reformat everything with Rust 2024 editionSven-Hendrik Haase2025-03-071-1/+1
|
* Use Self where possibleadamnemecek2025-01-031-12/+12
|
* Bump depsSven-Hendrik Haase2024-04-261-1/+2
|
* Refactor errorscyqsimon2024-01-291-37/+34
| | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code
* Remove header Content-Encoding when archivingWhyme Lyu2023-12-111-9/+0
| | | | | | | | | | | | | | Content-Encoding is a representation header which kinda means "same content, presented differently to different clients" or "encoded & decoded on-the-fly, guided by content negotiation". In the case of downloading an archive, MDN docs explicitly says that (quoted from https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding): > If the original media is encoded in some way (e.g. a zip file) then this > information would not be included in the Content-Encoding header. Thus this patch. Also fixes !1187.
* Upgrade clap to v4Sven-Hendrik Haase2022-10-121-1/+1
|
* Tidy up some importsSven-Hendrik Haase2022-09-201-4/+4
|
* Fix typosKian-Meng Ang2022-09-141-1/+1
| | | | Found via `codespell -L crate`.
* Bump actix-web to v4.0-beta.15jikstra2021-12-281-1/+1
| | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Fix lintsSven-Hendrik Haase2021-12-201-1/+1
|
* Rename compression code references to 'archive'Sven-Hendrik Haase2021-04-181-18/+18
| | | | | This name more closely resembles its purpose. For instance, we also now support plain tar archives which are uncompressed but archives nonetheless.
* Change naming of uncompressed/compressed tarballsDean Li2021-04-181-7/+2
| | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
* Separate tar archive and tar flagsDean Li2021-04-111-2/+7
| | | | | | | It used to have one flag (-r) to enable both tar archive and tar. Now it has two flags [ -r: for tar, -g: for tar archive]. Related to #451
* Refuse to start without explicit path if not attached to interactive terminalSven-Hendrik Haase2021-03-281-9/+18
|
* Fix lintsSven-Hendrik Haase2021-02-191-9/+9
|
* Fix lintSven-Hendrik Haase2021-01-201-2/+1
|
* Fix lintSven-Hendrik Haase2021-01-041-2/+2
|
* Ignore non-Rust preformatted codeSven-Hendrik Haase2020-09-241-4/+4
|
* Upgrade to actix-web 3.0.0Sven-Hendrik Haase2020-09-111-4/+4
|
* Make clippy and cargo fmt happySven-Hendrik Haase2020-06-261-40/+53
|
* make sure archiving is opt-inmarawan ragab2020-05-101-2/+11
|
* small improvment to buffer usagemarawan ragab2020-05-081-13/+6
|
* Add zip download functionality for windows usersmarawan ragab2020-05-031-0/+151
|
* Precise `tar_dir` behaviourAlexandre Bury2019-06-241-1/+20
|
* Add doc and commentsAlexandre Bury2019-06-241-17/+25
|
* Enable streaming tarball downloadAlexandre Bury2019-06-141-58/+60
| | | | Also add a non-compressed tar option
* refactor codemahdi2019-05-311-22/+24
|
* cargo fmtboastful-squirrel2019-05-101-31/+12
|
* Combine ContextualError and ContextualErrorKind into onekhai96_2019-04-271-19/+19
|
* Made code more idiomaticboastful-squirrel2019-04-231-35/+34
|
* Rework error system + avoid panics in main()boastful-squirrel2019-04-211-48/+58
|
* Cargo fmtboasting-squirrel2019-04-071-1/+0
|
* Use serialize_all on CompressionMethods enumboasting-squirrel2019-04-071-2/+3
|
* Use strum on Enums to reduce boilerplateboasting-squirrel2019-04-071-9/+3
|
* Use strum_macros::EnumIter instead of manually listing Enum variantsboasting-squirrel2019-04-071-6/+2
|
* Color schemesboasting-squirrel2019-04-011-0/+5
|
* Fixed commentsboasting-squirrel2019-03-191-1/+1
|
* Added documentation for errors and removed useless errorsboasting-squirrel2019-03-191-3/+8
|
* Renamed create_archive_file function and added documentationboasting-squirrel2019-03-151-4/+6
|
* Cargo fmtboasting-squirrel2019-03-141-3/+10
|
* Switched to tar-rs 0.4.22 and propagate no-symlink argument to tar generationboasting-squirrel2019-03-141-8/+6
|
* Improved grammar of TarBuildingError error messageboasting-squirrel2019-03-131-1/+1
|
* Switched to standard Rust logging systemboasting-squirrel2019-03-131-6/+1
|
* Build tar in buffer instead of in tempfileboasting-squirrel2019-03-131-32/+10
|
* Better error messages for invalid pathboasting-squirrel2019-03-121-1/+15
|
* Added some error messages + reworked the print_error_chain methodboasting-squirrel2019-03-121-6/+11
|
* Started to add helpful messages for errors which could occur during archivingboasting-squirrel2019-03-111-34/+48
|
* Temporary workaround for symlinks issueboasting-squirrel2019-03-091-0/+5
|
* Improved HTTP headersboasting-squirrel2019-03-081-0/+14
|
* Corrected commentboasting-squirrel2019-03-081-1/+1
|