Compare commits
4 Commits
83c40a44a1
...
man
Author | SHA1 | Date | |
---|---|---|---|
30c0774d62
|
|||
bbea859ffe
|
|||
6882610a0e
|
|||
|
a62ddf2408 |
18
kn.mk
Normal file
18
kn.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
all_docs != find krov/serverko -name README.md
|
||||
|
||||
path_to_docs = $(patsubst krov/%/README.md, docs/%.md, $(all_docs))
|
||||
|
||||
stripped_docs = $(notdir $(path_to_docs))
|
||||
|
||||
x:
|
||||
$(info $(all_docs))
|
||||
$(info $(stripped_docs))
|
||||
|
||||
docs/kralizec/%.md: kralizec/%/README.md
|
||||
mkdir -p $(@D)
|
||||
cp $< $@
|
||||
|
||||
docs/serverko/%.md: krov/serverko/%/README.md
|
||||
mkdir -p $(@D)
|
||||
cp $< $@
|
||||
|
3
kralizec/cgit11/README.md
Normal file
3
kralizec/cgit11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 115
|
||||
---
|
3
kralizec/cryptpad-deb-12/README.md
Normal file
3
kralizec/cryptpad-deb-12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 126
|
||||
---
|
3
kralizec/dmzrs12/README.md
Normal file
3
kralizec/dmzrs12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 122
|
||||
---
|
3
kralizec/dmzrsflask11/README.md
Normal file
3
kralizec/dmzrsflask11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 118
|
||||
---
|
3
kralizec/donationcalc12/README.md
Normal file
3
kralizec/donationcalc12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 124
|
||||
---
|
3
kralizec/dynamicdns11/README.md
Normal file
3
kralizec/dynamicdns11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 111
|
||||
---
|
3
kralizec/ejabberd11/README.md
Normal file
3
kralizec/ejabberd11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 106
|
||||
---
|
3
kralizec/elinearch/README.md
Normal file
3
kralizec/elinearch/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 119
|
||||
---
|
3
kralizec/flaskldap11/README.md
Normal file
3
kralizec/flaskldap11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 109
|
||||
---
|
3
kralizec/gitea11/README.md
Normal file
3
kralizec/gitea11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 117
|
||||
---
|
3
kralizec/http11/README.md
Normal file
3
kralizec/http11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 104
|
||||
---
|
3
kralizec/krovhttp11/README.md
Normal file
3
kralizec/krovhttp11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 121
|
||||
---
|
3
kralizec/nginx/README.md
Normal file
3
kralizec/nginx/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 108
|
||||
---
|
3
kralizec/openldap12/README.md
Normal file
3
kralizec/openldap12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 127
|
||||
---
|
3
kralizec/postfix11/README.md
Normal file
3
kralizec/postfix11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 113
|
||||
---
|
3
kralizec/postgresql11/README.md
Normal file
3
kralizec/postgresql11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 105
|
||||
---
|
3
kralizec/radionice11/README.md
Normal file
3
kralizec/radionice11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 116
|
||||
---
|
3
kralizec/roundcube12/README.md
Normal file
3
kralizec/roundcube12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 123
|
||||
---
|
3
kralizec/ssh11/README.md
Normal file
3
kralizec/ssh11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 114
|
||||
---
|
3
kralizec/sshfs11/README.md
Normal file
3
kralizec/sshfs11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 112
|
||||
---
|
3
kralizec/tor11/README.md
Normal file
3
kralizec/tor11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 101
|
||||
---
|
3
kralizec/webring12/README.md
Normal file
3
kralizec/webring12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 125
|
||||
---
|
3
kralizec/wiki11/README.md
Normal file
3
kralizec/wiki11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 120
|
||||
---
|
3
kralizec/xmppmirror11/README.md
Normal file
3
kralizec/xmppmirror11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 102
|
||||
---
|
3
krov/serverko/ddns12/README.md
Normal file
3
krov/serverko/ddns12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 101
|
||||
---
|
3
krov/serverko/dmzrs12/README.md
Normal file
3
krov/serverko/dmzrs12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 102
|
||||
---
|
3
krov/serverko/dmzrsaccount/README.md
Normal file
3
krov/serverko/dmzrsaccount/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 110
|
||||
---
|
3
krov/serverko/ejabberd12/README.md
Normal file
3
krov/serverko/ejabberd12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 109
|
||||
---
|
3
krov/serverko/ipv6tunnel12/README.md
Normal file
3
krov/serverko/ipv6tunnel12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 107
|
||||
---
|
3
krov/serverko/nginx12/README.md
Normal file
3
krov/serverko/nginx12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 100
|
||||
---
|
3
krov/serverko/opensmptd12/README.md
Normal file
3
krov/serverko/opensmptd12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 106
|
||||
---
|
3
krov/serverko/postgres12/README.md
Normal file
3
krov/serverko/postgres12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 108
|
||||
---
|
3
krov/serverko/slapd12/README.md
Normal file
3
krov/serverko/slapd12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 104
|
||||
---
|
3
krov/serverko/stopreklamama12/README.md
Normal file
3
krov/serverko/stopreklamama12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 112
|
||||
---
|
3
krov/serverko/taskmanager12/README.md
Normal file
3
krov/serverko/taskmanager12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 111
|
||||
---
|
3
krov/serverko/tor12/README.md
Normal file
3
krov/serverko/tor12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 103
|
||||
---
|
3
krov/serverko/wireguard12/README.md
Normal file
3
krov/serverko/wireguard12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 105
|
||||
---
|
3
krov/srv1/chatbot12/README.md
Normal file
3
krov/srv1/chatbot12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 114
|
||||
---
|
3
krov/srv1/dendrite/README.md
Normal file
3
krov/srv1/dendrite/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 103
|
||||
---
|
3
krov/srv1/goodvibes12/README.md
Normal file
3
krov/srv1/goodvibes12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 115
|
||||
---
|
3
krov/srv1/icecast12/README.md
Normal file
3
krov/srv1/icecast12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 106
|
||||
---
|
3
krov/srv1/mariadb12/README.md
Normal file
3
krov/srv1/mariadb12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 107
|
||||
---
|
3
krov/srv1/mpd12/README.md
Normal file
3
krov/srv1/mpd12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 108
|
||||
---
|
3
krov/srv1/ollama12/README.md
Normal file
3
krov/srv1/ollama12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 113
|
||||
---
|
3
krov/srv1/sshfs11/README.md
Normal file
3
krov/srv1/sshfs11/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 111
|
||||
---
|
3
krov/srv1/tor12/README.md
Normal file
3
krov/srv1/tor12/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 102
|
||||
---
|
3
krov/srv1/ympd/README.md
Normal file
3
krov/srv1/ympd/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
VMID: 109
|
||||
---
|
41
setup/git-aliases.md
Normal file
41
setup/git-aliases.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
volume: Decentrala
|
||||
section: 6
|
||||
title: git aliases
|
||||
author: Malin
|
||||
source: dmz.rs
|
||||
---
|
||||
|
||||
## Aliases
|
||||
|
||||
Put these in `~/.bash_aliases`
|
||||
|
||||
```
|
||||
alias gb='git branch'
|
||||
alias gc='git add -p . && git commit'
|
||||
alias gd="git diff --word-diff"
|
||||
alias gl='git log --graph --show-signature'
|
||||
alias gla="git log --all --decorate --oneline --graph"
|
||||
alias gm='git merge'
|
||||
alias gis='git status'
|
||||
```
|
||||
|
||||
## Dangerous Aliases
|
||||
|
||||
Get a fuzzy-finder, like `fzy,` or `sk` (called `sk-im` in the repos), and checkout faster:
|
||||
|
||||
```
|
||||
alias gco='git checkout --recurse-submodules $(sk -c "git branch | cut -c 3-")'
|
||||
```
|
||||
|
||||
Delete all changes and start again instantly:
|
||||
|
||||
```
|
||||
alias grs='git reset --hard HEAD'
|
||||
```
|
||||
|
||||
Push to remotes that don't use http:
|
||||
|
||||
```
|
||||
alias gpa='git remote show | while read remote; do git remote get-url $remote | grep -qv http && git push $remote; done'
|
||||
```
|
21
splintrs/soft-serve/webhooks.md
Normal file
21
splintrs/soft-serve/webhooks.md
Normal file
@@ -0,0 +1,21 @@
|
||||
### Soft serve webhooks
|
||||
|
||||
Soft serve supports [webhooks](https://en.wikipedia.org/wiki/Webhook)
|
||||
|
||||
Webhooks allow us to get notified on some web server when some events occur on the soft serve git server. Currently supported events that can be subscribed to (for a specific repo) are:
|
||||
|
||||
- branch_tag_create
|
||||
- branch_tag_delete
|
||||
- collaborator
|
||||
- push
|
||||
- repository
|
||||
- repository_visibility_change
|
||||
|
||||
See help page for repo webhooks
|
||||
`ssh -p 2222 soft.dmz.rs repo webhook --help`
|
||||
|
||||
##### Example
|
||||
|
||||
An example for using a webhook could be that you want to be notified when anyone pushes commits to `boban` repo
|
||||
You could create a webhook that will trigger on the push event of the boban repo and send a request to boban.dmz.rs/push url (where you could host a webapp that listens for that request). The webapp will react to it by sending a xmpp message with details on which commits where pushed etc.
|
||||
`webhook create boban boban.dmz.rs/push --events push`
|
Reference in New Issue
Block a user