An advanced dependency management tool designed to streamline and simplify the update tracking process for various programming environments. This tool extends support beyond Swift to include Flutter, handling both direct and transitive dependencies efficiently. By automating the update checks and changelog retrievals, it ensures developers can easily maintain their projects with the latest library versions, enhancing project stability and feature integration.
Project description
Dependency Release Tracker
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:
brew install python
Installation
To install Python via Homebrew on macOS, run:
brew install python
This installs the latest Python version. Verify the installation with python3 --version
.
Tool Installation
Install pipx if not already installed:
brew install pipx
pipx ensurepath
Install Dependency Release Tracker:
pipx install dependency-release-tracker
Upgrade
To upgrade to the latest version of dependency-release-tracker
:
pipx upgrade dependency-release-tracker
GitHub Token (Swift Projects Only)
For private repositories or to increase API rate limit, a GitHub token is required:
- Go to GitHub settings.
- Navigate to "Developer settings" > "Personal access tokens".
- Click "Generate new token", give it a name, set an expiration, and select the
repo
scope. - Click "Generate token" and copy the generated token.
- 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:
-
Open your terminal.
-
Edit the
.bashrc
or.zshrc
file using a text editor like nano or vim. For example:nano ~/.bashrc
or
nano ~/.zshrc
-
Add the following line at the end of the file, replacing
"your_github_token_here"
with your actual GitHub token:
export GITHUB_TOKEN="your_github_token_here"
- Save the file and exit the text editor.
- Reload the
.bashrc
ou.zshrc
file to apply the changes:
source ~/.bashrc
or
source ~/.zshrc
- 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:
dependency-tracker
Options:
--all
to see all versions.--simple
for a simplified output.--path
<path_to_directory> 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dependency_release_tracker-1.0.1.tar.gz
.
File metadata
- Download URL: dependency_release_tracker-1.0.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab785116335a3d0db5bb16b3d7c068815d3dab9d0066975e3afbbc90162278b4 |
|
MD5 | 3630520074924579ed77621338aa7368 |
|
BLAKE2b-256 | 1fb67d098cfa8c9d9a95b4bed2dc67b9ebb638f279dd033f88d66291ad953cad |
File details
Details for the file dependency_release_tracker-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dependency_release_tracker-1.0.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71c56cd9169d5251dee3e991e0cfa2ab65a4577a69918011c61dbd76f481e49 |
|
MD5 | fa54e669b6094590cc54c57fb6cab608 |
|
BLAKE2b-256 | 9ef74084086cac287bc13e09aed804ee17b106107b60aadc2060f4fc17e7d461 |