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; web app using `./bin/vervis` and not `stack run`. This may be confusing;
hopefully I'll make a nicer binary release soon :) 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 # (1) System libraries
Install dependency library development packages. It's very likely you already 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: 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 $ cd vervis
Clone dependency libraries: Clone dependency libraries:

View file

@ -71,25 +71,17 @@ SSH.
**HTTPS clone:** **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:** **SSH clone and push:**
If your system username and Vervis username are identical: If your system username and Vervis username are identical:
$ darcs clone vervis.peers.community:wistera $ darcs clone vervis.peers.community:WvWbo vervis
If the repo is under another user:
$ darcs clone vervis.peers.community:aviva/poems
If usernames are different: If usernames are different:
$ darcs clone luke@vervis.peers.community:wistera $ darcs clone luke@vervis.peers.community:WvWbo vervis
If the repo is under another user:
$ darcs clone luke@vervis.peers.community:aviva/poems
A few more little notes: A few more little notes:
@ -230,7 +222,7 @@ control.
The official download location is the Darcs repository: 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: 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** opening a ticket**
[here](https://vervis.peers.community/s/fr33domlover/p/vervis/t) so that other [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. 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 = revisionW =
let cgTimeFmt = showDate . cgTime let cgTimeFmt = showDate . cgTime
mrev = $darcsRevision mrev = $darcsRevision
sharer = "fr33domlover" :: Text address = "^WvWbo@vervis.peers.community" :: Text
repo = "vervis" :: Text link = "https://vervis.peers.community/repos/WvWbo" :: Text
changes = $darcsTotalPatches :: Int changes = $darcsTotalPatches :: Int
in $(widgetFile "widget/revision") 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., # Packages to be pulled from upstream that are not in the resolver (e.g.,
# acme-missiles-0.3) # acme-missiles-0.3)
extra-deps: 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 commit: 2d19eea0fae58897a02372a84cc48e7696a4e288
- ./lib/darcs-lights - ./lib/darcs-lights
- ./lib/darcs-rev - ./lib/darcs-rev

View file

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

View file

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

View file

@ -1,6 +1,6 @@
$# This file is part of Vervis. $# 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. $# ♡ 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 $# with this software. If not, see
$# <http://creativecommons.org/publicdomain/zero/1.0/>. $# <http://creativecommons.org/publicdomain/zero/1.0/>.
#{sharer}/#{repo} # <a href="#{link}">
#{address}
» #
$maybe rev <- mrev $maybe rev <- mrev
$case rev $case rev

View file

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

View file

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