UI, Doc: Update Vervis repo links, because the route structure changed

This commit is contained in:
fr33domlover 2022-09-27 04:49:17 +00:00
parent ee26ef7b82
commit 323de5b114
9 changed files with 55 additions and 43 deletions

View file

@ -12,6 +12,9 @@ in your `settings.yml` (see below) match the downloaded file paths, and run the
web app using `./bin/vervis` and not `stack run`. This may be confusing;
hopefully I'll make a nicer binary release soon :)
2022 UPDATE: The binary release is unavailable right now. But a docker image is
being prepared. More news soon.
# (1) System libraries
Install dependency library development packages. It's very likely you already
@ -49,7 +52,7 @@ can install it from a distro package too, e.g.:
Clone the Vervis repo:
$ darcs clone https://vervis.peers.community/s/fr33domlover/r/vervis
$ darcs clone https://vervis.peers.community/repos/WvWbo vervis
$ cd vervis
Clone dependency libraries:

View file

@ -71,25 +71,17 @@ SSH.
**HTTPS clone:**
$ darcs clone https://vervis.peers.community/s/fr33domlover/r/vervis
$ darcs clone https://vervis.peers.community/repos/WvWbo vervis
**SSH clone and push:**
If your system username and Vervis username are identical:
$ darcs clone vervis.peers.community:wistera
If the repo is under another user:
$ darcs clone vervis.peers.community:aviva/poems
$ darcs clone vervis.peers.community:WvWbo vervis
If usernames are different:
$ darcs clone luke@vervis.peers.community:wistera
If the repo is under another user:
$ darcs clone luke@vervis.peers.community:aviva/poems
$ darcs clone luke@vervis.peers.community:WvWbo vervis
A few more little notes:
@ -230,7 +222,7 @@ control.
The official download location is the Darcs repository:
<https://vervis.peers.community/s/fr33domlover/r/vervis>
<https://vervis.peers.community/repos/WvWbo>
There is a backup repo, not always up to date though, at:
@ -313,3 +305,7 @@ If you're going to implement some feature or fix some bug you found, **start by
opening a ticket**
[here](https://vervis.peers.community/s/fr33domlover/p/vervis/t) so that other
people will know which features are being developed and who does what.
UPDATE: The ticket tracker is temporarily unavailable. You can instead contact
[fr33domlover](https://fr33domlover.site) to report issues and to coordinate
work.

View file

@ -47,8 +47,8 @@ revisionW :: WidgetFor site ()
revisionW =
let cgTimeFmt = showDate . cgTime
mrev = $darcsRevision
sharer = "fr33domlover" :: Text
repo = "vervis" :: Text
address = "^WvWbo@vervis.peers.community" :: Text
link = "https://vervis.peers.community/repos/WvWbo" :: Text
changes = $darcsTotalPatches :: Int
in $(widgetFile "widget/revision")

View file

@ -12,7 +12,8 @@ packages:
# Packages to be pulled from upstream that are not in the resolver (e.g.,
# acme-missiles-0.3)
extra-deps:
- git: https://vervis.peers.community/s/fr33domlover/r/yesod-auth-account
# yesod-auth-account
- git: https://vervis.peers.community/repos/VE2Kr
commit: 2d19eea0fae58897a02372a84cc48e7696a4e288
- ./lib/darcs-lights
- ./lib/darcs-rev

View file

@ -20,7 +20,7 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
<p>
Vervis is being used for its own development:
<a href="https://vervis.peers.community/s/fr33domlover/p/vervis">
<a href="https://vervis.peers.community/repos/WvWbo">
Vervis project page
<p>
@ -40,7 +40,7 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
<ul>
<li>
Vervis web app
<a href="https://vervis.peers.community/s/fr33domlover/r/vervis">
<a href="https://vervis.peers.community/repos/WvWbo">
source code
(it's a <a href="http://darcs.net">Darcs</a> repository)
<li>

View file

@ -36,6 +36,9 @@ footer
background-color: #{dark blue}
line-height: 1.5
footer a
color: #{plain}
main
max-width: 116rem
padding-left: 8rem

View file

@ -1,6 +1,6 @@
$# This file is part of Vervis.
$#
$# Written in 2016 by fr33domlover <fr33domlover@riseup.net>.
$# Written in 2016, 2022 by fr33domlover <fr33domlover@riseup.net>.
$#
$# ♡ Copying is an act of love. Please copy, reuse and share.
$#
@ -12,7 +12,9 @@ $# You should have received a copy of the CC0 Public Domain Dedication along
$# with this software. If not, see
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
#{sharer}/#{repo} #
<a href="#{link}">
#{address}
» #
$maybe rev <- mrev
$case rev

View file

@ -1,29 +1,36 @@
#!/bin/sh
VERVIS='https://vervis.peers.community/s/fr33domlover/r'
VERVIS='https://vervis.peers.community/repos'
DEPS='dvara
hit-graph
hit-harder
hit-network
darcs-lights
darcs-rev
http-client-signature
http-signature
ssh
persistent-graph
persistent-migration
persistent-email-address
time-interval-aeson
yesod-http-signature
yesod-mail-send'
DEPS="vlBxr dvara \n
nrAMr hit-graph \n
RvP1E hit-harder \n
rL9jo hit-network \n
9EmyE darcs-lights \n
Orj3o darcs-rev \n
v3e8r http-client-signature \n
vM99v http-signature \n
6r4Ao ssh \n
oq5mo persistent-graph \n
0rd3E persistent-migration \n
4oRNo persistent-email-address \n
AoO7o time-interval-aeson \n
r6WGo yesod-http-signature \n
2vanE yesod-mail-send"
mkdir -p lib
cd lib
for dep in $DEPS; do
if [ -d "$dep" ]; then
darcs pull --repodir="$dep" --all
echo $DEPS | while read -r dep
do
slug=$(echo $dep | cut --fields=1 --delimiter=' ')
name=$(echo $dep | cut --fields=2 --delimiter=' ')
echo
if [ -d "$name" ]; then
echo "Updating dependency $name"
darcs pull --repodir="$name" --all
else
darcs clone "$VERVIS/$dep"
echo "Cloning dependency '$name' from $VERVIS/$slug"
darcs clone "$VERVIS/$slug" "$name"
fi
done

View file

@ -8,8 +8,8 @@ description:
Most of the source code is in the public domain using the CC0 public domain
dedication, but the application as a whole has GPL dependencies, and is
released under the AGPL 3 license.
homepage: https://vervis.peers.community/s/fr33domlover/p/vervis
bug-reports: https://vervis.peers.community/s/fr33domlover/p/vervis/t
homepage: https://vervis.peers.community/repos/WvWbo
bug-reports: fr33domlover@riseup.net
license: AGPL-3
license-file: COPYING.AGPL3
author: fr33domlover
@ -27,7 +27,7 @@ cabal-version: >=1.10
source-repository head
type: darcs
location: https://vervis.peers.community/s/fr33domlover/r/vervis
location: https://vervis.peers.community/repos/WvWbo
flag dev
description: Turn on development settings, like auto-reload templates.