From 12e2421d2e3992783547425bf8119500f7e15fe4 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Sun, 24 Oct 2021 22:02:55 +0200 Subject: [PATCH] Initial commit --- .envrc | 3 +++ .gitignore | 9 +++++++++ 10-docs/zz-README.md | 1 + 20-editors/zz-README.md | 1 + 25-env/zz-README.md | 1 + 30-subsidiaries/zz-README.md | 1 + 40-legal/zz-README.md | 0 50-systems/zz-README.md | 3 +++ 80-projects/zz-README.md | 1 + 90-www/zz-README.md | 1 + HOWTO.md | 10 ++++++++++ Makefile.toml | 9 +++++++++ aa-scripts/zz-README.md | 1 + shell.nix | 20 ++++++++++++++++++++ xx-LICENSE.md | 9 +++++++++ zz-README.md | 3 +++ 16 files changed, 73 insertions(+) create mode 100644 .envrc create mode 100644 .gitignore create mode 100644 10-docs/zz-README.md create mode 100644 20-editors/zz-README.md create mode 100644 25-env/zz-README.md create mode 100644 30-subsidiaries/zz-README.md create mode 100644 40-legal/zz-README.md create mode 100644 50-systems/zz-README.md create mode 100644 80-projects/zz-README.md create mode 100644 90-www/zz-README.md create mode 100644 HOWTO.md create mode 100644 Makefile.toml create mode 100644 aa-scripts/zz-README.md create mode 100644 shell.nix create mode 100644 xx-LICENSE.md create mode 100644 zz-README.md diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..c59d789 --- /dev/null +++ b/.envrc @@ -0,0 +1,3 @@ +#!/usr/bin/env direnv +# File declaring direnv hook to set up the standard environment per directory +use nix \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c19cae7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Nextcloud +.owncloudsync.log +.sync_*.db +.sync_*.db-shm +.sync_*.db-wal + +# Vscodium extensions +## CodeRunner +tempCodeRunnerFile.* \ No newline at end of file diff --git a/10-docs/zz-README.md b/10-docs/zz-README.md new file mode 100644 index 0000000..3b4db3b --- /dev/null +++ b/10-docs/zz-README.md @@ -0,0 +1 @@ +Repository containing documentation relevant to the project diff --git a/20-editors/zz-README.md b/20-editors/zz-README.md new file mode 100644 index 0000000..5edebe5 --- /dev/null +++ b/20-editors/zz-README.md @@ -0,0 +1 @@ +Directory handling standardized editor configuration separated by solution diff --git a/25-env/zz-README.md b/25-env/zz-README.md new file mode 100644 index 0000000..10f25b8 --- /dev/null +++ b/25-env/zz-README.md @@ -0,0 +1 @@ +Directory containing files that define environment diff --git a/30-subsidiaries/zz-README.md b/30-subsidiaries/zz-README.md new file mode 100644 index 0000000..6ab29d5 --- /dev/null +++ b/30-subsidiaries/zz-README.md @@ -0,0 +1 @@ +Directory containing source files used in our subsidiaries diff --git a/40-legal/zz-README.md b/40-legal/zz-README.md new file mode 100644 index 0000000..e69de29 diff --git a/50-systems/zz-README.md b/50-systems/zz-README.md new file mode 100644 index 0000000..37bd704 --- /dev/null +++ b/50-systems/zz-README.md @@ -0,0 +1,3 @@ +# Infrastracture of RiXotStudio + +This directory governs our infrastracture-as-code that governs our systems separated per used solution diff --git a/80-projects/zz-README.md b/80-projects/zz-README.md new file mode 100644 index 0000000..34f58f5 --- /dev/null +++ b/80-projects/zz-README.md @@ -0,0 +1 @@ +Directory containing project maintained by the RiXotStudio's Counsil diff --git a/90-www/zz-README.md b/90-www/zz-README.md new file mode 100644 index 0000000..6ec8e6f --- /dev/null +++ b/90-www/zz-README.md @@ -0,0 +1 @@ +Directory containing relevant website source code diff --git a/HOWTO.md b/HOWTO.md new file mode 100644 index 0000000..27775b1 --- /dev/null +++ b/HOWTO.md @@ -0,0 +1,10 @@ +### How to work with the source code + +This is a [**monorepository** ](https://en.wikipedia.org/wiki/Monorepo) composed of multiple git repositories that are defined as git submodules to increase the likelyhood of clean commit history and controlled project management for mission critical usage. + +The git submodules are designed to be independent from one another and each provide a standardized: + +1. development environment (e.g. dependencies needed to work with the project) +2. relevant software configuration (e.g. text editor configurationTo utilize these + +Refer to your system administrator or developer for instructions on how to set up reproducible environment in this project or create an issue tracking in our issue tracker in case we didn't provide the required standardization for solution that is capable of [**reproducible builds**](https://en.wikipedia.org/wiki/Reproducible_builds). \ No newline at end of file diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..d550dee --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,9 @@ +# The Cargo-Make file used to interact with the repository + +[tasks.hello] +description = "says hello" +category = "Tools" +script = ''' +#!@shell +echo hello +''' \ No newline at end of file diff --git a/aa-scripts/zz-README.md b/aa-scripts/zz-README.md new file mode 100644 index 0000000..89a12d6 --- /dev/null +++ b/aa-scripts/zz-README.md @@ -0,0 +1 @@ +Directory containing relevant scripts used to manage the repository and separated by language diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..adc161d --- /dev/null +++ b/shell.nix @@ -0,0 +1,20 @@ +#!/usr/bin/env nix-shell +# NixOS shell configuration to bootstrap the required dependencies to work with the source code + +{ + sources ? import ./25-env/nix/niv/sources.nix, + nixpkgs ? import sources.nixpkgs {} +}: +with nixpkgs; + stdenv.mkDerivation { + name = "RiXotStudio"; + buildInputs = [ + niv # Used to update the pinning of nix environment for packages + cargo-make # USed to interpret `Makefile.toml` to interact with the repository + ]; + + shellHook = '' + # Output status update + printf "\\n%s\\n" "Standard RiXotStudio development environment has been set up" + ''; + } diff --git a/xx-LICENSE.md b/xx-LICENSE.md new file mode 100644 index 0000000..5528975 --- /dev/null +++ b/xx-LICENSE.md @@ -0,0 +1,9 @@ +START OF LICENSE + +All rights reserved (C) by Jacob "Kreyren" Hrbek in 11/08/2010 the holder of the public gpg identifier `rsa4096/0x3E0E1A60C82873AD` + +END OF LICENSE + +--- + +WIP-LICENSE(Krey): TBD diff --git a/zz-README.md b/zz-README.md new file mode 100644 index 0000000..2cc0b34 --- /dev/null +++ b/zz-README.md @@ -0,0 +1,3 @@ +# RiXotStudio SCE, w.i.p. + +European Cooperative Society responsible for governance of it's subsidiaries \ No newline at end of file