Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 3.57 KB

File metadata and controls

93 lines (67 loc) · 3.57 KB

Setup

Development

Activate sym link support

  1. Enable "Developer Mode" in Windows 10/11, gives mklink permissions (System->Developer Mode or Terminal Settings)
  2. Ensure symlinks are enabled in git with (at least) one of
  • System setting: check the checkbox when installing msysgit
  • Global setting: git config --global core.symlinks true
  • Local setting: git config core.symlinks true

And not overridden by a lower level config set to false.

Signed git commits

on cmd not powershell (!):

  • gpg --import secret.gpg
  • git config --global user.signingkey <key>
  • git config --global commit.gpgsign true
  • git config --global gpg.program "C:\Program Files\GnuPG\bin\gpg.exe"

Useful git commands

  • all contributors: git log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf
  • execution right on file: git update-index --chmod=+x npm-post-build.sh
  • cleanup checkout: git remote prune origin plus git gc

Python

Run the above commands after initial app installation setup via UniGet

Android / Java

Useful gradle commands

  • gradlew --write-verification-metadata sha256,pgp help --export-keys
  • gradle --console=plain --no-build-cache --dependency-verification lenient -q --write-verification-metadata sha256,pgp dependencies --export-keys
  • gradlew spotbugsDebug --console=plain --dependency-verification lenient -q --write-verification-metadata sha256,pgp dependencies --export-keys

Useful drone commands

  • drone sign nextcloud/android --save

PHP / Web

General dev tools

General Tooling