Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugovanderlei/dependencyreleasetracker
Dependency Release Tracker is a versatile tool that streamlines the process of tracking and updating project dependencies across multiple platforms, including Swift and Flutter. It automatically aggregates release notes, identifies outdated dependencies.
https://github.com/hugovanderlei/dependencyreleasetracker
command-line-tool dependency-management flutter python swift tool
Last synced: 3 months ago
JSON representation
Dependency Release Tracker is a versatile tool that streamlines the process of tracking and updating project dependencies across multiple platforms, including Swift and Flutter. It automatically aggregates release notes, identifies outdated dependencies.
- Host: GitHub
- URL: https://github.com/hugovanderlei/dependencyreleasetracker
- Owner: hugovanderlei
- License: mit
- Created: 2024-04-02T20:07:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T18:29:55.000Z (10 months ago)
- Last Synced: 2024-04-24T20:17:25.435Z (10 months ago)
- Topics: command-line-tool, dependency-management, flutter, python, swift, tool
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dependency Release Tracker
![video_as_gif](https://github.com/hugovanderlei/DependencyReleaseTracker/assets/184836/58676983-77bf-426f-bc33-e9e1860c71d6)
## Overview
Dependency Release Tracker is a comprehensive tool designed to help developers keep track of package dependencies across various programming ecosystems, including Swift Package Manager (SPM) and Flutter. It lists release notes of dependencies directly within your project, helping you stay informed about updates and changes.## Features
- **Cross-platform Support**: Track dependencies for **Swift, Flutter**, and potentially more platforms.
- **Enhanced Output Options**:
- **Default Mode**: Lists only packages that have updates different from the ones locked in your project.
- **`--all` Option**: Displays release notes for all versions of the dependencies.
- **`--simple` Option**: Outputs a simplified list without detailed release notes.## Installation
### Prerequisites
Ensure you have Python installed. You can install Python via Homebrew on macOS:
```bash
brew install python
```## Installation
To install Python via Homebrew on macOS, run:
```bash
brew install python
```
This installs the latest Python version. Verify the installation with `python3 --version`.### Tool Installation
Install pipx if not already installed:
```bash
brew install pipx
pipx ensurepath
```
Install Dependency Release Tracker:
```bash
pipx install dependency-release-tracker
```## Upgrade
To upgrade to the latest version of `dependency-release-tracker`:```bash
pipx upgrade dependency-release-tracker
```## GitHub Token (Swift Projects Only)
For private repositories or to increase API rate limit, a GitHub token is required:1. Go to [GitHub settings](https://github.com/settings/tokens).
2. Navigate to "Developer settings" > "Personal access tokens".
3. Click "Generate new token", give it a name, set an expiration, and select the `repo` scope.
4. Click "Generate token" and copy the generated token.
5. Save it securely and set it as an environment variable:To set the GitHub token as an environment variable using `.bashrc`, or follow these steps:
6. Open your terminal.
7. Edit the `.bashrc` or `.zshrc` file using a text editor like nano or vim. For example:```bash
nano ~/.bashrc
```
or
```bash
nano ~/.zshrc
```
9. Add the following line at the end of the file, replacing `"your_github_token_here"` with your actual GitHub token:```bash
export GITHUB_TOKEN="your_github_token_here"
```
9. Save the file and exit the text editor.
10. Reload the `.bashrc` ou `.zshrc` file to apply the changes:
```bash
source ~/.bashrc
```
or
```bash
source ~/.zshrc
```11. Now the GITHUB_TOKEN environment variable is set and can be used in your terminal sessions.
This configuration ensures that your GitHub token is securely stored as an environment variable and can be accessed by applications or scripts that need it.## Usage
Ensure you are in the root directory of your project:- For **Swift projects**, this is the directory containing the .xcworkspace.
- For **Flutter projects**, ensure both pubspec.yaml and pubspec.lock are present.Then execute:
```bash
dependency-tracker
```
Options:- `--all` to see all versions.
- `--simple` for a simplified output.
- `--path` to specify the project directory if not the current directory.
- `--help` to display usage information.
- `--version` to display the current version.## License
Pulse is available under the MIT license. See the LICENSE file for more info.