Create a post about new git-annex features and nextcloud read-only shares #8

Closed
mslw wants to merge 0 commits from mslw:nextcloud into main
Member

I wanted to take a closer look at how the recent changes in git-annex (git-remote-annex and webdav enableremote without write access) enable read-only folder shares on Nextcloud to serve as a one-stop-shop for publishing data.

I would be grateful for feedback regarding the technical correctness of the descriptions and the actual readability of the walkthrough (it would be great if somebody actually goes through the walkthrough, it should be short and doable with Sciebo), but FMPOV the post is complete.

I wanted to take a closer look at how the recent changes in git-annex (git-remote-annex and webdav enableremote without write access) enable read-only folder shares on Nextcloud to serve as a one-stop-shop for publishing data. I would be grateful for feedback regarding the technical correctness of the descriptions and the actual readability of the walkthrough (it would be great if somebody actually goes through the walkthrough, it should be short and doable with Sciebo), but FMPOV the post is complete.
Create a post about git-annex and nextcloud
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 24s
f348d80bc1
I wanted to take a closer look at how the recent changes in
git-annex (git-remote-annex and webdav enableremote without write
access) enable read-only folder shares on Nextcloud to serve as a
one-stop-shop for publishing data.
mslw force-pushed nextcloud from e9400c2911
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 16s
to 767766971b
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 16s
2025-02-21 11:44:07 +00:00
Compare
@ -0,0 +50,4 @@
First, we create a mock repository and add a file:
```
Member

minor:

For consistency in presentation with e.g. https://hub.datalad.org/www/datalad-blog/raw/branch/main/content/posts/forgejo-aneksajo-podman-deployment/index.md might be worth annotating such blocks as sh and the ones with outputs from commands as console with > prefix in lines with commands (not outputs)

minor: For consistency in presentation with e.g. https://hub.datalad.org/www/datalad-blog/raw/branch/main/content/posts/forgejo-aneksajo-podman-deployment/index.md might be worth annotating such blocks as `sh` and the ones with outputs from commands as `console` with `> ` prefix in lines with commands (not outputs)
Author
Member

Thanks, addressed in 0f76fcd55f

Thanks, addressed in 0f76fcd55f
mslw marked this conversation as resolved
@ -0,0 +33,4 @@
- The generated share link is: `https://nextcloud.example.com/s/3DQbgnWnTmMGi4z`;
- The last link component (`3DQbgnWnTmMGi4z`), also called the share token, becomes the recipient's WebDAV username;
- The password set for the share link becomes the WebDAV share password;
- The public WebDAV path is: `https://nextcloud.example.com/public.php/webdav` (no folder components).
Member

is there some free/public nextcloud instance where some interesting sample dataset could be shared so folks could "try" without going through the full tutorial?

is there some free/public nextcloud instance where some interesting sample dataset could be shared so folks could "try" without going through the full tutorial?
Author
Member

I think the closest I can come up is our "university cloud" Sciebo (which I also mention in the text; currently owncloud-based but works the same). I could set up a clone-able dataset, but it would be tied to my account (ie. reliant on me not deleting it and my account being active). Also, I am always (irrationally?) hesitant if having public links posted on the open internet is a good idea, even if the dataset is going to be one 256k file like in this example (or one open license photo).

Do you think it would be a good idea / added value to set up something like this?

Speaking of the highlighted fragment specifically: I think its biggest value (at least for me - and for my future reference) is a concise demonstration how the links have to be mangled; this is explained but not so easy to find in the Nextcloud docs.

I think the closest I can come up is our "university cloud" Sciebo (which I also mention in the text; currently owncloud-based but works the same). I could set up a clone-able dataset, but it would be tied to my account (ie. reliant on me not deleting it and my account being active). Also, I am always (irrationally?) hesitant if having public links posted on the open internet is a good idea, even if the dataset is going to be one 256k file like in this example (or one open license photo). Do you think it would be a good idea / added value to set up something like this? Speaking of the highlighted fragment specifically: I think its biggest value (at least for me - and for my future reference) is a concise demonstration how the links have to be mangled; this is explained but not so easy to find in the Nextcloud docs.
mslw marked this conversation as resolved
Annotate code blocks with language
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 20s
0f76fcd55f
This adds "sh" / "console" annotations for code blocks, to be used by
the chroma lexer. One indent is fixed for uniformity (2 spaces).

Suggested-by: Yaroslav Halchenko <debian@onerussian.com>
Add fediverse_creator to the post metadata
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 21s
58c94a4b19
This can be used by the papermod theme (requires current master) to
render a html <meta> tag in the <head> of the post. If I authorize
blog.datalad.org (in my Mastodon account settings), the links to the
post will additionally display a link to my account.

See:
https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
Inspired by a brief conversation with @mih, I re-wrote the
introduction once more.

I moved the use-case description even more upfront and added more
explanation about the git-remote-annex breaking with the traditional
paradigm. I also moved the "why focus in nextcloud" paragraph to the
article introduction: it seems to help the flow as the section on
Nextcloud and WebDAV now only discusses URL patterns. The introduction
is now three paragraphs, and the discussion of annex changelog becomes
the first section.

Among smaller changes: updated publication date, two corrections for
time spans related to git-annex releases (apparently, when writing the
first draft, I could neither count the time from the release, nor sort
the releases by date), a few wording changes, correction of special
remote names in the example.
Add cover and tags
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 21s
ab05f1d6d8
This is not the most creative cover, but I did not have the skill and
inspiration to draw a Git repository in an annex remote on
Nextcloud. The (carefully staged) screenshot will have to do.

I assembled the image in GIMP, so I am including the xcf source
instead of the customary svg, hope it's OK. Size-wise it is in line
with all the others.

I was a little bit hesitant about including the nextcloud logo
considering how detailed their guidelines are, but I believe that the
use constitutes "fair use" and also falls under "Publications" (and,
to a lesser degree, "Advocacy groups") in their trademark
guidelines. The logo is taken from their own press materials:

- https://nextcloud.com/press/
- https://nextcloud.com/brand/
- https://nextcloud.com/trademarks/
mslw referenced this pull request from a commit 2025-03-11 16:38:29 +00:00
Author
Member

Merged in 49eeaeb852 and pushed with annexed contents. Thx again for feedback, on- and off the hub!

Merged in 49eeaeb852 and pushed with annexed contents. Thx again for feedback, on- and off the hub!
mslw closed this pull request 2025-03-11 16:40:28 +00:00
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 21s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
www/datalad-blog!8
No description provided.