{"id":23279157,"url":"https://github.com/fourdollars/launchpad-bug-resource","last_synced_at":"2026-01-25T15:03:07.881Z","repository":{"id":66896002,"uuid":"360799445","full_name":"fourdollars/launchpad-bug-resource","owner":"fourdollars","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-16T02:55:19.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T04:11:14.073Z","etag":null,"topics":["concourse-ci-resource","launchpad"],"latest_commit_sha":null,"homepage":"https://fourdollars.github.io/","language":"Shell","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/fourdollars.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,"zenodo":null}},"created_at":"2021-04-23T07:26:01.000Z","updated_at":"2024-08-16T02:55:23.000Z","dependencies_parsed_at":"2024-08-16T03:48:11.764Z","dependency_job_id":"ad37927e-9233-4420-a6d8-b1aa10cbcb2b","html_url":"https://github.com/fourdollars/launchpad-bug-resource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fourdollars/launchpad-bug-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourdollars%2Flaunchpad-bug-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourdollars%2Flaunchpad-bug-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourdollars%2Flaunchpad-bug-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourdollars%2Flaunchpad-bug-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fourdollars","download_url":"https://codeload.github.com/fourdollars/launchpad-bug-resource/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourdollars%2Flaunchpad-bug-resource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: 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":["concourse-ci-resource","launchpad"],"created_at":"2024-12-19T22:39:45.114Z","updated_at":"2026-01-25T15:03:07.864Z","avatar_url":"https://github.com/fourdollars.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":" [![GitHub: fourdollars/launchpad-bug-resource](https://img.shields.io/badge/GitHub-fourdollars%2Flaunchpad%E2%80%90bug%E2%80%90resource-darkgreen.svg)](https://github.com/fourdollars/launchpad-bug-resource/) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Bash](https://img.shields.io/badge/Language-Bash-red.svg)](https://www.gnu.org/software/bash/) ![Docker](https://github.com/fourdollars/launchpad-bug-resource/workflows/Docker/badge.svg) [![Docker Pulls](https://img.shields.io/docker/pulls/fourdollars/launchpad-bug-resource.svg)](https://hub.docker.com/r/fourdollars/launchpad-bug-resource/)\n# launchpad-bug-resource\n[concourse-ci](https://concourse-ci.org/)'s launchpad-bug-resource to watch the Launchpad bug status changes by using https://api.launchpad.net/.\n\n## Config \n\n### Resource Type\n\n```yaml\nresource_types:\n- name: resource-launchpad-bug\n  type: registry-image\n  source:\n    repository: fourdollars/launchpad-bug-resource\n    tag: latest\n  defaults:\n    oauth_consumer_key: test\n    oauth_token: csjrGznX4Jq59CB8941N\n    oauth_token_secret: wxDNqsCLxzrmhb2K27FRGjc7hdp3zQk0b4N8cnfRzVHnJfCFlHgkGHxDk5qMPTSdQFSsllS4dwGBD18Q\n    timeout: 10s\n```\n\nor\n\n```yaml\nresource_types:\n- name: resource-launchpad-bug\n  type: registry-image\n  source:\n    repository: ghcr.io/fourdollars/launchpad-bug-resource\n    tag: latest\n  defaults:\n    oauth_consumer_key: test\n    oauth_token: csjrGznX4Jq59CB8941N\n    oauth_token_secret: wxDNqsCLxzrmhb2K27FRGjc7hdp3zQk0b4N8cnfRzVHnJfCFlHgkGHxDk5qMPTSdQFSsllS4dwGBD18Q\n    timeout: 10s\n```\n\n### Resource\n\n* oauth_consumer_key: **required**, choose what you like.\n* oauth_token: **required**, run `oauth_consumer_key=what_you_like lp-api` to get it in ~/.config/lp-api.toml. https://github.com/fourdollars/lp-api\n* oauth_token_secret: **required**, run `oauth_consumer_key=what_you_like lp-api` to get it in ~/.config/lp-api.toml. https://github.com/fourdollars/lp-api\n* timeout: optional, the timeout duration for lp-api. It is 10s by default.\n* id: optional, the bug id or bug id list.\n* project: optional, Specify the project name to search bugs.\n * tag: optional, the tag or tag list. Specify the tag when it searches for the project.\n * status: optional, one status of \"New\", \"Incomplete\", \"Opinion\", \"Invalid\", \"Won't Fix\", \"Expired\", \"Confirmed\", \"Triaged\", \"In Progress\", \"Fix Committed\", \"Fix Released\", \"*\" or the list. Specify the status when it searches for the project.\n * combinator: 'any' or 'all'. Specify the tag combinator when it searches for the project. 'any' by default.\n * modified_since: optional, it is disabled by default. When it is enabled, it will only check those modified bugs since the date last updated.\n * created_before: optional, it is disabled by default. When it is enabled, it will search for bugs that were created before the given date\n * created_since: optional, it is disabled by default. When it is enabled, it will search for bugs that were created since the given date\n * auto_mode: optional, it is disabled by default. When it is enabled, it will use the date_last_updated of bugs last time as the next modified_since.\n * failed_when_total_zero: it is disabled by default, When it is enabled, it will return failed when the total size is zero.\n* parallel: optional, it is disabled by default. When it is enabled, it will use [GNU Parallel](https://www.gnu.org/software/parallel/).\n\n```yaml\nresources:\n- name: bugs\n  icon: bug-outline\n  type: resource-launchpad-bug\n  check_every: 10m\n  source:\n    id: 1\n```\nor\n```yaml\nresources:\n- name: bugs\n  icon: bug-outline\n  type: resource-launchpad-bug\n  check_every: 10m\n  source:\n    project: linux\n    tag:\n      - focal\n      - apport-collected\n    combinator: all\n```\nor\n```yaml\nresources:\n- name: bugs\n  icon: bug-outline\n  type: resource-launchpad-bug\n  check_every: 10m\n  source:\n    project: linux\n    id:\n      - 1\n      - 10\n      - 100\n    tag:\n      - focal\n      - apport-collected\n    combinator: all\n```\n\n### Example\n\n```yaml\njobs:\n- name: check-bugs\n  plan:\n  - get: bugs\n    trigger: true\n  - task: check\n    config:\n      platform: linux\n      image_resource:\n        type: registry-image\n        source:\n          repository: alpine\n          tag: latest\n      inputs:\n        - name: bugs\n      run:\n        path: sh\n        args:\n        - -exc\n        - |\n          apk add jq\n          for json in bugs/*.json; do\n            echo \"= $json =\"\n            id=$(jq -r .id \u003c \"$json\")\n            jq -r '\"Title: \" + .title + \"\\n\" + .description' \u003c \"$json\"\n            jq -r '.entries | .[] | .bug_target_name + \": \" + .status' \u003c bugs/tasks/\"$id\".json\n          done\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourdollars%2Flaunchpad-bug-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffourdollars%2Flaunchpad-bug-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourdollars%2Flaunchpad-bug-resource/lists"}