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
Remove gerrit redirect for /doc/* links, and instead link directly to
the on-site doc page. This allows us to remove special handling of any
/gw/doc/* URLs. However, we also need to add special handling for
/gw/server/* URLs to fix a couple of broken links on /doc/status.md.
Change-Id: Ica73c3d78b47dd363c5c3e736123af2977dedb0d
I created https://github.com/camlistore/old-cam-snapshot with a snapshot
of our git repo before we start rearranging things.
This way we won't break anybody depending on camlistore.org/* Go
packages after the move. They just won't get any updates. Actually
things will probably break if they run "go get -u". Need to
investigate what happens there.
Change-Id: I45e109c18323e65bd76706faa08d955dcbc5f6c6
- This allows Perkeep admins to use https://google.com/webmaster/tools
- This verification file is mapped to user pmlindner@gmail.com
- Once verified he can delegate ownership to other Perkeep maintainers.
- File must remain for periodic verifications.
Fixes#996
Change-Id: I8d991964f75acf1b14dedfeadc9d4dbe671bccd5
Because I forgot to configure git one time on another machine, one of my
commits is with a lame username, and that username gets picked (instead
of the other ones) as my identity when generating the contributors page.
Therefore, this change allows to specify a default name among the already
hardcoded information for some of the contributors, so I can override
the badly configured identity that would appear otherwise.
Change-Id: I60dfe60f83d20aa33f7bf425e5b84a34bbd5a0b1
Camweb is in charge of syncing the commits from the gerrit repository to
our mirror on github.
It also sends the commits as e-mails to the Camlistore mailing-list.
The former was only happening after the latter did, but there was no
reason to do it that way, as these tasks are independent. Moreover, when
sending e-mails is problematic (issue #980), it delays syncing to
github.
This change therefore makes syncing to github concurrent with
sending the e-mails.
Change-Id: I63a2b3f5b49df58ca30ec5153ce65eafb44b5b28