Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoanbernabeu/glchksymver
GitLab Check Symfony Version (glchksymver) is a command-line tool designed to fetch and display Symfony version information for projects within a specified GitLab group.
https://github.com/yoanbernabeu/glchksymver
cli gitlab go golang symfony
Last synced: about 17 hours ago
JSON representation
GitLab Check Symfony Version (glchksymver) is a command-line tool designed to fetch and display Symfony version information for projects within a specified GitLab group.
- Host: GitHub
- URL: https://github.com/yoanbernabeu/glchksymver
- Owner: yoanbernabeu
- License: mit
- Created: 2024-02-27T13:38:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T14:15:20.000Z (11 months ago)
- Last Synced: 2024-02-28T14:58:54.563Z (11 months ago)
- Topics: cli, gitlab, go, golang, symfony
- Language: Go
- Homepage:
- Size: 208 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitLab Check Symfony Version (glchksymver)
`glchksymver` is a command-line tool designed to fetch and display Symfony version information for projects within a specified GitLab group. It utilizes the GitLab API to retrieve projects and examines each project's `composer.json` file to determine the Symfony version used. This tool is particularly useful for teams managing multiple Symfony projects within GitLab, allowing for a quick overview of Symfony versions across projects.
![](/screen.png)
## Features
- Fetches all projects within a specified GitLab group.
- Identifies the Symfony version for each project by analyzing its `composer.json` file (Check the version of `symfony/framework-bundle`).
- Displays a summary table of projects with their corresponding Symfony version.
- Lists projects that do not specify a Symfony version or do not contain a `composer.json` file, indicating potential non-Symfony projects.## Prerequisites
Before you begin, ensure you have met the following requirements:
- A GitLab personal access token with permissions to access projects and repositories within your GitLab group.
- A GitLab group ID, which can be found in the `Settings` > `General` section of your GitLab group.## How to use
### Usage
`glchksymver` is **VERY easy to use**. Just run the following command:
```bash
glchksymver -gitlab_url="https://gitlab.com" -group_id=123456789 -token="glpat-xxxxxxxxxxxxxx"
```### Installation
#### From binary
* Linux/Darwin
Just run the following command:
```bash
curl -sL https://raw.githubusercontent.com/yoanbernabeu/glchksymver/main/install.sh | bash
```* Other Operating Systems
Please download the binary from the [release page](https://github.com/yoanbernabeu/glchksymver/releases) and move it to your PATH.
#### From source
glchksymver is written in Go, so you need to install it first.
```bash
git clone [email protected]:yoanbernabeu/glchksymver.git
cd glchksymver
go build -o glchksymver
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Author
Yoan Bernabeu - [yoanbernabeu](https://github.com/yoanbernabeu)