{"id":17874793,"url":"https://github.com/dastergon/oscrepo","last_synced_at":"2025-04-03T00:14:28.167Z","repository":{"id":145380701,"uuid":"103294641","full_name":"dastergon/oscrepo","owner":"dastergon","description":"Get .repo URLs in openSUSE without opening the browser","archived":false,"fork":false,"pushed_at":"2017-09-13T12:33:11.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T14:23:27.780Z","etag":null,"topics":["golang","opensuse"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dastergon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-09-12T16:23:46.000Z","updated_at":"2017-09-12T23:25:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e592bf0-d30c-4599-b177-5246c679e541","html_url":"https://github.com/dastergon/oscrepo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastergon%2Foscrepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastergon%2Foscrepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastergon%2Foscrepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastergon%2Foscrepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dastergon","download_url":"https://codeload.github.com/dastergon/oscrepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911467,"owners_count":20853657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["golang","opensuse"],"created_at":"2024-10-28T11:11:27.720Z","updated_at":"2025-04-03T00:14:28.141Z","avatar_url":"https://github.com/dastergon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oscrepo\nGet .repo URLs in openSUSE without opening the browser.\n\n## Installation\n\n\u003e You can install Go by following [these instructions](https://golang.org/doc/install).\n\n`oscrepo` is written in Go, so if you have Go installed you can install it with `go get`:\n\n    go get github.com/dastergon/oscrepo\n\n\nThis will download the code, compile it, and leave an `oscrepo` binary in `$GOPATH/bin`.\n\n## Configuration\n\nThe openSUSE API requires to authenticate before you request resources from it.\nConsequently, `oscrepo` parses the credentials either from the `$HOME/.oscrc` file of `osc` or through \nthe `--username` and `--password` parameters.\n\n## Usage\n\nShow the available .repo URLs for projects that contain the word containers (using `.oscrc`):\n\n    oscrepo url containers \n\nAnother example:\n\n     oscrepo url Virtualization:containers\n  \nShow the available .repo URLs for projects that contain the word containers (without `.oscrc`):\n\n    oscrepo url containers --username john --password smith\n  \nIf there are more than one entries that match the keyword, a enumerated list will be returned.\nTo select the desired URL use the `--entry` option:\n\n     oscrepo url containers --entry 1\n  \n Add specific repository with zypper:\n  \n      zypper ar -r $(oscrepo url containers --entry 1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdastergon%2Foscrepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdastergon%2Foscrepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdastergon%2Foscrepo/lists"}