diff --git a/README.md b/README.md index 3e90205..708b388 100644 --- a/README.md +++ b/README.md @@ -1,88 +1,93 @@ -> __[English](https://github.com/bakhirev/assayo)__ | [中文](https://github.com/bakhirev/assayo/blob/main/documents/ZH.md) | [Español](https://github.com/bakhirev/assayo/blob/main/documents/ES.md) | [Français](https://github.com/bakhirev/assayo/blob/main/documents/FR.md) | [Português](https://github.com/bakhirev/assayo/blob/main/documents/PT.md) | [Deutsch](https://github.com/bakhirev/assayo/blob/main/documents/DE.md) | [日本語](https://github.com/bakhirev/assayo/blob/main/documents/JA.md) | [Русский](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) +> __[English](https://github.com/bakhirev/assayo)__ | [Español](https://github.com/bakhirev/assayo/blob/main/documents/ES.md) | [中文](https://github.com/bakhirev/assayo/blob/main/documents/ZH.md) | [Français](https://github.com/bakhirev/assayo/blob/main/documents/FR.md) | [Deutsch](https://github.com/bakhirev/assayo/blob/main/documents/DE.md) | [Português](https://github.com/bakhirev/assayo/blob/main/documents/PT.md) | [日本語](https://github.com/bakhirev/assayo/blob/main/documents/JA.md) | [Русский](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) > The [main documentation](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) is in russian. This is a translation. It may contain errors. If you a native speaker, you can help improve this translation. Thanks! -# [Assayo](https://assayo.online/?ref=github) +# [Assayo](https://assayo.online/?ref=github&lang=en) +Visualization and analysis of git commit statistics. Performance tool for Team Lead and IT-audit -Visualization and analysis of git commit statistics. Team Lead performance tool. - -Links: [demo](https://assayo.online/demo/?ref=github&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). +Links: [demo](https://assayo.online/demo/?ref=github&lang=en&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). - + + ##### 👨‍💻 Employee can evaluate new workplace - work speed; - number of extra hours worked; - areas of competence; - volume of features and bugs; - working style of colleagues; - + ##### ‍👨‍💼 Team lead can evaluate employees - identify slackers; - estimate the amount of code; - learn the work speed; - notice behavioral anomalies; - see the dynamics of work by week; - + ##### 👑 Founder can evaluate product - product cost; - cost of features; - development time; - forecast of rework time; - forecast cost; - -### Table of contents -- [How to quickly view the number of commits?](#link-1) -- [How to create a report?](#link-1-1) -- [How to concat authors?](#link-2) -- [How to export data from git?](#link-3) - - [For online viewing](#link-4) - - [For offline viewing](#link-5) -- [How to view the report?](#link-6) - - [Online](#link-7) - - [Offline](#link-8) -- [How to rebuild the HTML report from source code?](#link-9) -- [How to view a report on a group of microservices?](#link-10) -- [How to brand the interface?](#link-11) -- [How to sign commits?](#link-12) -- [How to add checking for commit message?](#link-13) - - [Use file commit-msg](#link-14) - - [Use package pre-commit](#link-15) -- [How to automate data collection?](#link-16) - - [With backend](#link-17) - - [Without backend](#link-18) -- [DevOps (CI/CD)](#link-19) - - [Public server](#link-20) - - [Private server](#link-21) - - [How to update the Docker image?](#link-22) -- [About application](#link-23) - - [Architecture](#link-24) - - [How to add or edit a translation?](#link-25) - - [RoadMap](#link-26) - - [Contacts](#link-27) - - + +### Table of contents +- [How to quickly view the number of commits?](#link-4) +- [How to create a local report with using library?](#link-5) +- [How to concat authors?](#link-6) +- [How to export data from git?](#link-7) + - [For online viewing](#link-8) + - [For offline viewing](#link-9) + - [If you use PowerShell in Windows](#link-10) +- [How to view the report?](#link-11) + - [Using website](#link-12) + - [Use the library NodeJS](#link-13) + - [Use the library PHP](#link-14) + - [Use source code](#link-15) +- [How to rebuild the HTML report from source code?](#link-16) +- [How to view a report on a group of microservices?](#link-17) +- [How to brand the interface?](#link-18) +- [How to sign commits?](#link-19) +- [How to add checking for commit message?](#link-20) + - [Use file commit-msg](#link-21) + - [Use package pre-commit](#link-22) +- [How to automate data collection?](#link-23) + - [With backend](#link-24) + - [Without backend](#link-25) +- [DevOps ](#link-26) + - [Public server](#link-27) + - [Private server](#link-28) + - [How to update the Docker image?](#link-29) +- [️ About application](#link-30) + - [Architecture](#link-31) + - [How to add or edit a translation?](#link-32) + - [RoadMap:](#link-33) + - [Feedback, comments](#link-34) + ### 🚀 How to quickly view the number of commits? In the root directory of your project, run: ``` git shortlog -s -n -e ``` - - -### 🚀 How to create a report? -If you have NodeJS, you can run: + +### 🏭 How to create a local report with using library? +NodeJS: ``` npx assayo ``` +PHP: +``` +composer require bakhirev/assayo +vendor/bin/assayo +``` The script will create a folder `./assayo` with a report about repository: ``` ./assayo/index.html - report ./assayo/log.txt - information from git ``` -If you do not have NodeJS , see the items "How to download data from git?" and "How to view the report?" - - +If you do not have NodeJS/PHP , see the items "How to download data from git?" and "How to view the report?" + ### ‍🎭 How to concat authors? In the root directory of your project, you need to create a `.mailmap` file. Example of the contents of the file: @@ -91,81 +96,70 @@ Alex B Alex B Alex B Alex B -``` +``` Read more about the format of this file you can [here](https://git-scm.com/docs/gitmailmap). - - + ### 📤 How to export data from git? - - -#### For online viewing + +#### For online viewing In the root directory of your project run: ``` git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" > log.txt ``` - -#### For offline viewing + +#### For offline viewing ``` -git --no-pager log --raw --numstat --raw --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" | sed -e 's/\\/\\\\/g' | sed -e 's/`/"/g' | sed -e 's/^/report.push(\`/g' | sed 's/$/\`\);/g' | sed 's/\$/_/g' > log.txt +git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" | sed -e 's/\\/\\\\/g' | sed -e 's/`/"/g' | sed -e 's/^/report.push(\`/g' | sed 's/$/\`\);/g' | sed 's/\$/_/g' > log.txt ``` -Git will create a file `log.txt`. -This file contains data for show a report. -The difference between the online and offline format is the presence of a wrapper for strings. The offline format will be pulled up like a `js` file if you just opened `/build/index.html ` - -#### If you use PowerShell in Windows - +Git will create a file `log.txt`. This file contains data for show a report. The difference between the online and offline format is the presence of a wrapper for strings. The offline format will be pulled up like a `js` file if you just opened `/build/index.html ` + +#### If you use PowerShell in Windows By default, the output encoding may not match UTF-8 and the resulting log file will be unreadable. Before saving the log, you can change the encoding with the command. - ``` [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 ``` -Or open a saved file and manually change the encoding to UTF8. - - - -### 📈 How to view the report? - -#### Using website +or open a saved file and manually change the encoding to UTF-8. + +### How to view the report? + +#### 📈 Using website - go to the [website](https://assayo.online/); -- click the “[Demo](https://assayo.online/demo)” button; +- click the “[Demo](https://assayo.online/demo?ref=github&lang=en)” button; - drop the `log.txt` file into the browser window; - - -#### Use the library (NodeJS) + +#### Use the library (NodeJS) - run `npx assayo` - open `./assayo/index.html` -#### Use the library (PHP) + +#### Use the library (PHP) - run `composer require bakhirev/assayo` - run `vendor/bin/assayo` - open `./assayo/index.html` -#### Use source code + +#### Use source code - download this repository `git clone https://github.com/bakhirev/assayo.git`; - drop the `log.txt` file to the `/build` folder; - run `/build/index.html`; - or drop the `/build` folder to your repository (where the `log.txt` is located). You can change the name. For example, from `/build` to `/report`. In this case, it is important that the `log.txt` file is generated by the command for offline viewing. - - + ### 🏭 How to rebuild the HTML report from source code? - download this repository `git clone https://github.com/bakhirev/assayo.git` - run `npm install` - run `npm run build:local` - the new HTML build will be in the `/build` folder - - + ### 🗃️ How to view a report on a group of microservices? - generate for each microservice file `log.txt` (`log-1.txt`, `log-2.txt`, `log-3.txt` and etc.) You can do this manually, or use the [Assayo Crawler](https://github.com/bakhirev/assayo-crawler) module for automatic log collection; - see “How to view an online report?”. At the last step, drag all the files at once into the browser window. - see “How to see a report offline?”. At the second step, drag all microservice files (`log-1.txt`, `log-2.txt`, `log-3.txt` and etc.) to the report folder (`/build`). - - + ### 🎨 How to brand the interface? You can create your own interface theme. Options: - **Title**. You can set default document title in the URL parameter ```title```. Example: ```?title=You Company``` - **Visual theme**. To do this, you need to prepare a CSS file with new styles and specify its URL in the ```theme``` parameter. Example: ```?theme=//company.com/some.css```. You can use class names as selectors. Most of them do not change in new versions. - **Language**. You can set language in the URL parameter ```lang```. Example: ```?lang=es``` - - + ### 📝 How to sign commits? Follow the [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). Example: ``` @@ -175,12 +169,10 @@ JIRA-1234 feat(profile): Added avatar for user - type of work `(feat, fix, style, refactor, test, doc и т.д.)` - feature `(profile - new page on site or new function, use one (two) short wordor an abbreviation)` - what problem were solved `(Added avatar for user)` - - + ### 👮 How to add checking for commit message? - - -#### Use file `commit-msg` + +#### Use file `commit-msg` 1. Create file `commit-msg` in folder `.git/hooks/` 2. Add this text in file: ``` @@ -190,8 +182,8 @@ if ! grep -iqE "(JIRA-[0-9]{1,5})(\s)(feat|fix|docs|style|refactor|test|chore)(( exit 1 fi ``` - -#### Use package [pre-commit](https://www.npmjs.com/package/pre-commit) + +#### Use package [pre-commit](https://www.npmjs.com/package/pre-commit) 1. Add in file `package.json` property `commit-msg`: ``` ... @@ -202,34 +194,28 @@ fi ... ``` 2. Run command `npm install pre-commit` - - + ### 📚 How to automate data collection? - - -#### With backend + +#### With backend - use module [Assayo Crawler](https://github.com/bakhirev/assayo-crawler); - - -#### Without backend + +#### Without backend - create a clone of the repository you need; - copy the `build` folder to the root; - open `build/index.html` in the browser and add it to bookmarks; - add a shortcut to `build/assets/ci-cd.sh` to the startup folder (Windows); Every time you restart the computer, the script will update statistics on all the data that automatically merged into the main branch. - - + ### 🛠️ DevOps (CI/CD) - - -#### Public server -You can upload the data file for report construction to a public URL. And use the website’s [assayo](https://assayo.online/?ref=github) to visualize it. + +#### Public server +You can upload the data file for report construction to a public URL. And use the website’s [assayo](https://assayo.online/?ref=github&lang=en) to visualize it. ``` https://assayo.online/demo/?dump=//you_site.com/some/log.txt ``` - - -#### Private server + +#### Private server - download the [docker image](https://hub.docker.com/r/bakhirev/assayo); - run it on your local network; - use the web interface to view the reports, set the URL of the data in the URL parameter ```dump```: @@ -239,32 +225,27 @@ assayo_url - URL of the assayo container, it listens on port 80; you_url - URL of your container with git logs; ``` By default, the image will run at ```http://127.0.0.1:80/```. If it doesn't work, check if port 80 is free. - - -#### How to update the Docker image? + +#### How to update the Docker image? - run ```npm run build:docker``` - run ```docker build -t assayo .``` - visually check the image ```docker run --name assayo -p 80:80 -d assayo```; - add tag ```docker tag assayo bakhirev/assayo:latest```; - push image to [Docker Hub](https://hub.docker.com/r/bakhirev/assayo) ```docker push bakhirev/assayo:latest```; - - -### ️ 🛠️ About application - - + +### 🛠️ ️ About application + #### 📐 Architecture 1. [Reports showcase UI](https://github.com/bakhirev/assayo-showcase) displays a list of available reports. Each report consists of a title, description, and a list of repositories. 2. [Crawler service](https://github.com/bakhirev/assayo-crawler) collects repository logs for the report. 3. [Log visualization UI](https://github.com/bakhirev/assayo) **(you here)** displays report. Needs a log file for work. - - + #### 🈯 How to add or edit a translation? You can add a new translation or correct an existing one in the ```ts/translations/``` folder. [Instruction](https://github.com/firstcontributions/first-contributions) - - + #### 🗺️ RoadMap: Releases are planned approximately once every six months. What’s next: - more recommendations and achievements; @@ -273,11 +254,10 @@ Releases are planned approximately once every six months. What’s next: - file analysis; - different roles for statistics (hiding finances); - development of the backend, integration with other systems; - - -#### 📬 Feedback, suggestions, comments + +#### 📧 Feedback, comments - Telegram Messenger [@bakhirev](https://t.me/bakhirev) (preferred method of communication) - 📧 [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) -- 🌐 [https://assayo.online/](https://assayo.online/?ref=github) +- 🌐 [https://assayo.online/](https://assayo.online/?ref=github&lang=en) diff --git a/documents/DE.md b/documents/DE.md index 6b3030e..909e9e3 100644 --- a/documents/DE.md +++ b/documents/DE.md @@ -2,7 +2,9 @@ # [Assayo](https://assayo.online/?ref=github&lang=de) -Visualisierung und analyse ihrer Git-datenbank ([demo](https://assayo.online/demo/?ref=github&lang=de&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Visualisierung und analyse ihrer git-datenbank. Performance tool for Team Lead and IT-audit + +Links: [demo](https://assayo.online/demo/?ref=github&lang=de&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/EN.md b/documents/EN.md index 782bb3b..bc10e55 100644 --- a/documents/EN.md +++ b/documents/EN.md @@ -3,10 +3,12 @@ > The [main documentation](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) is in russian. This is a translation. It may contain errors. If you a native speaker, you can help improve this translation. Thanks! # [Assayo](https://assayo.online/?ref=github&lang=en) -Visualization and analysis of git commit statistics. Team Lead performance tool. ([demo](https://assayo.online/demo/?ref=github&lang=en&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Visualization and analysis of git commit statistics. Performance tool for Team Lead and IT-audit + +Links: [demo](https://assayo.online/demo/?ref=github&lang=en&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). - + ##### 👨‍💻 Employee can evaluate new workplace @@ -254,7 +256,7 @@ Releases are planned approximately once every six months. What’s next: - development of the backend, integration with other systems; #### 📧 Feedback, comments -- 📱 [https://t.me/bakhirev](https://t.me/bakhirev) (priority method of communication) +- Telegram Messenger [@bakhirev](https://t.me/bakhirev) (preferred method of communication) - 📧 [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - 🌐 [https://assayo.online/](https://assayo.online/?ref=github&lang=en) diff --git a/documents/ES.md b/documents/ES.md index d63f26c..303e686 100644 --- a/documents/ES.md +++ b/documents/ES.md @@ -3,7 +3,9 @@ > [Documentación básica](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) en ruso. Es una traducción. Puede contener errores. Si usted es un hablante nativo, puede ayudar a mejorar esta traducción. ¡Gracias! # [Assayo](https://assayo.online/?ref=github&lang=es) -Visualización y análisis de los datos de su repositorio git. ([demo](https://assayo.online/demo/?ref=github&lang=es&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Visualización y análisis de los datos de su repositorio git. Performance tool for Team Lead and IT-audit + +Links: [demo](https://assayo.online/demo/?ref=github&lang=es&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/FR.md b/documents/FR.md index b483ab2..ef3f18d 100644 --- a/documents/FR.md +++ b/documents/FR.md @@ -3,7 +3,9 @@ > La [documentation principale](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) est en russe. C'est une traduction. Il peut contenir des erreurs. Si vous êtes un locuteur natif, vous pouvez aider à améliorer cette traduction. Merci! # [Assayo](https://assayo.online/?ref=github&lang=fr) -Visualisation et analyse des données de votre dépôt Git ([demo](https://assayo.online/demo/?ref=github&lang=fr&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Visualisation et analyse des données de votre dépôt git. Performance tool for Team Lead and IT-audit + +Links: [demo](https://assayo.online/demo/?ref=github&lang=fr&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/JA.md b/documents/JA.md index 95ab6f6..866af59 100644 --- a/documents/JA.md +++ b/documents/JA.md @@ -3,7 +3,9 @@ > [主な文書はロシア語です。](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) これは翻訳です。 エラーが含まれている可能性があります。 あなたがネイティブスピーカーであれば、この翻訳を改善するのに役立ちます。 ありがとう! # [Assayo](https://assayo.online/?ref=github&lang=ja) -データの可視化とGitレポジトリの分析 ([デモ](https://assayo.online/demo/?ref=github&lang=ja&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +データの可視化とGitレポジトリの分析 + +Links: [デモ](https://assayo.online/demo/?ref=github&lang=ja&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/PT.md b/documents/PT.md index 1bbfd4a..fc3d621 100644 --- a/documents/PT.md +++ b/documents/PT.md @@ -3,7 +3,9 @@ > [Documentação básica](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) em russo. É uma tradução. Pode conter erros. Se você é um falante nativo, você pode ajudar a melhorar esta tradução. Obrigado! # [Assayo](https://assayo.online/?ref=github&lang=pt) -Visualização e análise de dados do seu repositório git ([demonstração](https://assayo.online/demo/?ref=github&lang=pt&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Visualização e análise de dados do seu repositório git. Performance tool for Team Lead and IT-audit + +Links: [demo](https://assayo.online/demo/?ref=github&lang=pt&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/RU.md b/documents/RU.md index a361ef2..b169cea 100644 --- a/documents/RU.md +++ b/documents/RU.md @@ -2,7 +2,9 @@ # [Assayo](https://assayo.online/?ref=github&lang=ru) -Визуализация и анализ данных вашего git-репозитория ([демо](https://assayo.online/demo/?ref=github&lang=ru&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +Визуализация и анализ данных вашего git-репозитория. Инструмент для тимлидов и IT-аудита. + +Ссылки: [демо](https://assayo.online/demo/?ref=github&lang=ru&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/ZH.md b/documents/ZH.md index fdcb96a..76bc424 100644 --- a/documents/ZH.md +++ b/documents/ZH.md @@ -3,7 +3,9 @@ > [主要文件是俄文。](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) 这是一个翻译。 它可能包含错误。 如果您是母语人士,您可以帮助改进此翻译。 谢谢! # [Assayo](https://assayo.online/?ref=github&lang=zh) -对您的git仓库的数据进行可视化和分析 ([示范表现](https://assayo.online/demo/?ref=github&lang=zh&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo)). +对您的git仓库的数据进行可视化和分析 团队领导及资讯科技审核的表现工具 + +Links: [示范表现](https://assayo.online/demo/?ref=github&lang=zh&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/). diff --git a/documents/src/json/de.json b/documents/src/json/de.json index cc3faac..c1b7bd7 100644 --- a/documents/src/json/de.json +++ b/documents/src/json/de.json @@ -1,6 +1,9 @@ [ { - "p": "Visualisierung und analyse ihrer Git-datenbank ([demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Visualisierung und analyse ihrer git-datenbank. Performance tool for Team Lead and IT-audit" + }, + { + "p": "Links: [demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "Mitarbeiter können den neuen arbeitsplatz bewerten" diff --git a/documents/src/json/en.json b/documents/src/json/en.json index 3590523..81bd53d 100644 --- a/documents/src/json/en.json +++ b/documents/src/json/en.json @@ -3,7 +3,10 @@ "warning": "The [main documentation](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) is in russian. This is a translation. It may contain errors. If you a native speaker, you can help improve this translation. Thanks!" }, { - "p": "Visualization and analysis of git commit statistics. Team Lead performance tool. ([demo](https://assayo.online/demo/?ref=github&lang=en&dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Visualization and analysis of git commit statistics. Performance tool for Team Lead and IT-audit" + }, + { + "p": "Links: [demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "Employee can evaluate new workplace" diff --git a/documents/src/json/es.json b/documents/src/json/es.json index 8267313..dbb7bc1 100644 --- a/documents/src/json/es.json +++ b/documents/src/json/es.json @@ -3,7 +3,10 @@ "warning": "[Documentación básica](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) en ruso. Es una traducción. Puede contener errores. Si usted es un hablante nativo, puede ayudar a mejorar esta traducción. ¡Gracias!" }, { - "p": "Visualización y análisis de los datos de su repositorio git. ([demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Visualización y análisis de los datos de su repositorio git. Performance tool for Team Lead and IT-audit" + }, + { + "p": "Links: [demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "El empleado puede evaluar el nuevo lugar de trabajo" diff --git a/documents/src/json/fr.json b/documents/src/json/fr.json index 0edc4a1..a4ed811 100644 --- a/documents/src/json/fr.json +++ b/documents/src/json/fr.json @@ -3,7 +3,10 @@ "warning": "La [documentation principale](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) est en russe. C'est une traduction. Il peut contenir des erreurs. Si vous êtes un locuteur natif, vous pouvez aider à améliorer cette traduction. Merci!" }, { - "p": "Visualisation et analyse des données de votre dépôt Git ([demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Visualisation et analyse des données de votre dépôt git. Performance tool for Team Lead and IT-audit" + }, + { + "p": "Links: [demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "Un employé peut évaluer un nouveau lieu de travail" diff --git a/documents/src/json/ja.json b/documents/src/json/ja.json index 3f780f2..5077601 100644 --- a/documents/src/json/ja.json +++ b/documents/src/json/ja.json @@ -3,7 +3,10 @@ "warning": "[主な文書はロシア語です。](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) これは翻訳です。 エラーが含まれている可能性があります。 あなたがネイティブスピーカーであれば、この翻訳を改善するのに役立ちます。 ありがとう!" }, { - "p": "データの可視化とGitレポジトリの分析 ([デモ](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "データの可視化とGitレポジトリの分析" + }, + { + "p": "Links: [デモ](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "従業員は新しい職場を評価することができます" diff --git a/documents/src/json/pt.json b/documents/src/json/pt.json index 0d29117..8e88e78 100644 --- a/documents/src/json/pt.json +++ b/documents/src/json/pt.json @@ -3,7 +3,10 @@ "warning": "[Documentação básica](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) em russo. É uma tradução. Pode conter erros. Se você é um falante nativo, você pode ajudar a melhorar esta tradução. Obrigado!" }, { - "p": "Visualização e análise de dados do seu repositório git ([demonstração](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Visualização e análise de dados do seu repositório git. Performance tool for Team Lead and IT-audit" + }, + { + "p": "Links: [demo](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "Funcionario de avaliar o novo local de trabalho" diff --git a/documents/src/json/ru.json b/documents/src/json/ru.json index fcad32c..ded0d38 100644 --- a/documents/src/json/ru.json +++ b/documents/src/json/ru.json @@ -1,6 +1,9 @@ [ { - "p": "Визуализация и анализ данных вашего git-репозитория ([демо](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "Визуализация и анализ данных вашего git-репозитория. Инструмент для тимлидов и IT-аудита." + }, + { + "p": "Ссылки: [демо](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "Сотрудник может оценить новое место работы" diff --git a/documents/src/json/zh.json b/documents/src/json/zh.json index cf1bf87..9a5474b 100644 --- a/documents/src/json/zh.json +++ b/documents/src/json/zh.json @@ -3,7 +3,10 @@ "warning": "[主要文件是俄文。](https://github.com/bakhirev/assayo/blob/main/documents/RU.md) 这是一个翻译。 它可能包含错误。 如果您是母语人士,您可以帮助改进此翻译。 谢谢!" }, { - "p": "对您的git仓库的数据进行可视化和分析 ([示范表现](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo))." + "p": "对您的git仓库的数据进行可视化和分析 团队领导及资讯科技审核的表现工具" + }, + { + "p": "Links: [示范表现](https://assayo.online/demo/?dump=./test.txt), [install](https://assayo.online/demo/?ref=github), [docker](https://hub.docker.com/r/bakhirev/assayo), [reddit](https://www.reddit.com/r/ITManagers/comments/1e5k291/the_visualization_and_analysis_of_git_commit/), [habr](https://habr.com/ru/articles/763342/)." }, { "h5": "工作人员可以评估新工作场所" diff --git a/documents/src/lib/JsonToMd/getMarkdownFromJson.js b/documents/src/lib/JsonToMd/getMarkdownFromJson.js index b32bb23..10dc46f 100644 --- a/documents/src/lib/JsonToMd/getMarkdownFromJson.js +++ b/documents/src/lib/JsonToMd/getMarkdownFromJson.js @@ -31,7 +31,7 @@ function getMarkdownFromJson(json, languages, language) { (json || []).forEach((tag, index) => { if (!tag) return; - if (index === 1) { + if (index === 2) { markdown.push(custom.getSocialLinks()); markdown.push(custom.getSreenshot()); }