diff --git a/.github/workflows/.templates/Rebuild-the-manager-createstructure-locally.md b/.github/workflows/.templates/Rebuild-the-manager-createstructure-locally.md new file mode 100644 index 0000000..1ef8f62 Binary files /dev/null and b/.github/workflows/.templates/Rebuild-the-manager-createstructure-locally.md differ diff --git a/.github/workflows/.templates/_Footer.md b/.github/workflows/.templates/_Footer.md new file mode 100644 index 0000000..53ed96f Binary files /dev/null and b/.github/workflows/.templates/_Footer.md differ diff --git a/.github/workflows/.templates/_Header.md b/.github/workflows/.templates/_Header.md new file mode 100644 index 0000000..1897711 Binary files /dev/null and b/.github/workflows/.templates/_Header.md differ diff --git a/.github/workflows/upgrade-documentation.yml b/.github/workflows/upgrade-documentation.yml index c1fcc51..4d860da 100644 --- a/.github/workflows/upgrade-documentation.yml +++ b/.github/workflows/upgrade-documentation.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Export UML + continue-on-error: true uses: docker://rlespinasse/drawio-export:latest with: args: -f svg -o ./ docs @@ -102,85 +103,13 @@ jobs: sed -i 's/docs/docs # documentation/g' Directory-Structure.md - name: Rebuild the manager-createstructure locally run: | - cd wiki - echo "## :octocat: Rebuild the manager-createstructure locally :octocat:" >> Rebuild-the-manager-createstructure-locally.md - echo "Install the manager-create locally permits you to do some debug and try new configurations." >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "### Steps:" >> Rebuild-the-manager-createstructure-locally.md - echo "- [:octocat: Rebuild the manager-createstructure locally :octocat:](#octocat-rebuild-the-manager-createstructure-locally-octocat)" >> Rebuild-the-manager-createstructure-locally.md - echo " - [Steps:](#steps)" >> Rebuild-the-manager-createstructure-locally.md - echo " - [1. Install VirtualBox on the PC](#1-install-virtualbox-on-the-pc)" >> Rebuild-the-manager-createstructure-locally.md - echo " - [2. Install Ubuntu](#2-install-ubuntu)" >> Rebuild-the-manager-createstructure-locally.md - echo " - [3. Install dependencies](#3-install-dependencies)" >> Rebuild-the-manager-createstructure-locally.md - echo " - [4. Compile](#4-compile)" >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "### 1. Install VirtualBox on the PC" >> Rebuild-the-manager-createstructure-locally.md - echo "For installation we suggest VirtualBox, a tool that allows you to create one or more virtual machines :computer:." >> Rebuild-the-manager-createstructure-locally.md - echo "If any of these crashes, in any case, your PC will not lose data, at most you will have to restart it :smile:." >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "To install VirtualBox on your PC you need to:" >> Rebuild-the-manager-createstructure-locally.md - echo "- Get in into the UEFI" >> Rebuild-the-manager-createstructure-locally.md - echo "- Enable the function which name is like \"Virtualization\" (for each UEFI this step is different but similar)" >> Rebuild-the-manager-createstructure-locally.md - echo "- Save the configuration and restart the PC" >> Rebuild-the-manager-createstructure-locally.md - echo "- Go to the [VirtualBox website](https://www.virtualbox.org/)" >> Rebuild-the-manager-createstructure-locally.md - echo "- Press \"Download\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Run the downloaded file" >> Rebuild-the-manager-createstructure-locally.md - echo "- Follow the installation steps" >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "### 2. Install Ubuntu" >> Rebuild-the-manager-createstructure-locally.md - echo "As the OS we suggest to use Ubuntu, because it is lightweight (for RAM and CPU) and it's free." >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "To install Ubuntu on VirtualBox you need to:" >> Rebuild-the-manager-createstructure-locally.md - echo "- Download the last LTS version of Ubuntu by the following link: [https://ubuntu.com/download/desktop](https://ubuntu.com/download/desktop)" >> Rebuild-the-manager-createstructure-locally.md - echo "> Now you can continue with the other steps during the download" >> Rebuild-the-manager-createstructure-locally.md - echo "- Open VirtualBox" >> Rebuild-the-manager-createstructure-locally.md - echo "- Press \"New\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Compile the form" >> Rebuild-the-manager-createstructure-locally.md - echo " - As name put \"rest-createstructure\"" >> Rebuild-the-manager-createstructure-locally.md - echo " - As Type: \"Linux\"" >> Rebuild-the-manager-createstructure-locally.md - echo " - As version: \"Ubuntu (64-bit)\" or \"Ubuntu (32-bit)\"" >> Rebuild-the-manager-createstructure-locally.md - echo " - Press \"Next >\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Set the RAM to use for the VirtualMachine, at most half of local RAM and press \"Next >\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Leave \"Create a virtual hard disk now\" and press \"Create\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Leave \"VDI ...\" and press \"Next >\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Leave \"Dynamically allocated\" and press \"Next >\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Change the hard disk memory, we suggest 16GB and press \"Create\"" >> Rebuild-the-manager-createstructure-locally.md - echo "> Make sure that Ubuntu download is finished before to continue" >> Rebuild-the-manager-createstructure-locally.md - echo "- On the VirtualBox console, selecting the created VM, press \"Start\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Select as start-up disk Ubuntu, already downloaded" >> Rebuild-the-manager-createstructure-locally.md - echo " - Press the folder icon" >> Rebuild-the-manager-createstructure-locally.md - echo " - Press \"Add\", in the top menu" >> Rebuild-the-manager-createstructure-locally.md - echo " - Select the Ubuntu iso, the file will have a structure like \"ubuntu-version-other_info.iso\"" >> Rebuild-the-manager-createstructure-locally.md - echo " - Press \"Choose\" and \"Start\"" >> Rebuild-the-manager-createstructure-locally.md - echo "- Follow the install steps (the installation needs some minutes)" >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "### 3. Install dependencies" >> Rebuild-the-manager-createstructure-locally.md - echo "Now you have to install building dependencies." >> Rebuild-the-manager-createstructure-locally.md - echo "To install Dependes on the Virtual Machine you need to:" >> Rebuild-the-manager-createstructure-locally.md - echo "- On the VM (Virtual Machine) open the terminal (\`Ctrl + Alt + T\`)" >> Rebuild-the-manager-createstructure-locally.md - echo "- On the terminal paste \`sudo apt update; sudo add-apt-repository ppa:jyrki-pulliainen/dh-virtualenv -y; sudo apt-get install git build-essential debhelper devscripts equivs dh-virtualenv python3.8 gnupg gnupg2 libcurl4-openssl-dev libssl-dev -y; git clone https://github.com/createstructure/manager-createstructure; cd manager-createstructure; echo \"3.0 (native)\" > ./debian/source/format\` and insert password" >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md - echo "### 4. Compile" >> Rebuild-the-manager-createstructure-locally.md - echo "To compile type: \`dpkg-buildpackage -us -uc\`" >> Rebuild-the-manager-createstructure-locally.md - echo "Now the .deb file is in the .. folder, you can install it with apt." >> Rebuild-the-manager-createstructure-locally.md - echo "" >> Rebuild-the-manager-createstructure-locally.md + cp repo/.github/workflows/.templates/Rebuild-the-manager-createstructure-locally.md wiki/Rebuild-the-manager-createstructure-locally.md - name: _Footer file run: | - cd wiki - echo "---" > _Footer.md - echo "Made w/ :heart: by Castellani Davide" >> _Footer.md - echo "" >> _Footer.md - echo "If you want to contribute you can start with:" >> _Footer.md - echo "- [Discussion]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/discussions)" >> _Footer.md - echo "- [Issue]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/issues/new)" >> _Footer.md + cp repo/.github/workflows/.templates/_Footer.md wiki/_Footer.md - name: _Header file run: | - cd wiki - echo "# manager-createstructure" > _Header.md - echo "[![GitHub license](https://img.shields.io/badge/license-GNU-green?style=flat)]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/blob/$(echo ${GITHUB_REF#refs/heads/})/docs/LICENSE)" >> _Header.md - echo "![Author](https://img.shields.io/badge/author-Castellani%20Davide-green?style=flat)" >> _Header.md - echo "![sys.platform supported](https://img.shields.io/badge/OS%20platform%20supported-all-blue?style=flat) " >> _Header.md - echo "" >> _Header.md + cp repo/.github/workflows/.templates/_Header.md wiki/_Header.md - name: Recreate README.md run: | cat wiki/_Header.md > repo/docs/README.md diff --git a/debian/changelog b/debian/changelog index 17947ec..9492ba4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +manager (10.01.06) focal jammy; urgency=medium + + * [Upgrade docs automation](https://github.com/createstructure/manager-createstructure/issues/14) + * [Ubuntu 22.04](https://github.com/createstructure/manager-createstructure/issues/15) + + -- Castellani Davide Tue, 27 Dec 2022 15:15:00 +1000 + manager (10.01.05) focal; urgency=medium * [Added charts automation](https://github.com/createstructure/manager-createstructure/issues/12) diff --git a/debian/rules b/debian/rules old mode 100755 new mode 100644 diff --git a/docs/README.md b/docs/README.md index 70d226f..3a2697b 100644 Binary files a/docs/README.md and b/docs/README.md differ diff --git a/docs/manager-createstructure-Class-UML.svg b/docs/manager-createstructure-Class-UML.svg index 0288c44..6232620 100644 --- a/docs/manager-createstructure-Class-UML.svg +++ b/docs/manager-createstructure-Class-UML.svg @@ -1,2 +1,3 @@ + -
librerias-createstructure
librerias-createstructure
cryptation
cryptation
emoji
emoji
inputs
inputs
json
json
positive
positive
rest
rest
sleep
sleep
help- i:Inputs+ Help(inputs:Inputs)+ execute()+ execute(inputs:Inputs)manager+ main(argc:int, argv:char*[]):int
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
login- i:Inputs- info:map<string, string>- needed_info:vector<pair<string, string>>+ Login(inputs:Inputs)+ execute()+ execute(inputs:Inputs)memory+ <<ptr>> MEMORY_UNIT- memoryUnit:MEMORY_UNIT- memInfo:sysinfo+ Memory(unit:MEMORY_UNIT)+ getTotalMemory():long long+ getFreeMemory():long long+ getUsedMemory():long long+ getUsedMemoryPercent():double+ getTotalMemory(unit:MEMORY_UNIT):long long+ getFreeMemory(unit:MEMORY_UNIT):long long+ getUsedMemory(unit:MEMORY_UNIT):long long+ getUsedMemoryPercent(unit:MEMORY_UNIT):doubleversion+ execute(inputs:Inputs)+ Version(inputs:Inputs)+ execute()- i:Inputs<<enum>>MEMORY_UNITBYTEKBMBGBTBPBEBZBYB
Viewer does not support full SVG 1.1
\ No newline at end of file +
librerias-createstructure
librerias-createstructure
cryptation
cryptation
emoji
emoji
inputs
inputs
json
json
positive
positive
rest
rest
sleep
sleep
help- i:Inputs+ Help(inputs:Inputs)+ execute()+ execute(inputs:Inputs)manager+ main(argc:int, argv:char*[]):int
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
Use
login- i:Inputs- info:map<string, string>- needed_info:vector<pair<string, string>>+ Login(inputs:Inputs)+ execute()+ execute(inputs:Inputs)memory+ <<ptr>> MEMORY_UNIT- memoryUnit:MEMORY_UNIT- memInfo:sysinfo+ Memory(unit:MEMORY_UNIT)+ getTotalMemory():long long+ getFreeMemory():long long+ getUsedMemory():long long+ getUsedMemoryPercent():double+ getTotalMemory(unit:MEMORY_UNIT):long long+ getFreeMemory(unit:MEMORY_UNIT):long long+ getUsedMemory(unit:MEMORY_UNIT):long long+ getUsedMemoryPercent(unit:MEMORY_UNIT):doubleversion+ execute(inputs:Inputs)+ Version(inputs:Inputs)+ execute()- i:Inputs<<enum>>MEMORY_UNITBYTEKBMBGBTBPBEBZBYB
Text is not SVG - cannot display
\ No newline at end of file diff --git a/docs/manager-createstructure.drawio b/docs/manager-createstructure.drawio old mode 100755 new mode 100644