SkillAgentSearch skills...

GPipe

GPipe is a Gerrit Analysis Pipeline written in Python

Install / Use

/learn @frankuman/GPipe
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h2>GPipe - A Gerrit Analysis Pipeline</h2> </div> <!DOCTYPE html> <html> <body> <div align="center"> <img src="https://github.com/frankuman/GPipe/blob/main/assets/images/introcard.png?raw=true" width="900" title="GPipe Logo"> <p><strong>GPipe</strong> is a Gerrit Analysis Pipeline that uses the Gerrit REST API to fetch changes made to Chromium, OpenDEV or android, and presents them using graphs or excel.</p> <p>GPipe was made by Oliver Bölin during a university course at Blekinge Tekniska University (BTH).</p> <p>To use and install this tool, it is recommended that you'll need </p> <ul> <p><b>1.<code> Python 3.x </code></b></p> <p><b>2.<code> Pip </code></b></p> </ul> <p>While there is an executable available, <code>it is not recommended to use it.</code> Instead, it is recommended that you install Python, and pip separately and then run the tool using the provided Python script.</p> </div> <h2>Easy Setup</h2> <p>For non technical users:</p> <ul> <li><strong>1.</strong> Press the green code button to the top right and press <code><strong>Download ZIP</strong></code> </li> <li><strong>2.</strong> Unpack the folder you downloaded to the desired place <li><strong>3.</strong> Run <code>GPipe.exe</code> , it should be the one with the gp icon. Windows antivirus will likely tell you something is wrong, but this is just because of python executables looking unsafe</code></li> <li><strong>4.</strong> The software should be running now</code></li> </ul> <h2>Normal Setup</h2> <p>First-time installation:</p> <ul> <li><strong>1.</strong> Clone the repository: <code>git clone https://github.com/frankuman/GPipe</code></li> <li><strong>2.</strong> Open a terminal window in the folder by typing: <code>cd GPipe</code> or by writing cmd in the fileinput</li> <img src="https://i.gyazo.com/aedeeea741fc0d4bf40a54ad337ca14b.png" width="500" title="Write in the fileentry"> <li><strong>3.</strong> Install the required packages: <code>pip install -r requirements.txt</code></li> <li><strong>4.</strong> Ubuntu users also need to run: <code>sudo apt-get python3-tk</code></li> </ul> <h2>Run</h2> <p>How to run:</p> <ul> <li><strong>(RECOMMENDED)</strong> Run the script with: <code>python gpipe_main.py</code></li> <li><strong>(WINDOWS USERS)</strong> If you don't know about Python or pip, you can just make a shortcut of the GPipe.exe and run that shortcut from anywhere</li> <li><strong>Have fun!</strong></li> </ul> <h2>Usage</h2> <p>GPipe is not that sophisticated and should not be that hard to learn!</p> <ul> <li><strong>Time settings</strong> - Here you can set the time for your search, default is current time - 1 day</li> <li><strong>Graph settings</strong> - Here you can choose the X-axis and if you want to pop out pyplot</li> <li><strong>Generate graph</strong> - If you have made a run, you can now generate a graph on that data. You can also change the X-axis in graph settings.</li> <li><strong>Generate PDF</strong> - If you have made a run, you can now generate a PDF on that data. You can also change the X-axis in graph settings.</li> <li><strong>Generate EXCEL</strong> - If you have made a run, you can now generate an EXCEL on that data.</li> <li><strong>Platform picker</strong> - Here you choose one of the platforms. I have not added authentication, but it could probably be done easily. Chromium and Android are a bit slower than OpenDEV.</li> <li><strong>is:</strong> - Choose a metric, or none, if none, it searches all changes.</li> <li><strong>/ Crawl</strong> - Input a username or similar stuff</li> <li><strong>/ Run</strong> - Run GPipe with current settings</li> <li><strong>/ Quit</strong> - Quit GPipe</li> </ul> <div align="center"> <h2>Current GUI with latest additions</h2> <img src="https://i.gyazo.com/9f3f3901ad4f274a960b7eb24d18d821.png" width="1000" title="Current UI"> </div> <h2>Testers</h2> <p><b>Thank you testers, Gustav B(win10), Elias E(win10), Edwin Ö(win10), Philippe D(win 10)</b></p> </body> </html>

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks0

Languages

Python

Security Score

75/100

Audited on Sep 27, 2024

No findings