Skip to content

Commit a48060a

Browse files
Update readme and changelog
1 parent 1eb3548 commit a48060a

File tree

3 files changed

+27
-14
lines changed

3 files changed

+27
-14
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [0.3.5]
7+
### Added
8+
- `--pass-path` option to get the password from [pass](https://www.passwordstore.org/) (PR [#33] by [@Ma27])
9+
610
## [0.3.4]
711
### Added
812
- Display a warning if two or more courses/folders have the same name ([#31])
@@ -158,6 +162,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
158162
## [0.1.0] - 2020-04-21
159163
(undocumented)
160164

165+
[#33]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/pull/33
161166
[#31]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/issues/31
162167
[#30]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/issues/30
163168
[#28]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/pull/28
@@ -180,7 +185,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
180185
[@Craeckie]: https://github.com/Craeckie
181186
[@funnym0nk3y]: https://github.com/funnym0nk3y
182187
[@Ma27]: https://github.com/Ma27
183-
[Unreleased]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.4...HEAD
188+
[Unreleased]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.5...HEAD
189+
[0.3.5]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.5...v0.3.4
184190
[0.3.4]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.3...v0.3.4
185191
[0.3.3]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.2...v0.3.3
186192
[0.3.2]: https://github.com/FliegendeWurst/KIT-ILIAS-downloader/compare/v0.3.1...v0.3.2

README.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ $ KIT-ILIAS-downloader -o ./ILIAS/WS2021-HM1 --sync-url 'https://ilias.studium.k
3535
### Options
3636

3737
```
38-
$ KIT-ILIAS-downloader --help
39-
KIT-ILIAS-downloader 0.3.3
38+
KIT-ILIAS-downloader 0.3.5
4039
4140
USAGE:
4241
KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output <output>
@@ -58,18 +57,19 @@ FLAGS:
5857
-v Verbose logging
5958
6059
OPTIONS:
61-
-j, --jobs <jobs> Parallel download jobs [default: 1]
62-
-o, --output <output> Output directory
63-
-P, --password <password> KIT account password
64-
-p, --proxy <proxy> Proxy, e.g. socks5h://127.0.0.1:1080
65-
--rate <rate> Requests per minute [default: 8]
66-
--sync-url <sync-url> ILIAS page to download
67-
-U, --username <username> KIT account username
60+
-j, --jobs <jobs> Parallel download jobs [default: 1]
61+
-o, --output <output> Output directory
62+
--pass-path <pass-path> Path inside `pass(1)` to the password for your KIT account
63+
-P, --password <password> KIT account password
64+
-p, --proxy <proxy> Proxy, e.g. socks5h://127.0.0.1:1080
65+
--rate <rate> Requests per minute [default: 8]
66+
--sync-url <sync-url> ILIAS page to download
67+
-U, --username <username> KIT account username
6868
```
6969

7070
### .iliasignore
7171

72-
.gitignore syntax can be used in a `.iliasignore` file: (located in the output folder)
72+
.gitignore syntax can be used in a `.iliasignore` file: (located in the output directory)
7373
```ignore
7474
# example 1: only download a single course
7575
/*/
@@ -81,18 +81,25 @@ OPTIONS:
8181

8282
### Credentials
8383

84-
You can use the `--user` and `--keyring` options to get/store the password using the system password store.
85-
If you use Linux, you'll have to compile from source to be able to use this option.
84+
You can use the `--user` and `--keyring` options to get/store the password using the system password store:
8685
```
8786
$ KIT-ILIAS-downloader -U uabcd --keyring [...]
8887
```
8988

89+
If you use [pass](https://www.passwordstore.org/), you can use the `--pass-path` option to specify which password store entry to use:
90+
```
91+
$ KIT-ILIAS-downloader -U uabcd --pass-path edu/kit/uskyk [...]
92+
```
93+
9094
You can also save your username and password in a `.iliaslogin` file: (located in the output folder)
9195
```
9296
username
9397
password
9498
```
9599

100+
When running the downloader multiple times in a short period of time, you may want to use the `--keep-session` flag.
101+
If specified, the downloader will save and restore session cookies (`.iliassession` file in the output directory).
102+
96103
### Renaming course names (0.2.24+)
97104
If you'd like to avoid unwieldy course names (e.g. "24030 – Programmierparadigmen"), you can create a `course_names.toml` file in the output directory. It should contain the desired mapping of course names to folder names, e.g.:
98105
```

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub struct Opt {
7474
#[structopt(short = "P", long)]
7575
pub password: Option<String>,
7676

77-
/// Path inside `pass(1)` to the password for shibboleth.
77+
/// Path inside `pass(1)` to the password for your KIT account
7878
#[structopt(long)]
7979
pub pass_path: Option<String>,
8080

0 commit comments

Comments
 (0)