update of assets from refresh script
This commit is contained in:
parent
a1603fc77d
commit
84c4fdf8d5
|
@ -272,23 +272,30 @@ Présentation personnalisée d'agenda, "custom views".
|
|||
(search . " %i %-12:c")))
|
||||
|
||||
(setq org-agenda-custom-commands
|
||||
(quote (
|
||||
;; ("s" "Super Agenda" agenda "FIXXME: does work but w/o super-agenda"
|
||||
;; (org-super-agenda-mode)
|
||||
;; (org-agenda nil "a"))
|
||||
|
||||
(quote
|
||||
(
|
||||
("c" "Classique Agenda et Todos"
|
||||
((agenda "" ((org-agenda-span 2)))
|
||||
(agenda "" (
|
||||
(org-agenda-overriding-header
|
||||
" ------------ tâches inbox ------------"
|
||||
)
|
||||
(tags-todo "+inbox")
|
||||
)
|
||||
)
|
||||
(alltodo
|
||||
""
|
||||
((org-agenda-overriding-header "")
|
||||
(org-super-agenda-groups
|
||||
'((:name "Important, unscheduled"
|
||||
'(
|
||||
(:name "Important, unscheduled"
|
||||
:and (:priority "A"
|
||||
:scheduled nil)
|
||||
:order 2)
|
||||
(:name "Inbox"
|
||||
:file-path "Inbox.org"
|
||||
|
||||
(
|
||||
:name "Inbox"
|
||||
:file-path "incoming_inbox.org"
|
||||
:order 1)
|
||||
(:name "Project-related, unscheduled"
|
||||
:and (:tag "project" :date nil :todo ("STARTED" "WAITING" "TODO"))
|
||||
|
@ -310,7 +317,6 @@ Présentation personnalisée d'agenda, "custom views".
|
|||
("x" "Unscheduled, untagged tasks" tags-todo "-someday-TODO=\"SOMEDAY\"-TODO=\"DELEGATED\"-TODO=\"WAITING\"-project-cooking-routine-evilplans-computer-writing-phone-sewing-home-errands-shopping"
|
||||
((org-agenda-skip-function 'my-org-agenda-skip-scheduled)
|
||||
(org-agenda-view-columns-initially nil)
|
||||
;; (org-tags-exclude-from-inheritance '("project"))
|
||||
(org-agenda-overriding-header "Tâches TODO sans schedule: ")
|
||||
(org-columns-default-format "%50ITEM %TODO %3PRIORITY %Effort{:} %TAGS")
|
||||
(org-agenda-sorting-strategy '(todo-state-up priority-down effort-up tag-up category-keep))))
|
||||
|
@ -323,7 +329,7 @@ Présentation personnalisée d'agenda, "custom views".
|
|||
("gd" "Daily"
|
||||
agenda "" (
|
||||
(org-agenda-overriding-header "\n-------------- Agenda du jour ------------------\n")
|
||||
;; (org-agenda-todo-keyword-format "[ ]")
|
||||
|
||||
(org-agenda-span 1)
|
||||
(tags-todo "+PRIORITY=\"A\"")
|
||||
)
|
||||
|
@ -548,7 +554,7 @@ Présentation personnalisée d'agenda, "custom views".
|
|||
("b" "Boulot" entry (file+headline "~/Nextcloud/textes/orgmode/boulot.org" "Inbox")
|
||||
"* TODO %?\n :boulot:work: \n\n")
|
||||
;; (file "~/Nextclod/textes/orgmode/org-roam/20220620110632-meeting_template.org")
|
||||
("m" "Meeting" entry (file+datetree "~/Nextcloud/textes/orgmode/reunions.org" "Réunions")
|
||||
("m" "Meeting" entry (file+olp+datetree "~/Nextcloud/textes/orgmode/reunions.org" "Réunions")
|
||||
"* Réunion %T - %U \n :[[id:d8636e1d-0137-4502-9384-767b41c892b0][boulot:meeting:]] \n\n**** Gens présents\n**** Notes\n - %?\n**** Choses à investiguer\n -\n**** Prochaines actions\n - Fin de la réunion: \n"
|
||||
)
|
||||
("e" "E-mail" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
||||
|
@ -557,7 +563,7 @@ Présentation personnalisée d'agenda, "custom views".
|
|||
"** NEXT %? \nDEADLINE: %t \n\n")
|
||||
("p" "Phone call" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Tel")
|
||||
"* PHONE %? :tel:\n%U \n\n" :clock-in t :clock-resume t)
|
||||
("j" "Journal" entry (file+datetree "~/Nextcloud/textes/orgmode/journal.org")
|
||||
("j" "Journal" entry (file+olp+datetree "~/Nextcloud/textes/orgmode/journal.org")
|
||||
"* %?\nÉcrit le %U\n ")
|
||||
;; ajouter une ligne dans un tableau
|
||||
("v" "Table" table-line
|
||||
|
|
|
@ -6,7 +6,7 @@ echo "updating calendar from nextcloud"
|
|||
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
||||
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
||||
|
||||
URL_CAL="https://nuage.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||
URL_CAL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||
echo $URL_CAL
|
||||
|
||||
wget $URL_CAL -O orgcalendar.ics --show-progress
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
# tâche à effectuer régulièrement sur les ordis portables
|
||||
#
|
||||
# @author functions_sync by @tykayn - contact at cipherbliss.com
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
# récupérer les notes du mobile et les stocker dans l'incoming inbox orgmode
|
||||
|
||||
bash $WORKFLOW_PATH/archive_from_nextcloud.sh
|
||||
#bash $WORKFLOW_PATH/archive_from_nextcloud.sh
|
||||
bash $WORKFLOW_PATH/update_calendar_tkwulfi.sh
|
||||
bash $WORKFLOW_PATH/get_nextcloud_notes_todo.sh
|
||||
bash $WORKFLOW_PATH/backup_nextcloud_in_user_home.sh
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
echo "========== init de workflow par Tykayn ======="
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
|
||||
mkdir -p ~/Nextcloud/ressources/workflow_nextcloud/
|
||||
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
if ! -d ~/Nextcloud/ressources/workflow_nextcloud/ ; then
|
||||
echo "création du dossier nextcloud workflow_nextcloud"
|
||||
|
@ -18,15 +21,15 @@ fi
|
|||
ansible-galaxy install coglinev3.veracrypt
|
||||
|
||||
echo "vérification et installation des paquets requis"
|
||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/tk_softwares.yml"
|
||||
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/tk_softwares.yml"
|
||||
|
||||
|
||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/pip_modules.yml"
|
||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/snaps.yml"
|
||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/node_packages.yml"
|
||||
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/pip_modules.yml"
|
||||
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/snaps.yml"
|
||||
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/node_packages.yml"
|
||||
|
||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/cronjob_workflow.yml"
|
||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/cronjob_workflow_root.yml"
|
||||
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/cronjob_workflow.yml"
|
||||
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/cronjob_workflow_root.yml"
|
||||
|
||||
sudo apt autoremove -y
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# */30 * * * * bash /home/tykayn/www/scripts/refresh_from_current_assets.sh
|
||||
|
||||
# configs
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
echo "mise à jour des assets de référence dans les scripts custom $HOME_OF_SCRIPTS depuis l'ordinateur actuel"
|
||||
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# functions_sync.sh définit les constantes utiles
|
||||
# le borg backup fait 1.4 To
|
||||
# le stockage syncable fait
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_sync.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_tk.sh
|
||||
|
||||
|
@ -93,32 +93,6 @@ echo "le log de backup se situe dans : $LOG_FILE_BACKUP_DATES"
|
|||
# --------- mettre à jour les borg backup des serveurs distants -------- #
|
||||
# getWebServersBorg;
|
||||
|
||||
|
||||
# --- maj borg de stockage syncable ---------- #
|
||||
#upBorg;
|
||||
|
||||
#killall borg
|
||||
logDate "### --------- SPACESHIP | creating borg archive at $SPACESHIP_NEW_BORG_REPO"
|
||||
rm -rf ~/.cache/borg/150867528afd85114c8aba98af201a7ad8cf01869c507a87c025d2f8701040a9/lock.exclusive
|
||||
rm -rf ~/.cache/borg/68b9103c6f35bfd198552cb197f149b1d05309d28ce4429f2bec8df01b453660/lock.exclusive
|
||||
rm -rf ~/.cache/borg/b822ee0c0c5c7a181a3b3b7cefc6eb4f3baf9965f30bfca364c2ff92f9962de4/lock.exclusive
|
||||
rm -rf ~/.cache/borg/d1c0552f96686f6d631068bc8bf0c19f2a7ff80f956dc36b0441f3d8aac78a36/lock.exclusive
|
||||
|
||||
# rm -rf SPACESHIP_NEW_BORG_REPO/lock.exclusive
|
||||
|
||||
borg create encrypted_spaceship_{now} $ARCHIVE_SYNCABLE \
|
||||
/home/poule/encrypted/installateurs/installateurs_pour_ventoy \
|
||||
"${exclude_opts[@]}" --progress --verbose --stats --compression zstd,9 \
|
||||
| tee -a $LOG_FILE_BACKUP 2>&1
|
||||
|
||||
echo " " | tee -a $LOG_FILE_BACKUP 2>&1
|
||||
logDate "### --------- ${today} | SPACESHIP | pruning old archives" | tee -a $LOG_FILE_BACKUP 2>&1
|
||||
# nettoyage tk_backup
|
||||
borg prune -v --list --stats --keep-daily=8 --keep-weekly=6 --keep-monthly=3 --keep-yearly=2 | tee -a $LOG_FILE_BACKUP 2>&1
|
||||
logDate "### --------- pruning done"
|
||||
|
||||
|
||||
|
||||
# --------- disques avec beaucoup de place -------- #
|
||||
# --------- disques chiffrés -------- #
|
||||
#syncToBigDiskName louisbraille
|
||||
|
@ -141,7 +115,7 @@ rm -rf /media/tykayn/chaton/borg_archives/backup_land4to
|
|||
rm -rf /media/tykayn/lilia/borg_archives/backup_land4to
|
||||
rm -rf /media/tykayn/blue/borg_archives/backup_land4to
|
||||
|
||||
syncToBigDiskName brossadent
|
||||
#syncToBigDiskName brossadent
|
||||
syncToBigDiskName moonmoon
|
||||
syncToBigDiskName louisbraille
|
||||
syncToBigDiskName rugged
|
||||
|
@ -149,7 +123,7 @@ syncToBigDiskName rugged
|
|||
syncToBigDiskName lilia
|
||||
syncToBigDiskName blue
|
||||
|
||||
clearDiskSyncBorgServer brossadent
|
||||
#clearDiskSyncBorgServer brossadent
|
||||
clearDiskSyncBorgServer moonmoon
|
||||
clearDiskSyncBorgServer louisbraille
|
||||
clearDiskSyncBorgServer rugged
|
||||
|
|
|
@ -6,7 +6,7 @@ echo "updating calendar from nextcloud"
|
|||
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
||||
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
||||
|
||||
URL_CAL="https://nuage.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||
URL_CAL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||
echo $URL_CAL
|
||||
|
||||
wget $URL_CAL -O orgcalendar.ics --show-progress
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#
|
||||
# ------------------------------------------------------------------------------------------------
|
||||
#####################################################
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
######################################################
|
||||
# liste de tous les projets pour chaque forge logicielle
|
||||
#####################################################
|
||||
declare -a list_repos_framagit=("caisse-bliss" "joinfediverse" "date-poll-api" "mastodon" "peertube" "events-liberator" "gitall" "dotclear-importer" "mobilizon" "fanzine-log" "crossed-words" "generator-tk" "circles" "card-deck" "sfprobe" "mastermind" "portfolio" "time-tracker" "cipherbliss.com" "caisse-bliss-frontend" "compta" "trafficjam" "ical-generator" "blueprint-cipherbliss" "dotclear2wordpress" "api" "diaspora" )
|
||||
declare -a list_repos_forge_chapril=("transcription" "org-report-stats" "multi-account-post-schedule-mastodon" "framalibre-scraping" "scripts" "melting-pot" "funky-framadate-front" "rss-feeder-mobilizon" "mastodon-archive-stats" "gtg2json" "libreavous-audio-reader" "osm_my_commerce" "fromage-js" "ueberauth_openstreetmap" "events-liberator")
|
||||
declare -a list_repos_forge_chapril=( "org-report-stats" "mastodon-wall" "melting-pot" "workflow" "mapping-geojson-osm" "rangement" "transcription" "org-report-stats" "multi-account-post-schedule-mastodon" "framalibre-scraping" "scripts" "melting-pot" "funky-framadate-front" "rss-feeder-mobilizon" "mastodon-archive-stats" "gtg2json" "libreavous-audio-reader" "osm_my_commerce" "fromage-js" "ueberauth_openstreetmap" "events-liberator")
|
||||
|
||||
prefix_framagit='https://framagit.org/tykayn/'
|
||||
prefix_forgechapril='https://forge.chapril.org/tykayn/'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# ajouter dans les scripts avec cette ligne:
|
||||
#
|
||||
# source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
||||
# source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
#
|
||||
#
|
||||
export main_user="tykayn"
|
||||
|
@ -26,7 +26,7 @@ export stockage_syncable_folder=/home/poule/encrypted/stockage-syncable
|
|||
# dossier où stocker les projets de dev
|
||||
export www_folder=$stockage_syncable_folder/www/development/html/
|
||||
|
||||
export node_version_expected=20
|
||||
export node_version_expected="stable"
|
||||
|
||||
export today=`date` # to log current time
|
||||
export ARCHIVE_SYNCABLE=$stockage_syncable_folder # place where we have our things sorted, other than home
|
||||
|
@ -36,7 +36,7 @@ export a_dispatcher="$ARCHIVE_SYNCABLE/photos/a_dispatcher" # dossier où sont
|
|||
export PHOTOS_TO_DISPATCH="$a_dispatcher"
|
||||
export PHOTOS_FOLDER="$ARCHIVE_SYNCABLE/photos/"
|
||||
|
||||
export SPACESHIP_BORG_REPO="/home/poule/borg_archives/backup_land4to"
|
||||
export SPACESHIP_BORG_REPO="/home/poule/borg_archives/borg2"
|
||||
export SPACESHIP_NEW_BORG_REPO="/home/poule/borg_archives/borg2"
|
||||
export BORG_REPO=$SPACESHIP_NEW_BORG_REPO
|
||||
|
||||
|
|
Loading…
Reference in New Issue