envvardoc: repair the script so that it does not fail on very long
lines.
envvardoc: look for env vars with the `PERKEEP` prefix too.
envvardoc: adapt the `docVar` regex to the markdown format.
envvardoc: also look for vars in internal/.
CI: run envvardoc so that we notice when we add new undocumented
environement variables.
doc: List all remaining undocumented env variables. This "shitlist"
gives us a green build in the CI and allows us to ensure all new
environment variables are documented in the future.
doc: Link to the environment variables page.
- Add documentation in storage-examples for using Perkeep with b2 as a
storage backend. The documentation uses the new API terminology:
AccountID is no longer a thing in the Backblaze web console.
- Replace FiloSottile/b2 by perkeep/b2 where we host a copy of
clgillis's Pull Request[1]. We can point to the original project
again as soon as it is merged.
Note that I haven't updated the vendor directory and it seems that
`go mod vendor` updates way more things that are also outdated in the
master branch, so I will leave that as an exercise to whoever has
commit access :).
Before this Pull Request, launching the b2 storage would error with the
following error message:
```
Error parsing config: Caught panic: error instantiating storage for prefix "/sto-b2/", type "b2": Post "https://api000.backblazeb2.com/b2api/v1/b2_list_buckets": b2 remote error [bad_request]: accountId invalid
```
Now, it seems to work as expected!
1. https://github.com/FiloSottile/b2/pull/8
#Issue:
The link pointing to "camlistore.org" will redirect back to "perkeep.org" anyways, so updated with relative link.
#Change:
Updated "Contributing" link from "https://camlistore.org/doc/contributing" to "/code#contributing".
A working importer for the Instapaper service. The importer imports
bookmarks, full text articles, and highlights. A blob item handler for
Instapaper highlight permanodes is included to show summarized highlight
content from the server UI.
Also, this CL updates github.com/garyburd.com/go-auth to rev
bca2e7f09a178fd36b034107a00e2323bca6a82e in order to get support for
XAuth requests.
Fixes#1208
Change-Id: I72e0c40b245c7eec4a44bb475fcaa96a0ee9a1c5
vendor: add github.com/aws/aws-sdk-go at rev bc3f534c19ffdf835e524e11f0f825b3eaf541c3
This changes all uses of the s3 client to be the official aws-sdk-go. As
such, it also deletes the previous client maintained in internal.
There are a few notable changes that come with this:
1. An 'aws_region' key is added to the low-level config. The
'get-bucket-location' call is used to identify the correct region
rather than using the redirect returned to determine it.
2. Deleting multiple objects at once is much faster (batches of up to
1000 vs 1 at a time).
3. Retriable errors are retried automatically (see #1184).
4. Newer APIs are used for some operations (v2 / batch apis).
An unfortunate result of 4 is that this is technically a backwards
incompatible change. An IAM policy which used to be sufficient for
perkeep may no longer permit some of the new api calls (even if they're
not doing anything different really).
Fixes#1184, #911
Change-Id: I077fe88def18b7e9a14267820773245e7003634c
The confusion of users regarding files VS permanodes and the related
questions comes back very often on IRC or on the mailing-lists.
Therefore, this small explanation that we can point them to should help
alleviate that confusion.
Change-Id: I02acd38754f866acb4fe91c4dfa7e93ef80ac8ea
misc/docker/release moved to misc/release because it did not really have
anything to do with making docker images, it just happens to use them.
misc/monthly.go has been moved to misc/release/make-release.go, and
reworked to be more generic.
misc/docker/dock.go has been trimmed down to only deal with creating
docker images
Fixes#1153
Change-Id: I4cb566551007300aefa6cb23714b90461f0e3e51
Managing our links between GitHub, Gerrit, and the website's rendering
of the same Markdown continues to be a disaster.
Fixes#1128
Updates #1146
Change-Id: I8645c6fee4bf5271ca4fc08acb69c53785a36182
So we can cut 0.10 from this commit and anybody running pk-web locally
won't have bogus download links.
Change-Id: Ibc33c2a01786e9288a67a761be6d4d8b5909a4de