Relax sync.server.origin to allow paths (#3423)

This commit is contained in:
Hector Dearman 2024-07-05 00:17:52 +01:00 committed by GitHub
parent 85f52e3630
commit fa5604ea8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 38 additions and 23 deletions

View file

@ -68,18 +68,22 @@ To synchronize your tasks to a sync server, you will need the following
information from the server administrator:
.br
- The server's URL ("origin", such as "https://tw.example.com")
- The server's URL (such as "https://tw.example.com/path")
.br
- A client ID ("client_id") identifying your tasks
Configure Taskwarrior with these details:
.nf
$ task config sync.server.origin <origin>
$ task config sync.server.url <url>
$ task config sync.server.client_id <client_id>
.fi
Note that the origin must include the scheme, such as 'http://' or 'https://'.
Note that the URL must include the scheme, such as 'http://' or 'https://'.
$ task config sync.server.origin <origin>
Is a deprecated synonym for "sync.server.url".
.SS Google Cloud Platform
@ -168,7 +172,7 @@ To add a new user to the server, invent a new client ID with a tool like
`uuidgen` or an online UUID generator. There is no need to configure the server
for this new client ID: the sync server will automatically create a new user
whenever presented with a new client ID. Supply the ID, along with the
origin, to the user for inclusion in their Taskwarrior config. The user should
URL, to the user for inclusion in their Taskwarrior config. The user should
invent their own "encryption_secret".
.SH AVOIDING DUPLICATE RECURRING TASKS