update
1
build/assets/logo/big.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 427 427" fill="none"><rect width="427" height="427" fill="#352DD8"/><g clip-path="url(#clip0_0_1)"><path d="M90.2 246.04L64.86 182.47H62.69H52.52H50.65L25 246.04H38.35L57.54 195.9L76.31 246.04H90.2Z" fill="white"/><path d="M279.33 246.04L254 182.47H251.82H241.65H239.79L214.13 246.04H227.48L246.67 195.9L265.44 246.04H279.33Z" fill="white"/><path d="M317.83 182.47L295.89 225.65V246.04H309.65V225.65L331.58 182.47H317.83Z" fill="#F4F4F4"/><path d="M287.72 182.47H273.96L291.3 216.52L298.18 202.98L287.72 182.47Z" fill="#F4F4F4"/><path d="M366.45 181.83C347.44 181.83 332.03 196.34 332.03 214.25C332.03 232.16 347.44 246.67 366.45 246.67C385.46 246.67 400.87 232.15 400.87 214.25C400.87 196.35 385.46 181.83 366.45 181.83ZM366.45 234.32C354.68 234.32 345.14 225.33 345.14 214.25C345.14 203.17 354.68 194.18 366.45 194.18C378.22 194.18 387.76 203.17 387.76 214.25C387.76 225.33 378.22 234.32 366.45 234.32Z" fill="#F4F4F4"/><path d="M165.56 212.7C166.32 213.29 167.14 213.82 168.01 214.32L177.46 205.56C177.35 205.51 177.23 205.47 177.13 205.42C174.38 204.23 172.93 202.06 172.93 199.14C172.93 196.22 174.25 194.06 176.75 192.81C179.04 191.67 181.61 191.09 184.37 191.09C187.51 191.09 190.45 191.84 193.11 193.31C195.36 194.56 197.22 196.02 198.66 197.66L207.63 189.72C205.21 186.94 202.02 184.81 198.12 183.38C193.79 181.81 189.3 181.01 184.77 181.01C181.64 181.01 178.55 181.41 175.58 182.2C172.67 182.96 170 184.16 167.67 185.75C165.39 187.32 163.52 189.36 162.11 191.82C160.72 194.26 160.02 197.22 160.02 200.62C160.02 203.5 160.53 205.93 161.52 207.83C162.53 209.77 163.89 211.4 165.56 212.7Z" fill="white"/><path d="M206.14 219.42C204.96 217.35 203.4 215.59 201.5 214.21C199.58 212.8 197.4 211.65 195.01 210.78C192.57 209.89 190.14 209.18 187.77 208.65C187.5 208.59 187.25 208.52 186.99 208.46L177.09 217.63C177.53 217.74 177.95 217.87 178.39 217.97C183.49 219.18 187.2 220.36 189.73 221.56C192.55 222.89 194.03 225.22 194.03 228.3C194.03 229.94 193.66 231.36 192.92 232.51C192.19 233.65 191.23 234.56 190.06 235.22C188.94 235.85 187.71 236.32 186.39 236.61C185.11 236.89 183.83 237.03 182.59 237.03C178.92 237.03 175.53 236.22 172.51 234.62C169.88 233.21 167.65 231.47 165.88 229.41L156.79 237.93C159.71 240.87 163.33 243.18 167.57 244.81C172.2 246.6 177.03 247.51 181.91 247.51C185.31 247.51 188.66 247.13 191.87 246.39C195.03 245.65 197.82 244.45 200.15 242.83C202.48 241.22 204.37 239.09 205.77 236.51C207.16 233.93 207.87 230.71 207.87 226.94C207.87 223.99 207.28 221.47 206.12 219.42H206.14Z" fill="white"/><path d="M144.49 219.42C143.31 217.35 141.75 215.59 139.85 214.21C137.93 212.8 135.75 211.65 133.36 210.78C130.92 209.89 128.49 209.18 126.12 208.65C125.85 208.59 125.6 208.52 125.34 208.46L115.44 217.63C115.88 217.74 116.3 217.87 116.74 217.97C121.84 219.18 125.55 220.36 128.08 221.56C130.9 222.89 132.38 225.22 132.38 228.3C132.38 229.94 132.01 231.36 131.27 232.51C130.54 233.65 129.58 234.56 128.41 235.22C127.29 235.85 126.06 236.32 124.74 236.61C123.46 236.89 122.18 237.03 120.94 237.03C117.27 237.03 113.88 236.22 110.86 234.62C108.23 233.21 106 231.47 104.23 229.41L95.14 237.93C98.06 240.87 101.68 243.18 105.92 244.81C110.55 246.6 115.38 247.51 120.26 247.51C123.66 247.51 127.01 247.13 130.22 246.39C133.38 245.65 136.17 244.45 138.5 242.83C140.83 241.22 142.72 239.09 144.12 236.51C145.51 233.93 146.22 230.71 146.22 226.94C146.22 223.99 145.63 221.47 144.47 219.42H144.49Z" fill="white"/><path d="M103.91 212.7C104.67 213.29 105.49 213.82 106.36 214.32L115.81 205.56C115.7 205.51 115.58 205.47 115.48 205.42C112.73 204.23 111.28 202.06 111.28 199.14C111.28 196.22 112.6 194.06 115.1 192.81C117.39 191.67 119.96 191.09 122.72 191.09C125.86 191.09 128.8 191.84 131.46 193.31C133.71 194.56 135.57 196.02 137.01 197.66L145.98 189.72C143.56 186.94 140.37 184.81 136.47 183.38C132.14 181.81 127.65 181.01 123.12 181.01C119.99 181.01 116.9 181.41 113.93 182.2C111.02 182.96 108.35 184.16 106.02 185.75C103.74 187.32 101.87 189.36 100.46 191.82C99.07 194.26 98.37 197.22 98.37 200.62C98.37 203.5 98.88 205.93 99.87 207.83C100.88 209.77 102.24 211.4 103.91 212.7Z" fill="white"/></g><defs><clipPath id="clip0_0_1"><rect width="375.87" height="66.5" fill="white" transform="translate(25 181)"/></clipPath></defs></svg>
|
After Width: | Height: | Size: 4.2 KiB |
1
build/assets/logo/middle.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66" fill="none"><path fill="#4e5463" d="M65 64 40 0H26L0 64h13l20-51 18 51h14Z"/></svg>
|
After Width: | Height: | Size: 143 B |
1
build/assets/logo/small.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 72 73"><rect width="41" height="14" x="4" y="4" fill="url(#a)" rx="7"/><rect width="64" height="14" x="4" y="21" fill="url(#b)" rx="7"/><rect width="64" height="14" x="4" y="55" fill="url(#c)" rx="7"/><rect width="47" height="14" x="4" y="38" fill="url(#d)" rx="7"/><defs><linearGradient id="a" x1="-3" x2="41" y1="18" y2="33.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="b" x1="-6.9" x2="52.6" y1="35" y2="67.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="c" x1="-6.9" x2="52.6" y1="69" y2="101.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="d" x1="-4" x2="44.8" y1="52" y2="71.4" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient></defs></svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -1,24 +0,0 @@
|
|||
<svg width="72" height="73" viewBox="0 0 72 73" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="4" y="4" width="41" height="14" rx="7" fill="url(#paint0_linear_418_19)"/>
|
||||
<rect x="4" y="21" width="64" height="14" rx="7" fill="url(#paint1_linear_418_19)"/>
|
||||
<rect x="4" y="55" width="64" height="14" rx="7" fill="url(#paint2_linear_418_19)"/>
|
||||
<rect x="4" y="38" width="47" height="14" rx="7" fill="url(#paint3_linear_418_19)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_418_19" x1="-3" y1="18" x2="40.9902" y2="33.2394" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_418_19" x1="-6.92683" y1="35" x2="52.5804" y2="67.1793" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_418_19" x1="-6.92683" y1="69" x2="52.5804" y2="101.179" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_418_19" x1="-4.02439" y1="52" x2="44.7615" y2="71.374" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.3 KiB |
|
@ -1 +1 @@
|
|||
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="cleartype" content="on"><meta name="HandheldFriendly" content="True"><meta name="format-detection" content="telephone=no"><meta name="format-detection" content="address=no"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="theme-color" content="white"/><meta name="defaultLanguage" content="ru"><meta name="availableLanguages" content="en, es, fr, ja, pt, de, zh, ru"><link rel="canonical" href="https://bakhirev.github.io/demo/"><script type="text/javascript">var report=[],f=String.raw.bind(String);function r(r){report.push(r)}function R(r){report=report.concat(r.split("\n"))}</script><link rel="icon" href="./favicon.svg"/><link rel="apple-touch-icon" href="./logo192.png"/><title>Git Statistics</title><script src='./log.txt'></script><script src='./log-1.txt'></script><script src='./log-2.txt'></script><script src='./log-3.txt'></script><script src='./log-4.txt'></script><script src='./log-5.txt'></script><script src='./log-6.txt'></script><script src='../log.txt'></script><script src='../log-1.txt'></script><script src='../log-2.txt'></script><script src='../log-3.txt'></script><script src='../log-4.txt'></script><script src='../log-5.txt'></script><script src='../log-6.txt'></script><script src='../../log.txt'></script><script src='../../log-1.txt'></script><script src='../../log-2.txt'></script><script src='../../log-3.txt'></script><script src='../../log-4.txt'></script><script src='../../log-5.txt'></script><script src='../../log-6.txt'></script><script src='/log.txt'></script><script src='/log-1.txt'></script><script src='/log-2.txt'></script><script src='/log-3.txt'></script><script src='/log-4.txt'></script><script src='/log-5.txt'></script><script src='/log-6.txt'></script><meta name="description" content="Simple and fast report on git commit history."><meta name="keywords" content="git, statistics, audit, history, log, monitoring, employee control"><meta name="author" content="Bakhirev Aleksei"><meta name="copyright" content="(c) Bakhirev Aleksei"><meta http-equiv="Reply-to" content="alexey-bakhirev@yandex.ru"><meta name="application-name" content="Git statistics"><meta name="msapplication-tooltip" content="Simple and fast report on Git commit history."><meta property="og:title" content="Git Statistics"><meta property="og:description" content="Simple and fast report on Git commit history."><meta property="og:image" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png"><meta property="og:site_name" content="Assayo"><meta property="og:url" content="https://bakhirev.github.io/"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Git Statistics"><meta name="twitter:description" content="Simple and fast report on Git commit history."><meta name="twitter:creator" content="Bakhirev Aleksei"><meta name="twitter:image:src" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png"><meta name="twitter:domain" content="bakhirev.github.io"><meta name="twitter:site" content="bakhirev.github.io"><meta itemprop="name" content="Git Statistics"><meta itemprop="description" content="Simple and fast report on Git commit history."><meta itemprop="image" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png"><script defer="defer" src="./static/index.js"></script><link href="./static/index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="cleartype" content="on"><meta name="HandheldFriendly" content="True"><meta name="format-detection" content="telephone=no"><meta name="format-detection" content="address=no"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="theme-color" content="white"/><meta name="defaultLanguage" content="ru"><meta name="availableLanguages" content="en, es, fr, ja, pt, de, zh, ru"><link rel="canonical" href="https://bakhirev.github.io/demo/"><script type="text/javascript">var report=[],f=String.raw.bind(String);function r(r){report.push(r)}function R(r){report=report.concat(r.split("\n"))}</script><link rel="icon" href="./assets/logo/small.svg"/><link rel="apple-touch-icon" href="./assets/logo/big.svg"/><title>Git Statistics</title><script src='./log.txt'></script><script src='./log-1.txt'></script><script src='./log-2.txt'></script><script src='./log-3.txt'></script><script src='./log-4.txt'></script><script src='./log-5.txt'></script><script src='./log-6.txt'></script><script src='../log.txt'></script><script src='../log-1.txt'></script><script src='../log-2.txt'></script><script src='../log-3.txt'></script><script src='../log-4.txt'></script><script src='../log-5.txt'></script><script src='../log-6.txt'></script><script src='../../log.txt'></script><script src='../../log-1.txt'></script><script src='../../log-2.txt'></script><script src='../../log-3.txt'></script><script src='../../log-4.txt'></script><script src='../../log-5.txt'></script><script src='../../log-6.txt'></script><script src='/log.txt'></script><script src='/log-1.txt'></script><script src='/log-2.txt'></script><script src='/log-3.txt'></script><script src='/log-4.txt'></script><script src='/log-5.txt'></script><script src='/log-6.txt'></script><meta name="description" content="Simple and fast report on git commit history."><meta name="keywords" content="git, statistics, audit, history, log, monitoring, employee control"><meta name="author" content="Bakhirev Aleksei"><meta name="copyright" content="(c) Bakhirev Aleksei"><meta http-equiv="Reply-to" content="alexey-bakhirev@yandex.ru"><meta name="application-name" content="Git statistics"><meta name="msapplication-tooltip" content="Simple and fast report on Git commit history."><meta property="og:title" content="Git Statistics"><meta property="og:description" content="Simple and fast report on Git commit history."><meta property="og:image" content="https://bakhirev.github.io/assets/icons/big.svg"><meta property="og:site_name" content="Assayo"><meta property="og:url" content="https://bakhirev.github.io/"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Git Statistics"><meta name="twitter:description" content="Simple and fast report on Git commit history."><meta name="twitter:creator" content="Bakhirev Aleksei"><meta name="twitter:image:src" content="https://bakhirev.github.io/assets/icons/big.svg"><meta name="twitter:domain" content="bakhirev.github.io"><meta name="twitter:site" content="bakhirev.github.io"><meta itemprop="name" content="Git Statistics"><meta itemprop="description" content="Simple and fast report on Git commit history."><meta itemprop="image" content="https://bakhirev.github.io/assets/icons/big.svg"><script defer="defer" src="./static/index.js"></script><link href="./static/index.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 200 KiB |
|
@ -62,7 +62,7 @@ Creates an HTML-report with analysis of commit statistics:
|
|||
### 📈 How to create and view the report?
|
||||
<a name="link-3"></a>
|
||||
#### Using public server
|
||||
- go to the [website](https://bakhirev.github.io/)
|
||||
- go to the [website](https://bakhirev.github.io/demo/)
|
||||
- follow the instructions
|
||||
|
||||
<a name="link-4"></a>
|
||||
|
|
309
documents/ES.md
|
@ -34,7 +34,7 @@
|
|||
},
|
||||
{
|
||||
"li": [
|
||||
"go to the [website](https://bakhirev.github.io/)",
|
||||
"go to the [website](https://bakhirev.github.io/demo/)",
|
||||
"follow the instructions"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[
|
||||
{
|
||||
"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:"
|
||||
},
|
||||
|
@ -29,63 +26,6 @@
|
|||
{
|
||||
"h2": "COMMIT STATISTICS REPORT"
|
||||
},
|
||||
{
|
||||
"h3": "Cómo combinar a los autores?"
|
||||
},
|
||||
{
|
||||
"p": "En la carpeta raíz de su proyecto debe crear un archivo `.mailmap`."
|
||||
},
|
||||
{
|
||||
"p": "Un ejemplo del contenido del archivo:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"Alex B <alex@mail.uk>",
|
||||
"Alex B <alex@mail.uk> <alex@gov.tk>",
|
||||
"Alex B <alex@mail.uk> <bakhirev@ya.kz>",
|
||||
"Alex B <alex@mail.uk> <man64@yahoo.com>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Más información sobre el formato de este archivo se puede leer en [aquí](https://git-scm.com/docs/gitmailmap)."
|
||||
},
|
||||
{
|
||||
"h3": "Cómo descargar los datos desde git?"
|
||||
},
|
||||
{
|
||||
"h4": "Para la visualización en línea"
|
||||
},
|
||||
{
|
||||
"p": "En el directorio raíz de su proyecto ejecutar:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:\"%ad>%aN>%aE>%s\" > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Para ver sin conexión"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"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/\\$/S/g' | sed -e '1s/^/R(f\\`/' | sed -e '$s/$/\\`\\);/' > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Git creará un archivo `log.txt`. contiene los datos para construir el informe. La diferencia entre los formatos en línea y fuera de línea está en la existencia de una envoltura para las cadenas. El formato fuera de línea se cargará como un archivo`js` si usted simplemente lo abrió. `/build/index.html`"
|
||||
},
|
||||
{
|
||||
"h4": "If you use PowerShell in Windows"
|
||||
},
|
||||
{
|
||||
"p": "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."
|
||||
},
|
||||
{
|
||||
"pre": "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8"
|
||||
},
|
||||
{
|
||||
"p": "Or open a saved file and manually change the encoding to UTF-8."
|
||||
},
|
||||
{
|
||||
"h3": "¿Cómo ver el informe?"
|
||||
},
|
||||
|
@ -94,9 +34,8 @@
|
|||
},
|
||||
{
|
||||
"li": [
|
||||
"ir a [sitio web](https://bakhirev.github.io/)",
|
||||
"pulse el botón [Demo](https://bakhirev.github.io/demo)»",
|
||||
"arrastrar y soltar archivo `log.txt` en la ventana del navegador"
|
||||
"ir a [sitio web](https://bakhirev.github.io/demo/)",
|
||||
"follow the instructions"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -164,41 +103,101 @@
|
|||
"p": "En este caso, es importante que el archivo ' log.txt ' fue generado por el equipo para ver sin conexión."
|
||||
},
|
||||
{
|
||||
"h3": "Como recompilar el build de un informe?"
|
||||
"h4": "Use github actions"
|
||||
},
|
||||
{
|
||||
"p": "Add [script](https://github.com/bakhirev/assayo/blob/main/documents/ActionExample.yml) in folder `.github/workflows/` or use this [action](https://github.com/marketplace/actions/assayo) from the marketplace."
|
||||
},
|
||||
{
|
||||
"h4": "Servidor privado"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"Descargar este repositorio",
|
||||
"Ejecutar `npm install`",
|
||||
"Ejecutar `npm run build:local`",
|
||||
"La nueva compilación estará en el directorio `/build`"
|
||||
"descargar [docker образ](https://hub.docker.com/r/bakhirev/assayo);",
|
||||
"recogerlo en la red local;",
|
||||
"Para ver los informes, use la interfaz web indicándole la dirección de los datos en el parámetro URL ```dump```:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"http://assayo_url/?dump=//you_url/some/log.txt",
|
||||
"assayo_url - URL dirección del contenedor assayo, Él está escuchando el puerto 80;",
|
||||
"you_url - URL la dirección de su contenedor con registros git;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Por defecto, la imagen se ejecutará en la siguiente dirección ```http://127.0.0.1:80/```. Si no funciona, compruebe si tiene el puerto 80 disponible"
|
||||
},
|
||||
{
|
||||
"h3": "Cómo combinar a los autores?"
|
||||
},
|
||||
{
|
||||
"p": "En la carpeta raíz de su proyecto debe crear un archivo `.mailmap`."
|
||||
},
|
||||
{
|
||||
"p": "Un ejemplo del contenido del archivo:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"Alex B <alex@mail.uk>",
|
||||
"Alex B <alex@mail.uk> <alex@gov.tk>",
|
||||
"Alex B <alex@mail.uk> <bakhirev@ya.kz>",
|
||||
"Alex B <alex@mail.uk> <man64@yahoo.com>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Más información sobre el formato de este archivo se puede leer en [aquí](https://git-scm.com/docs/gitmailmap)."
|
||||
},
|
||||
{
|
||||
"h3": "Cómo descargar los datos desde git?"
|
||||
},
|
||||
{
|
||||
"h4": "Para la visualización en línea"
|
||||
},
|
||||
{
|
||||
"p": "En el directorio raíz de su proyecto ejecutar:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:\"%ad>%aN>%aE>%s\" > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Para ver sin conexión"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"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/\\$/S/g' | sed -e '1s/^/R(f\\`/' | sed -e '$s/$/\\`\\);/' > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Git creará un archivo `log.txt`. contiene los datos para construir el informe. La diferencia entre los formatos en línea y fuera de línea está en la existencia de una envoltura para las cadenas. El formato fuera de línea se cargará como un archivo`js` si usted simplemente lo abrió. `/build/index.html`"
|
||||
},
|
||||
{
|
||||
"h4": "If you use PowerShell in Windows"
|
||||
},
|
||||
{
|
||||
"p": "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."
|
||||
},
|
||||
{
|
||||
"pre": "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8"
|
||||
},
|
||||
{
|
||||
"p": "Or open a saved file and manually change the encoding to UTF-8."
|
||||
},
|
||||
{
|
||||
"h3": "Como mirar el reporte de un grupo de microservicios?"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"Generar para cada microservicio el archivo `log.txt` (`log-1.txt`, `log-2.txt`, `log-3.txt` etc.)",
|
||||
"Generar para cada microservicio el archivo `log.txt` (`log-1.txt`, `log-2.txt`, `log-3.txt` etc.). You can do this manually, or use the [Assayo Crawler](https://github.com/bakhirev/assayo-crawler) module for automatic log collection.",
|
||||
"Ver “Cómo ver el informe en línea?”. En el último paso, arrastrar todos los archivos al navegador.",
|
||||
"Ver “Cómo ver informe fuera de línea?”. En el segundo paso, arrastrar los archivos de todos los microservicios al navegador (`log-1.txt`, `log-2.txt`, `log-3.txt` etc.) la carpeta informe (`/build`)."
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"h3": "¿Cómo puedo personalizar la interfaz de usuario?"
|
||||
},
|
||||
{
|
||||
"p": "Puedes crear tu propio tema para la interfaz. Puedes cambiar:"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"**El título**. Puedes especificarlo en el parámetro de la URL ```title```. Por ejemplo: ```?title=You Company```",
|
||||
"**El tema visual**. Para esto, debes preparar un archivo CSS con los nuevos estilos y especificar su dirección en el parámetro de URL ```theme```. Por ejemplo: ```?theme=//company.com/some.css```. Puedes usar los nombres de clases como selectores. La mayoría de ellos no cambia con el lanzamiento de nuevas versiones.",
|
||||
"**La lengua**. Puedes especificarla en el parámetro de la URL ```lang```. Por ejemplo: ```?lang=es```"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "**Example:** [demo](https://bakhirev.github.io/demo/themes/)"
|
||||
"h2": "THE BEST PRACTICES IN THE PROJECT"
|
||||
},
|
||||
{
|
||||
"h3": "¿Cómo firmar los commits?"
|
||||
|
@ -259,79 +258,70 @@
|
|||
{
|
||||
"p": "2. Run command `npm install pre-commit`"
|
||||
},
|
||||
|
||||
{
|
||||
"h3": "¿Cómo automatizar el recolección de datos?"
|
||||
"h2": "ABOUT THIS APP"
|
||||
},
|
||||
{
|
||||
"h4": "With backend"
|
||||
"h3": "¿Cómo puedo personalizar la interfaz de usuario?"
|
||||
},
|
||||
{
|
||||
"p": "Puedes crear tu propio tema para la interfaz. Puedes cambiar:"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"use module [Assayo Crawler](https://github.com/bakhirev/assayo-crawler);"
|
||||
"**El título**. Puedes especificarlo en el parámetro de la URL ```title```. Por ejemplo: ```?title=You Company```",
|
||||
"**El tema visual**. Para esto, debes preparar un archivo CSS con los nuevos estilos y especificar su dirección en el parámetro de URL ```theme```. Por ejemplo: ```?theme=//company.com/some.css```. Puedes usar los nombres de clases como selectores. La mayoría de ellos no cambia con el lanzamiento de nuevas versiones.",
|
||||
"**La lengua**. Puedes especificarla en el parámetro de la URL ```lang```. Por ejemplo: ```?lang=es```"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Sin backend"
|
||||
"p": "**Example:** [demo](https://bakhirev.github.io/demo/themes/)"
|
||||
},
|
||||
{
|
||||
"h3": "Como recompilar el build de un informe?"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"clone del repositorio que desea;",
|
||||
"copiar a la carpeta raíz `build`;",
|
||||
"abridlo `build/index.html` añadir a favoritos;",
|
||||
"agregue un icono de `build/assets/ci-cd.sh` a su carpeta de inicio automático"
|
||||
"Descargar este repositorio",
|
||||
"Ejecutar `npm install`",
|
||||
"Ejecutar `npm run build:local`",
|
||||
"La nueva compilación estará en el directorio `/build`"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": " (Windows);"
|
||||
"h3": "¿Cómo añadir o editar una traducción?"
|
||||
},
|
||||
{
|
||||
"p": "Cada vez que reinicie su computadora, el script actualizará la estadística de todos los datos que se hayan incorporado automáticamente a la rama principal."
|
||||
"p": "Puede agregar una nueva traducción o corregir la actual en la sección ```ts/translations/```."
|
||||
},
|
||||
{
|
||||
"h3": "DevOps (CI/CD)"
|
||||
"p": "[Instrucciones](https://github.com/firstcontributions/first-contributions)"
|
||||
},
|
||||
{
|
||||
"h4": "Github Actions"
|
||||
"h3": "️Architecture"
|
||||
},
|
||||
{
|
||||
"p": "Add [script](https://github.com/bakhirev/assayo/blob/main/documents/ActionExample.yml) in folder `.github/workflows/` or use this [action](https://github.com/marketplace/actions/assayo) from the marketplace."
|
||||
},
|
||||
{
|
||||
"h4": "Servidor público"
|
||||
},
|
||||
{
|
||||
"p": "Puede publicar el archivo con los datos para generar el informe en una URL pública. Para visualizarlo, puede usar la interfaz web del sitio [assayo](https://bakhirev.github.io/). Simplemente indique la dirección donde están los datos en el parámetro URL ```dump```:"
|
||||
"h4": "The structure of this module"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"https://bakhirev.github.io/demo/?dump=//you_site.com/some/log.txt"
|
||||
"src",
|
||||
" |- pages",
|
||||
" |- Person // all personal dashboards",
|
||||
" |- Team // all dashboards about team",
|
||||
" |",
|
||||
" |- helpers",
|
||||
" |- Parser // parse text from git log to JS objects",
|
||||
" |- DataGrip // data grouping and counting values",
|
||||
" |- achievement // the logic that gives out personal achievements",
|
||||
" |- Recommendations // the logic that gives out common recommendations",
|
||||
" |",
|
||||
" |- translations // translations into other languages"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Servidor privado"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"descargar [docker образ](https://hub.docker.com/r/bakhirev/assayo);",
|
||||
"recogerlo en la red local;",
|
||||
"Para ver los informes, use la interfaz web indicándole la dirección de los datos en el parámetro URL ```dump```:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"http://assayo_url/?dump=//you_url/some/log.txt",
|
||||
"assayo_url - URL dirección del contenedor assayo, Él está escuchando el puerto 80;",
|
||||
"you_url - URL la dirección de su contenedor con registros git;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Por defecto, la imagen se ejecutará en la siguiente dirección ```http://127.0.0.1:80/```. Si no funciona, compruebe si tiene el puerto 80 disponible"
|
||||
},
|
||||
{
|
||||
"h3": "️ About application"
|
||||
},
|
||||
{
|
||||
"h4": "Architecture"
|
||||
"h4": "General architecture of microservices"
|
||||
},
|
||||
{
|
||||
"img": "<img src=\"https://raw.githubusercontent.com/bakhirev/assayo-crawler/12af4410fc93384cafb108a4429e43f9a874dbaa/schema.svg\" width=\"70%\" />"
|
||||
|
@ -346,29 +336,7 @@
|
|||
"p": "3. [Log visualization UI](https://github.com/bakhirev/assayo) **(you here)** displays report. Needs a log file for work."
|
||||
},
|
||||
{
|
||||
"h4": "Los lanzamientos son aproximadamente una vez cada seis meses. Lo siguiente será:"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"más consejos y logros;",
|
||||
"resultados del año / mes, impresión de informes;",
|
||||
"localización e internacionalización;",
|
||||
"análisis de archivos;",
|
||||
"diferentes roles para estadísticas (ocultación de finanzas);",
|
||||
"desarrollo de la parte de atrás, integraciones con otros sistemas;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "¿Cómo añadir o editar una traducción?"
|
||||
},
|
||||
{
|
||||
"p": "Puede agregar una nueva traducción o corregir la actual en la sección ```ts/translations/```."
|
||||
},
|
||||
{
|
||||
"p": "[Instrucciones](https://github.com/firstcontributions/first-contributions)"
|
||||
},
|
||||
{
|
||||
"h4": "Deseos, comentarios"
|
||||
"h3": "Deseos, comentarios"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[
|
||||
{
|
||||
"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": "Crée un rapport HTML avec analyse des statistiques de validation:"
|
||||
},
|
||||
|
@ -23,72 +20,12 @@
|
|||
{
|
||||
"p": "**Video:** [english](https://www.youtube.com/watch?v=uMbhrrd25t4), [español](https://www.youtube.com/watch?v=skmctb_2rZ0), [русский](https://www.youtube.com/watch?v=jwCp_-bhrCQ)."
|
||||
},
|
||||
{
|
||||
"h5": "À votre nouveau lieu de travail, vous pouvez instantanément découvrir:"
|
||||
},
|
||||
{
|
||||
"h3": "Table of contents"
|
||||
},
|
||||
{
|
||||
"h2": "COMMIT STATISTICS REPORT"
|
||||
},
|
||||
{
|
||||
"h3": "Comment pouvez-vous combiner les auteurs ?"
|
||||
},
|
||||
{
|
||||
"p": "Dans le répertoire racine de votre projet, créez le fichier suivant: `.mailmap`."
|
||||
},
|
||||
{
|
||||
"p": "L’exemple de la ligne de fichier est le suivant:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"Alex B <alex@mail.uk>",
|
||||
"Alex B <alex@mail.uk> <alex@gov.tk>",
|
||||
"Alex B <alex@mail.uk> <bakhirev@ya.kz>",
|
||||
"Alex B <alex@mail.uk> <man64@yahoo.com>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez en savoir plus sur le format de ce fichier en lisant la documentation officielle. [ici](https://git-scm.com/docs/gitmailmap)."
|
||||
},
|
||||
{
|
||||
"h3": "Comment télécharger des données depuis git ?"
|
||||
},
|
||||
{
|
||||
"h4": "Pour une visualisation en ligne"
|
||||
},
|
||||
{
|
||||
"p": "Dans le répertoire racine de votre projet, exécutez:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:\"%ad>%aN>%aE>%s\" > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Pour la navigation hors ligne"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"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/\\$/S/g' | sed -e '1s/^/R(f\\`/' | sed -e '$s/$/\\`\\);/' > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Git va créer le fichier `log.txt`. Son contenu est destiné à la création de rapports. La différence entre le format en ligne et le format hors ligne réside dans l’enveloppe des lignes. Le format hors ligne sera chargé comme un fichier js si vous avez simplement ouvert `/build/index.html`"
|
||||
},
|
||||
{
|
||||
"h4": "If you use PowerShell in Windows"
|
||||
},
|
||||
{
|
||||
"p": "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."
|
||||
},
|
||||
{
|
||||
"pre": "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8"
|
||||
},
|
||||
{
|
||||
"p": "Or open a saved file and manually change the encoding to UTF-8."
|
||||
},
|
||||
{
|
||||
"h3": "Comment voir le rapport en ligne?"
|
||||
},
|
||||
|
@ -164,16 +101,88 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"h3": "Comment recompiler la build du rapport?"
|
||||
"h4": "Use github actions"
|
||||
},
|
||||
{
|
||||
"p": "Add [script](https://github.com/bakhirev/assayo/blob/main/documents/ActionExample.yml) in folder `.github/workflows/` or use this [action](https://github.com/marketplace/actions/assayo) from the marketplace."
|
||||
},
|
||||
{
|
||||
"h4": "Serveur privé"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"Télécharger ce dépôt",
|
||||
"Exécuter `npm install`",
|
||||
"Exécuter `npm run build:local`",
|
||||
"La dernière build sera dans le dossier `/build`"
|
||||
"télécharger [docker образ](https://hub.docker.com/r/bakhirev/assayo);",
|
||||
"Soulevez-le sur le réseau local;",
|
||||
"Pour consulter les rapports, utilisez l’interface web en lui indiquant l’adresse où les données se trouvent, sous forme de paramètre dans l’URL ```dump```:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"http://assayo_url/?dump=//you_url/some/log.txt",
|
||||
"assayo_url - URL Conteneur assayo, écoute le port 80;",
|
||||
"you_url - URL адресс Adresse de votre conteneur de logs git;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Par défaut, l'image s'exécute à ```http://127.0.0.1:80/```. Si cela ne fonctionne pas, vérifiez si le port 80 est disponible."
|
||||
},
|
||||
{
|
||||
"h3": "Comment pouvez-vous combiner les auteurs ?"
|
||||
},
|
||||
{
|
||||
"p": "Dans le répertoire racine de votre projet, créez le fichier suivant: `.mailmap`."
|
||||
},
|
||||
{
|
||||
"p": "L’exemple de la ligne de fichier est le suivant:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"Alex B <alex@mail.uk>",
|
||||
"Alex B <alex@mail.uk> <alex@gov.tk>",
|
||||
"Alex B <alex@mail.uk> <bakhirev@ya.kz>",
|
||||
"Alex B <alex@mail.uk> <man64@yahoo.com>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez en savoir plus sur le format de ce fichier en lisant la documentation officielle. [ici](https://git-scm.com/docs/gitmailmap)."
|
||||
},
|
||||
{
|
||||
"h3": "Comment télécharger des données depuis git ?"
|
||||
},
|
||||
{
|
||||
"h4": "Pour une visualisation en ligne"
|
||||
},
|
||||
{
|
||||
"p": "Dans le répertoire racine de votre projet, exécutez:"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:\"%ad>%aN>%aE>%s\" > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Pour la navigation hors ligne"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"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/\\$/S/g' | sed -e '1s/^/R(f\\`/' | sed -e '$s/$/\\`\\);/' > log.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Git va créer le fichier `log.txt`. Son contenu est destiné à la création de rapports. La différence entre le format en ligne et le format hors ligne réside dans l’enveloppe des lignes. Le format hors ligne sera chargé comme un fichier js si vous avez simplement ouvert `/build/index.html`"
|
||||
},
|
||||
{
|
||||
"h4": "If you use PowerShell in Windows"
|
||||
},
|
||||
{
|
||||
"p": "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."
|
||||
},
|
||||
{
|
||||
"pre": "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8"
|
||||
},
|
||||
{
|
||||
"p": "Or open a saved file and manually change the encoding to UTF-8."
|
||||
},
|
||||
{
|
||||
"h3": "Comment voir le compte rendu pour un groupe de microservices?"
|
||||
},
|
||||
|
@ -184,21 +193,9 @@
|
|||
"Voir “Comment regarder le rapport hors-ligne?”. Au deuxième pas, coller tous les fichier de microservices (`log-1.txt`, `log-2.txt`, `log-3.txt` etc.) dans le dossier du rapport (`/build`)."
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"h3": "Comment apposer une marque sur l’interface?"
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez écrire votre propre thème pour l’interface. Vous pouvez changer :"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"**En-tête**. Vous pouvez le spécifier dans le paramètre de l’URL ```title```. Par exemple: ```?title=You Company```",
|
||||
"**Thème visuel**.Pour cela, vous devez préparer un fichier CSS avec de nouveaux styles et indiquer son adresse dans le paramètre de l’URL ```theme```. Par exemple: ```?theme=//company.com/some.css```. Vous pouvez utiliser les noms de classes comme sélecteurs. La plupart d’entre elles ne changent pas lors de la sortie de nouvelles versions.",
|
||||
"**Langue**. Vous pouvez l’indiquer dans le paramètre d’URL ```lang```. Par exemple: ```?lang=es```"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "**Example:** [demo](https://bakhirev.github.io/demo/themes/)"
|
||||
"h2": "THE BEST PRACTICES IN THE PROJECT"
|
||||
},
|
||||
{
|
||||
"h3": "Comment signer les commits ?"
|
||||
|
@ -259,73 +256,70 @@
|
|||
{
|
||||
"p": "2. Run command `npm install pre-commit`"
|
||||
},
|
||||
|
||||
{
|
||||
"h3": "Comment automatiser la collecte de données?"
|
||||
"h2": "ABOUT THIS APP"
|
||||
},
|
||||
{
|
||||
"h4": "With backend"
|
||||
"h3": "Comment apposer une marque sur l’interface?"
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez écrire votre propre thème pour l’interface. Vous pouvez changer :"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"use module [Assayo Crawler](https://github.com/bakhirev/assayo-crawler);"
|
||||
"**En-tête**. Vous pouvez le spécifier dans le paramètre de l’URL ```title```. Par exemple: ```?title=You Company```",
|
||||
"**Thème visuel**.Pour cela, vous devez préparer un fichier CSS avec de nouveaux styles et indiquer son adresse dans le paramètre de l’URL ```theme```. Par exemple: ```?theme=//company.com/some.css```. Vous pouvez utiliser les noms de classes comme sélecteurs. La plupart d’entre elles ne changent pas lors de la sortie de nouvelles versions.",
|
||||
"**Langue**. Vous pouvez l’indiquer dans le paramètre d’URL ```lang```. Par exemple: ```?lang=es```"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Sans back-end"
|
||||
"p": "**Example:** [demo](https://bakhirev.github.io/demo/themes/)"
|
||||
},
|
||||
{
|
||||
"h3": "Comment recompiler la build du rapport?"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"clonez le dépôt que vous voulez ;",
|
||||
"copiez le dossier `build`;",
|
||||
"Ouvrez `build/index.html` dans le navigateur et ajoutez-le aux favoris;",
|
||||
"ajoutez un raccourci sur `build/assets/ci-cd.sh` dans le dossier de démarrage automatique (Windows); Chaque fois que votre ordinateur se recharge, le script mettra à jour les statistiques sur toutes les données qui se sont automatiquement insérées dans la branche principale."
|
||||
"Télécharger ce dépôt",
|
||||
"Exécuter `npm install`",
|
||||
"Exécuter `npm run build:local`",
|
||||
"La dernière build sera dans le dossier `/build`"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h3": "DevOps (CI/CD)"
|
||||
"h3": "Comment ajouter ou modifier une traduction?"
|
||||
},
|
||||
{
|
||||
"h4": "Github Actions"
|
||||
"p": "Vous pouvez ajouter une nouvelle traduction ou corriger la traduction existante dans le section ```ts/translations/```."
|
||||
},
|
||||
{
|
||||
"p": "Add [script](https://github.com/bakhirev/assayo/blob/main/documents/ActionExample.yml) in folder `.github/workflows/` or use this [action](https://github.com/marketplace/actions/assayo) from the marketplace."
|
||||
"p": "[Instruction](https://github.com/firstcontributions/first-contributions)"
|
||||
},
|
||||
{
|
||||
"h4": "Serveur public"
|
||||
"h3": "️Architecture"
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez mettre à disposition le fichier avec les données pour construire le rapport sur l’URL publique. Et pour sa visualisation, utiliser l’interface web du site. [assayo](https://bakhirev.github.io/). Tout simplement, indiquez l’adresse où se trouvent les données dans le paramètre de l’URL ```dump```:"
|
||||
"h4": "The structure of this module"
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"https://bakhirev.github.io/demo/?dump=//you_site.com/some/log.txt"
|
||||
"src",
|
||||
" |- pages",
|
||||
" |- Person // all personal dashboards",
|
||||
" |- Team // all dashboards about team",
|
||||
" |",
|
||||
" |- helpers",
|
||||
" |- Parser // parse text from git log to JS objects",
|
||||
" |- DataGrip // data grouping and counting values",
|
||||
" |- achievement // the logic that gives out personal achievements",
|
||||
" |- Recommendations // the logic that gives out common recommendations",
|
||||
" |",
|
||||
" |- translations // translations into other languages"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Serveur privé"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"télécharger [docker образ](https://hub.docker.com/r/bakhirev/assayo);",
|
||||
"Soulevez-le sur le réseau local;",
|
||||
"Pour consulter les rapports, utilisez l’interface web en lui indiquant l’adresse où les données se trouvent, sous forme de paramètre dans l’URL ```dump```:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"pre": [
|
||||
"http://assayo_url/?dump=//you_url/some/log.txt",
|
||||
"assayo_url - URL Conteneur assayo, écoute le port 80;",
|
||||
"you_url - URL адресс Adresse de votre conteneur de logs git;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"p": "Par défaut, l'image s'exécute à ```http://127.0.0.1:80/```. Si cela ne fonctionne pas, vérifiez si le port 80 est disponible."
|
||||
},
|
||||
{
|
||||
"h3": "️ About application"
|
||||
},
|
||||
{
|
||||
"h4": "Architecture"
|
||||
"h4": "General architecture of microservices"
|
||||
},
|
||||
{
|
||||
"img": "<img src=\"https://raw.githubusercontent.com/bakhirev/assayo-crawler/12af4410fc93384cafb108a4429e43f9a874dbaa/schema.svg\" width=\"70%\" />"
|
||||
|
@ -340,29 +334,7 @@
|
|||
"p": "3. [Log visualization UI](https://github.com/bakhirev/assayo) **(you here)** displays report. Needs a log file for work."
|
||||
},
|
||||
{
|
||||
"h4": "Les versions sont publiées environ tous les six mois. Quoi de neuf:"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
"plus de conseils et de succès;",
|
||||
"résultats de l’année / du mois, impression des rapports;",
|
||||
"localisation et internationalisation;",
|
||||
"analyse des fichiers;",
|
||||
"différents rôles pour la statistique (cacher la finance);",
|
||||
"développement du backend, intégrations avec d’autres systèmes;"
|
||||
]
|
||||
},
|
||||
{
|
||||
"h4": "Comment ajouter ou modifier une traduction?"
|
||||
},
|
||||
{
|
||||
"p": "Vous pouvez ajouter une nouvelle traduction ou corriger la traduction existante dans le section ```ts/translations/```."
|
||||
},
|
||||
{
|
||||
"p": "[Instruction](https://github.com/firstcontributions/first-contributions)"
|
||||
},
|
||||
{
|
||||
"h4": "Souhaits, suggestions, commentaires"
|
||||
"h3": "Souhaits, suggestions, commentaires"
|
||||
},
|
||||
{
|
||||
"li": [
|
||||
|
|
1
public/assets/logo/big.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 427 427" fill="none"><rect width="427" height="427" fill="#352DD8"/><g clip-path="url(#clip0_0_1)"><path d="M90.2 246.04L64.86 182.47H62.69H52.52H50.65L25 246.04H38.35L57.54 195.9L76.31 246.04H90.2Z" fill="white"/><path d="M279.33 246.04L254 182.47H251.82H241.65H239.79L214.13 246.04H227.48L246.67 195.9L265.44 246.04H279.33Z" fill="white"/><path d="M317.83 182.47L295.89 225.65V246.04H309.65V225.65L331.58 182.47H317.83Z" fill="#F4F4F4"/><path d="M287.72 182.47H273.96L291.3 216.52L298.18 202.98L287.72 182.47Z" fill="#F4F4F4"/><path d="M366.45 181.83C347.44 181.83 332.03 196.34 332.03 214.25C332.03 232.16 347.44 246.67 366.45 246.67C385.46 246.67 400.87 232.15 400.87 214.25C400.87 196.35 385.46 181.83 366.45 181.83ZM366.45 234.32C354.68 234.32 345.14 225.33 345.14 214.25C345.14 203.17 354.68 194.18 366.45 194.18C378.22 194.18 387.76 203.17 387.76 214.25C387.76 225.33 378.22 234.32 366.45 234.32Z" fill="#F4F4F4"/><path d="M165.56 212.7C166.32 213.29 167.14 213.82 168.01 214.32L177.46 205.56C177.35 205.51 177.23 205.47 177.13 205.42C174.38 204.23 172.93 202.06 172.93 199.14C172.93 196.22 174.25 194.06 176.75 192.81C179.04 191.67 181.61 191.09 184.37 191.09C187.51 191.09 190.45 191.84 193.11 193.31C195.36 194.56 197.22 196.02 198.66 197.66L207.63 189.72C205.21 186.94 202.02 184.81 198.12 183.38C193.79 181.81 189.3 181.01 184.77 181.01C181.64 181.01 178.55 181.41 175.58 182.2C172.67 182.96 170 184.16 167.67 185.75C165.39 187.32 163.52 189.36 162.11 191.82C160.72 194.26 160.02 197.22 160.02 200.62C160.02 203.5 160.53 205.93 161.52 207.83C162.53 209.77 163.89 211.4 165.56 212.7Z" fill="white"/><path d="M206.14 219.42C204.96 217.35 203.4 215.59 201.5 214.21C199.58 212.8 197.4 211.65 195.01 210.78C192.57 209.89 190.14 209.18 187.77 208.65C187.5 208.59 187.25 208.52 186.99 208.46L177.09 217.63C177.53 217.74 177.95 217.87 178.39 217.97C183.49 219.18 187.2 220.36 189.73 221.56C192.55 222.89 194.03 225.22 194.03 228.3C194.03 229.94 193.66 231.36 192.92 232.51C192.19 233.65 191.23 234.56 190.06 235.22C188.94 235.85 187.71 236.32 186.39 236.61C185.11 236.89 183.83 237.03 182.59 237.03C178.92 237.03 175.53 236.22 172.51 234.62C169.88 233.21 167.65 231.47 165.88 229.41L156.79 237.93C159.71 240.87 163.33 243.18 167.57 244.81C172.2 246.6 177.03 247.51 181.91 247.51C185.31 247.51 188.66 247.13 191.87 246.39C195.03 245.65 197.82 244.45 200.15 242.83C202.48 241.22 204.37 239.09 205.77 236.51C207.16 233.93 207.87 230.71 207.87 226.94C207.87 223.99 207.28 221.47 206.12 219.42H206.14Z" fill="white"/><path d="M144.49 219.42C143.31 217.35 141.75 215.59 139.85 214.21C137.93 212.8 135.75 211.65 133.36 210.78C130.92 209.89 128.49 209.18 126.12 208.65C125.85 208.59 125.6 208.52 125.34 208.46L115.44 217.63C115.88 217.74 116.3 217.87 116.74 217.97C121.84 219.18 125.55 220.36 128.08 221.56C130.9 222.89 132.38 225.22 132.38 228.3C132.38 229.94 132.01 231.36 131.27 232.51C130.54 233.65 129.58 234.56 128.41 235.22C127.29 235.85 126.06 236.32 124.74 236.61C123.46 236.89 122.18 237.03 120.94 237.03C117.27 237.03 113.88 236.22 110.86 234.62C108.23 233.21 106 231.47 104.23 229.41L95.14 237.93C98.06 240.87 101.68 243.18 105.92 244.81C110.55 246.6 115.38 247.51 120.26 247.51C123.66 247.51 127.01 247.13 130.22 246.39C133.38 245.65 136.17 244.45 138.5 242.83C140.83 241.22 142.72 239.09 144.12 236.51C145.51 233.93 146.22 230.71 146.22 226.94C146.22 223.99 145.63 221.47 144.47 219.42H144.49Z" fill="white"/><path d="M103.91 212.7C104.67 213.29 105.49 213.82 106.36 214.32L115.81 205.56C115.7 205.51 115.58 205.47 115.48 205.42C112.73 204.23 111.28 202.06 111.28 199.14C111.28 196.22 112.6 194.06 115.1 192.81C117.39 191.67 119.96 191.09 122.72 191.09C125.86 191.09 128.8 191.84 131.46 193.31C133.71 194.56 135.57 196.02 137.01 197.66L145.98 189.72C143.56 186.94 140.37 184.81 136.47 183.38C132.14 181.81 127.65 181.01 123.12 181.01C119.99 181.01 116.9 181.41 113.93 182.2C111.02 182.96 108.35 184.16 106.02 185.75C103.74 187.32 101.87 189.36 100.46 191.82C99.07 194.26 98.37 197.22 98.37 200.62C98.37 203.5 98.88 205.93 99.87 207.83C100.88 209.77 102.24 211.4 103.91 212.7Z" fill="white"/></g><defs><clipPath id="clip0_0_1"><rect width="375.87" height="66.5" fill="white" transform="translate(25 181)"/></clipPath></defs></svg>
|
After Width: | Height: | Size: 4.2 KiB |
1
public/assets/logo/middle.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66" fill="none"><path fill="#4e5463" d="M65 64 40 0H26L0 64h13l20-51 18 51h14Z"/></svg>
|
After Width: | Height: | Size: 143 B |
1
public/assets/logo/small.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 72 73"><rect width="41" height="14" x="4" y="4" fill="url(#a)" rx="7"/><rect width="64" height="14" x="4" y="21" fill="url(#b)" rx="7"/><rect width="64" height="14" x="4" y="55" fill="url(#c)" rx="7"/><rect width="47" height="14" x="4" y="38" fill="url(#d)" rx="7"/><defs><linearGradient id="a" x1="-3" x2="41" y1="18" y2="33.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="b" x1="-6.9" x2="52.6" y1="35" y2="67.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="c" x1="-6.9" x2="52.6" y1="69" y2="101.2" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient><linearGradient id="d" x1="-4" x2="44.8" y1="52" y2="71.4" gradientUnits="userSpaceOnUse"><stop offset=".3" stop-color="#4F0FDE"/><stop offset="1" stop-color="#D18FF9"/></linearGradient></defs></svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -1,24 +0,0 @@
|
|||
<svg width="72" height="73" viewBox="0 0 72 73" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="4" y="4" width="41" height="14" rx="7" fill="url(#paint0_linear_418_19)"/>
|
||||
<rect x="4" y="21" width="64" height="14" rx="7" fill="url(#paint1_linear_418_19)"/>
|
||||
<rect x="4" y="55" width="64" height="14" rx="7" fill="url(#paint2_linear_418_19)"/>
|
||||
<rect x="4" y="38" width="47" height="14" rx="7" fill="url(#paint3_linear_418_19)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_418_19" x1="-3" y1="18" x2="40.9902" y2="33.2394" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_418_19" x1="-6.92683" y1="35" x2="52.5804" y2="67.1793" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_418_19" x1="-6.92683" y1="69" x2="52.5804" y2="101.179" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_418_19" x1="-4.02439" y1="52" x2="44.7615" y2="71.374" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.250021" stop-color="#4F0FDE"/>
|
||||
<stop offset="1" stop-color="#D18FF9"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.3 KiB |
|
@ -26,8 +26,8 @@
|
|||
report = report.concat(t.split("\n"));
|
||||
}
|
||||
</script>
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.svg" />
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/assets/logo/small.svg" />
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/assets/logo/big.svg" />
|
||||
|
||||
<title>Git Statistics</title>
|
||||
<meta name="description" content="Simple and fast report on git commit history.">
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
<meta property="og:title" content="Git Statistics">
|
||||
<meta property="og:description" content="Simple and fast report on Git commit history.">
|
||||
<meta property="og:image" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png">
|
||||
<meta property="og:image" content="https://bakhirev.github.io/assets/icons/big.svg">
|
||||
<meta property="og:site_name" content="Assayo">
|
||||
<meta property="og:url" content="https://bakhirev.github.io/">
|
||||
|
||||
|
@ -49,13 +49,13 @@
|
|||
<meta name="twitter:title" content="Git Statistics">
|
||||
<meta name="twitter:description" content="Simple and fast report on Git commit history.">
|
||||
<meta name="twitter:creator" content="Bakhirev Aleksei">
|
||||
<meta name="twitter:image:src" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png">
|
||||
<meta name="twitter:image:src" content="https://bakhirev.github.io/assets/icons/big.svg">
|
||||
<meta name="twitter:domain" content="bakhirev.github.io">
|
||||
<meta name="twitter:site" content="bakhirev.github.io">
|
||||
|
||||
<meta itemprop="name" content="Git Statistics">
|
||||
<meta itemprop="description" content="Simple and fast report on Git commit history.">
|
||||
<meta itemprop="image" content="https://bakhirev.github.io/assets/seo/custom_icon_256.png">
|
||||
<meta itemprop="image" content="https://bakhirev.github.io/assets/icons/big.svg">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
|
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 200 KiB |
|
@ -98,7 +98,6 @@
|
|||
|
||||
&_title {
|
||||
margin: 2px 0 0 0;
|
||||
color: var(--color-44);
|
||||
}
|
||||
|
||||
&_icon {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React from 'react';
|
||||
import React, { useLayoutEffect, useState } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import themeSettings from 'ts/store/ThemeSettings';
|
||||
|
@ -16,6 +16,16 @@ function Logo({ center }: ILogoProps) {
|
|||
title,
|
||||
} = themeSettings.getLogo() || {};
|
||||
const isDefault = logo === './assets/logo.svg';
|
||||
const [formattedLogo, setLogo] = useState<string>(logo || '');
|
||||
const offsetWidth = document.body.offsetWidth;
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (!isDefault || center) return;
|
||||
const url = offsetWidth < 1000
|
||||
? './assets/logo/middle.svg'
|
||||
: './assets/logo.svg';
|
||||
setLogo(url);
|
||||
}, [offsetWidth]);
|
||||
|
||||
return (
|
||||
<figure
|
||||
|
@ -30,7 +40,7 @@ function Logo({ center }: ILogoProps) {
|
|||
>
|
||||
<img
|
||||
alt="logo"
|
||||
src={logo || ''}
|
||||
src={formattedLogo}
|
||||
title={title || ''}
|
||||
className={isDefault
|
||||
? `${style.logo_icon} ${style.logo_default}`
|
||||
|
|
|
@ -18,6 +18,7 @@ import GetList from 'ts/components/GetList';
|
|||
|
||||
import dataGripStore from 'ts/store/DataGrip';
|
||||
import IPersonCommonProps from '../interfaces/CommonProps';
|
||||
import style from '../styles/index.module.scss';
|
||||
|
||||
interface IAchievementBlockProps {
|
||||
title: string;
|
||||
|
@ -29,7 +30,9 @@ function AchievementBlock({ title, achievements }: IAchievementBlockProps) {
|
|||
if (!achievements?.length) return null;
|
||||
return (
|
||||
<>
|
||||
<Description text={`# ${t(title)}`}/>
|
||||
<h3 className={style.total_achievements_title}>
|
||||
{t(title)}
|
||||
</h3>
|
||||
<Achievements list={achievements} />
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -11,3 +11,10 @@
|
|||
margin: 0 12px;
|
||||
}
|
||||
|
||||
.total_achievements_title {
|
||||
font-size: var(--font-m);
|
||||
font-weight: 100;
|
||||
margin: 0 0 12px 0;
|
||||
color: var(--color-black);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
.team_month_filter {
|
||||
margin: 0 0 var(--space-xxl);
|
||||
white-space: normal;
|
||||
|
||||
&_checkbox,
|
||||
&_select {
|
||||
|
@ -19,10 +20,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1540px) {
|
||||
@media (max-width: 1100px) {
|
||||
.team_month_filter_br {
|
||||
min-width: 45%;
|
||||
margin-bottom: var(--space-xxl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.team_month_filter_select {
|
||||
display: block;
|
||||
min-width: 100%;
|
||||
margin-bottom: var(--space-xxl)
|
||||
margin-bottom: var(--space-xxl);
|
||||
}
|
||||
}
|
||||
|
|