Compare commits

...

2 Commits

Author SHA1 Message Date
1e62814108 Add note and drop logging [ci skip] 2021-06-16 20:47:55 +02:00
bc7f51098e Fix bad typo
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-16 17:04:41 +02:00
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,11 @@
# pubspace
> **WARNING**: this was an experimental prototype to understand if an
> "always-on" intermediary service could facilitate digital publishing
> practices in the lumbung.space. We have since moved to the idea of a
> slow and not real-time mode of publishing which will happen in another
> repository.
[![Build Status](https://drone.autonomic.zone/api/badges/ruangrupa/pubspace/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/ruangrupa/pubspace)
A service to facilitate collective digital publishing practices.

View File

@ -67,7 +67,7 @@ async def home(request: Request):
file = payload["rel_path"]
link = create_share(file)
except Exception:
request.app.state.log.info(f"Failed to share {file}"
request.app.state.log.info(f"Failed to share {file}")
return {"detail": "failed to create share"}
if link:

View File

@ -7,8 +7,6 @@ OWNER_USER_ID="$2"
NEXTCLOUD_RELATIVE_PATH="$3"
LOCALLY_AVAILABLE_FILE="$4"
echo "RUNNING: ${FILE}" >> pubspace.log
/usr/bin/curl \
-H "Content-Type: application/json" \
-X GET \