We were still pushing to the camlistore repository. That worked, thanks to the
redirect, but we might as well push directly to the correct one now.
Change-Id: Ide4668ee587568cba928cb360289000aa106e955
It happens somewhat regularly that pk-web stops syncing commits to
github, and sending e-mails about it, because any docker run process
seems to get stucked. Invariably, restarting the docker service
(systemctl restart docker), seems to fix the problem.
This change adds a timeout mechanism for functions running a docker run
exec, so that after the timeout, we get notified by e-mail about what
function is blocked.
Change-Id: I16bd4f5abc7864ceb176a0e69c5300165194b18f
test/integration: don't listen on file descriptors.
make.go: unrelated, but options to make it much faster.
internal/images: t.Skip on HEIC dependency failures
Fixes#1140
Updates golang/go#25210
Change-Id: I8092155411826d6ed1f8d85230b753d1369044af
We have not updated the camlistore/demoblobserver image that the website
runs, so the binary it should execute is camlistored, not perkeepd.
As it is, it keeps on trying to run it every 10s, which makes it busy
for nothing. And I don't think it's worth spending time on updating the
image for now, so it's easier to just revert to the old name.
Change-Id: I769aecaaecdb027d686a78adf9a37a14e9ef9b9d
Adds header link icons on hover. Check for headers (h1-h4) with
defined id's and adds link icon with relevant fragment link.
Fixes#1028
Change-Id: Ic9c8744efe12dda251f4a461adb0b09cf84604c3
WithExtension() options passed to Run() are not additive, so the
AutoHeadingIDs extension must be ORed together with CommonExtensions.
Fixes#1046
Change-Id: Ib0984397b251ff9277b7b2e4dac79add962709b7
This upgrades the markdown conversion library to v2 and
switches camweb to use the new, simplified API.
Change-Id: I710110431fdfa32104c591abdf9b01c74a214f48
move calculation of domainName into main rather than init. This is
necessary because the root var, which domainName is based on, is not
passed as a command line flag when run in production.
Also clean up a few minor things in godoc.go from previous CLs, such as
removing the docRx var which is no longer used.
Fixes#1036
Change-Id: I7145b87d5f1ed13e143bd3750ce22f2d41d6169d
The test added for proper markdown title generation
do not work when run via devcam. This is caused by
depending on doc/uses.md as the input testdata.
devcam does not copy markdown files into the target tmp
directory so this test fails when run that way.
Solution is create a markdown file in a testdata directory.
These are copied to the target tmp directory and the test
succeeds.
Change-Id: Iae654dca2374b925e6c895a71d4d93b12ccc188b
It appears that markdown generation added class ids at some point.
This means that all pages on perkeep.org have the title "Perkeep"
Also added a test for this case.
This issue was flagged by the Google Webmaster Tools.
Change-Id: I7ddab56e03a506b84aab415d94856b8f1c126250
this is a straight revert of 02938281 plus the additional logic to
derive the domain name from the serving directory. This allows package
docs to also be served from localhost during development.
Updates #1010
Change-Id: I07f817edb0b83b03e363373945d143ed3cb82fbf
Fix case of Twitter handle PerkeepOrg (no capital K).
Add a /keepy page about Keepy the Perkeep parakeet.
Embolden anchor text so it stands out from regular text.
Embed tweets on main page.
Change-Id: I07bdaab3c1bb480eab849fbdb8a516b772905e38
This is Keepy the Perkeep Parakeet, from Ashley McNamara, @ashleymcnamara.
The CSS & HTML changes are my fault. We can revise later.
For the rename, issue #981
Change-Id: Ifaf4e4d9a92b5d6d79473f0e9aec9db8f51aa7b1
Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
If it doesn't look like a commit hash, assume it's a directory and
redirect accordingly. This won't support top-level directories that are
entirely hex characters, but those weren't being handled before anyway.
None exist today, and if they ever do, they could be manually supported
the way "client" and "server" were previously.
Change-Id: Id65187ab86e76f1121e18f09d5b2a93b5b37d79a