{"id":37134960,"url":"https://github.com/wellcom-rocks/updates-sucks","last_synced_at":"2026-01-14T15:44:38.909Z","repository":{"id":304810396,"uuid":"1020067477","full_name":"wellcom-rocks/updates-sucks","owner":"wellcom-rocks","description":"🔍 Command-line tool for automated software version monitoring across multiple repositories - built for DevOps teams","archived":false,"fork":false,"pushed_at":"2025-10-26T22:48:01.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T00:28:27.934Z","etag":null,"topics":["devops","git","golang","monitoring","repositories","versioning"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wellcom-rocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-15T09:38:55.000Z","updated_at":"2025-10-26T22:48:05.000Z","dependencies_parsed_at":"2025-07-15T23:36:29.634Z","dependency_job_id":"643b6675-aafb-47f1-9c0c-66ce322de1b4","html_url":"https://github.com/wellcom-rocks/updates-sucks","commit_stats":null,"previous_names":["wellcom-rocks/updates-sucks"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wellcom-rocks/updates-sucks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcom-rocks%2Fupdates-sucks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcom-rocks%2Fupdates-sucks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcom-rocks%2Fupdates-sucks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcom-rocks%2Fupdates-sucks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellcom-rocks","download_url":"https://codeload.github.com/wellcom-rocks/updates-sucks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcom-rocks%2Fupdates-sucks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","git","golang","monitoring","repositories","versioning"],"created_at":"2026-01-14T15:44:38.104Z","updated_at":"2026-01-14T15:44:38.896Z","avatar_url":"https://github.com/wellcom-rocks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Updates-Sucks CLI\n\nA command-line tool for automating software version monitoring for DevOps engineers and system administrators.\n\n## Features\n\n- **Automated Version Scanning**: Monitors multiple repositories for new versions\n- **Multiple Version Schemes**: Supports SemVer, CalVer, and string-based versioning\n- **CI/CD Integration**: Standardized exit codes for pipeline automation\n- **Authentication Support**: Handles private repositories with token and SSH authentication\n- **Flexible Output**: Human-readable and JSON output formats\n- **Configurable**: JSON-based configuration with extensive customization options\n\n## Installation\n\n### Direct Installation\n```bash\ngo install github.com/wellcom-rocks/updates-sucks@latest\n```\n\n### Build from Source\n\n```bash\ngo build -o updates-sucks\n```\n\n### Usage\n\n```bash\n# Scan all repositories\n./updates-sucks scan\n\n# Scan specific repository\n./updates-sucks scan \"Kubernetes\"\n\n# Use custom configuration file\n./updates-sucks scan --file /path/to/config.json\n\n# JSON output for automation\n./updates-sucks scan --format json\n\n# Verbose output for debugging\n./updates-sucks scan --verbose\n\n# Quiet output for CI/CD\n./updates-sucks scan --quiet\n```\n\n## Configuration\n\nCreate a `repos.json` file in your project directory:\n\n```json\n{\n  \"repositories\": [\n    {\n      \"name\": \"Kubernetes\",\n      \"type\": \"git\",\n      \"url\": \"https://github.com/kubernetes/kubernetes.git\",\n      \"currentVersion\": \"v1.28.0\",\n      \"versioning\": {\n        \"scheme\": \"semver\",\n        \"ignorePrefix\": \"v\"\n      }\n    },\n    {\n      \"name\": \"Private Repository\",\n      \"type\": \"git\",\n      \"url\": \"git@github.com:company/private-repo.git\",\n      \"currentVersion\": \"1.5.0\",\n      \"auth\": {\n        \"type\": \"token\",\n        \"envVariable\": \"GITHUB_TOKEN\"\n      }\n    }\n  ]\n}\n```\n\n### Configuration Options\n\n- **`name`**: Human-readable name for the repository\n- **`type`**: Repository type (currently only `\"git\"` is supported)\n- **`url`**: Repository URL (HTTPS or SSH)\n- **`currentVersion`**: Current version in use\n- **`versioning`** (optional):\n  - **`scheme`**: Version scheme (`\"semver\"`, `\"calver\"`, `\"string\"`)\n  - **`ignorePrefix`**: Prefix to ignore when comparing versions (e.g., `\"v\"`)\n- **`auth`** (optional):\n  - **`type`**: Authentication type (`\"token\"` or `\"ssh\"`)\n  - **`envVariable`**: Environment variable containing the token/key path\n\n## Exit Codes\n\n- **`0`**: Success, no updates available\n- **`1`**: Success, updates found\n- **`2`**: Configuration error\n- **`3`**: Scan error (network, authentication, etc.)\n\n## Examples\n\n### Basic Usage\n\n```bash\n# Check for updates\n./updates-sucks scan\n\n# Output:\n# Scanning 3 repositories...\n#\n# - Kubernetes: UP-TO-DATE (Current: v1.28.0)\n# - Docker: NEW VERSION FOUND! (Current: v24.0.0 -\u003e Latest: v24.0.5)\n# - Prometheus: UP-TO-DATE (Current: v2.45.0)\n#\n# Scan finished. Updates available for 1 repository(ies).\n```\n\n### JSON Output\n\n```bash\n./updates-sucks scan --format json\n```\n\n```json\n{\n  \"summary\": {\n    \"total\": 3,\n    \"upToDate\": 2,\n    \"updatesAvailable\": 1,\n    \"errors\": 0\n  },\n  \"repositories\": [\n    {\n      \"name\": \"Kubernetes\",\n      \"status\": \"UP_TO_DATE\",\n      \"currentVersion\": \"v1.28.0\",\n      \"latestVersion\": \"v1.28.0\"\n    },\n    {\n      \"name\": \"Docker\",\n      \"status\": \"UPDATE_AVAILABLE\",\n      \"currentVersion\": \"v24.0.0\",\n      \"latestVersion\": \"v24.0.5\"\n    }\n  ]\n}\n```\n\n### CI/CD Integration\n\n```bash\n#!/bin/bash\n./updates-sucks scan --quiet --format json\n\ncase $? in\n    0)\n        echo \"All repositories are up to date\"\n        ;;\n    1)\n        echo \"Updates are available!\"\n        # Trigger notification or further processing\n        ;;\n    2)\n        echo \"Configuration error\"\n        exit 1\n        ;;\n    3)\n        echo \"Scan failed\"\n        exit 1\n        ;;\nesac\n```\n\n## Authentication\n\n### GitHub Token\n\n```bash\nexport GITHUB_TOKEN=\"your-token-here\"\n./updates-sucks scan\n```\n\n### SSH Key\n\n```bash\nexport SSH_KEY_PATH=\"/path/to/your/ssh/key\"\n./updates-sucks scan\n```\n\n## Supported Version Schemes\n\n### Semantic Versioning (SemVer)\n- Format: `MAJOR.MINOR.PATCH` (e.g., `1.2.3`, `v2.0.0`)\n- Supports pre-release and build metadata\n- Default scheme if not specified\n\n### Calendar Versioning (CalVer)\n- Format: `YYYY.MM.MICRO` (e.g., `2024.05.1`)\n- Useful for date-based releases\n\n### String Versioning\n- Lexicographic comparison\n- Fallback for non-standard versioning schemes\n\n## Performance\n\n- Uses `git ls-remote` for efficient tag fetching without cloning\n- Lightweight and fast for CI/CD pipeline integration\n- Minimal memory footprint\n\n## Contributing\n\nThis project follows the specification detailed in `spec.md`. Please refer to the specification for architectural decisions and implementation details.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcom-rocks%2Fupdates-sucks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellcom-rocks%2Fupdates-sucks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcom-rocks%2Fupdates-sucks/lists"}