{"id":16372962,"url":"https://github.com/iensu/org-github-issues","last_synced_at":"2025-03-23T03:32:31.237Z","repository":{"id":30679269,"uuid":"125703989","full_name":"iensu/org-github-issues","owner":"iensu","description":"A tool for creating org TODOs out of open github issues","archived":false,"fork":false,"pushed_at":"2022-10-28T09:58:29.000Z","size":97,"stargazers_count":20,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T17:06:10.093Z","etag":null,"topics":["emacs","github-issues","org-mode","todo"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iensu.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}},"created_at":"2018-03-18T07:59:33.000Z","updated_at":"2024-12-30T21:01:41.000Z","dependencies_parsed_at":"2023-01-14T17:27:52.829Z","dependency_job_id":null,"html_url":"https://github.com/iensu/org-github-issues","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/iensu%2Forg-github-issues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iensu%2Forg-github-issues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iensu%2Forg-github-issues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iensu%2Forg-github-issues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iensu","download_url":"https://codeload.github.com/iensu/org-github-issues/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052619,"owners_count":20553161,"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":["emacs","github-issues","org-mode","todo"],"created_at":"2024-10-11T03:12:54.519Z","updated_at":"2025-03-23T03:32:30.885Z","avatar_url":"https://github.com/iensu.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org-github-issues\n\n[![Sponsored](https://img.shields.io/badge/chilicorn-sponsored-brightgreen.svg?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAMAAADjyg5GAAABqlBMVEUAAAAzmTM3pEn%2FSTGhVSY4ZD43STdOXk5lSGAyhz41iz8xkz2HUCWFFhTFFRUzZDvbIB00Zzoyfj9zlHY0ZzmMfY0ydT0zjj92l3qjeR3dNSkoZp4ykEAzjT8ylUBlgj0yiT0ymECkwKjWqAyjuqcghpUykD%2BUQCKoQyAHb%2BgylkAyl0EynkEzmkA0mUA3mj86oUg7oUo8n0k%2FS%2Bw%2Fo0xBnE5BpU9Br0ZKo1ZLmFZOjEhesGljuzllqW50tH14aS14qm17mX9%2Bx4GAgUCEx02JySqOvpSXvI%2BYvp2orqmpzeGrQh%2Bsr6yssa2ttK6v0bKxMBy01bm4zLu5yry7yb29x77BzMPCxsLEzMXFxsXGx8fI3PLJ08vKysrKy8rL2s3MzczOH8LR0dHW19bX19fZ2dna2trc3Nzd3d3d3t3f39%2FgtZTg4ODi4uLj4%2BPlGxLl5eXm5ubnRzPn5%2Bfo6Ojp6enqfmzq6urr6%2Bvt7e3t7u3uDwvugwbu7u7v6Obv8fDz8%2FP09PT2igP29vb4%2BPj6y376%2Bu%2F7%2Bfv9%2Ff39%2Fv3%2BkAH%2FAwf%2FtwD%2F9wCyh1KfAAAAKXRSTlMABQ4VGykqLjVCTVNgdXuHj5Kaq62vt77ExNPX2%2Bju8vX6%2Bvr7%2FP7%2B%2FiiUMfUAAADTSURBVAjXBcFRTsIwHAfgX%2FtvOyjdYDUsRkFjTIwkPvjiOTyX9%2FAIJt7BF570BopEdHOOstHS%2BX0s439RGwnfuB5gSFOZAgDqjQOBivtGkCc7j%2B2e8XNzefWSu%2BsZUD1QfoTq0y6mZsUSvIkRoGYnHu6Yc63pDCjiSNE2kYLdCUAWVmK4zsxzO%2BQQFxNs5b479NHXopkbWX9U3PAwWAVSY%2FpZf1udQ7rfUpQ1CzurDPpwo16Ff2cMWjuFHX9qCV0Y0Ok4Jvh63IABUNnktl%2B6sgP%2BARIxSrT%2FMhLlAAAAAElFTkSuQmCC)](http://spiceprogram.org/oss-sponsorship)\n\nA helper function to create org-mode TODOs out of open issues and review requests in a github repository.\n\n## Installation\n\n### Using straight.el\n\nAn example of how you can install this package using [straight.el](https://github.com/raxod502/straight.el):\n\n```org\n(use-package org-github-issues :straight (org-github-issues :host github :repo \"iensu/org-github-issues\")\n  :defer t\n  :config\n  (setq org-github-issues-user \"iensu\"                                                                                   ;; Specify Github user\n        github-repositories '(\"dekorateio/dekorate\" \"quarkusio/quarkus\")                                                 ;; My repositories\n        org-github-issues-org-file \"~/Documents/org/github.org\"                                                          ;; My org file\n        org-github-issues-tags '(\"github\" \"triage\")                                                                      ;; Always add these labels\n        org-github-issues-issue-tags '(\"issue\")                                                                          ;; Add these only on issues\n        org-github-issues-pull-tags '(\"pull\")                                                                            ;; Add these only on pull requests\n        org-github-issues-auto-schedule \"+0d\"                                                                            ;; Enable automatic scheduling\n        org-github-issues-filter-by-assignee t                                                                           ;; Enable filter by assignee\n        org-github-issues-headline-prefix t)                                                                             ;; Prefix all headlines with repository name\n  (mapcar (lambda (r) (run-with-idle-timer 3600 t (lambda () (org-github-issues-sync-issues r)))) github-repositories))  ;; When idle for an hour loop over my projects and sync\n```\n\n\n## Usage\n\nBefore use you need to set the variable `org-github-issues-org-file` to point to an existing file in which to write the fetched issues.\n\nIn the specified file, create a header for each of your github projects, .e.g `iensu/org-github-issues`.\nEach header must match the repository name (OWNER/REPO) **exactly**.\n\nEach header can be a top level header or nested and may optionally contain tags:\n\n```org\n* Emacs\n** iensu/org-github-issues\n** sigma/gh\n** magit/forge                :magit:\n** magit/magit                :magit:\n* Other projects\n** foo/bar\n```\n\nAny header that doesn't match the (OWNER/REPO) pattern will be ignored.\n\nAfter setup you can run one of the following commands:\n\n- `M-x org-github-issues-sync-issues` Will prompt you for the repository you want to fetch issues for.\n- `M-x org-github-issues-sync-pulls`  Will prompt you for the repository you want to fetch issues for.\n- `M-x org-github-issues-sync-all`    Will directly fetch all issues and pull requests for all repositories found in the `org-github-issues-org-file`.\n\n## Authentication\n\nIf you are experiencing authentication issues you need to set `org-github-issues-user` to the user you want to authenticate with and then [create a Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).\n\nIf you want to track private repositories you will need to select the **repo** scope and **org:read** if you want to also read repositories belonging to your organizations. See [this issue](https://github.com/octokit/octokit.net/issues/1775) for more info.\n\nYou can provide the token by using `auth-sources` and add an entry to your `~/.authinfo.gpg` file ([this article](https://www.masteringemacs.org/article/keeping-secrets-in-emacs-gnupg-auth-sources) gives a good introduction to working with `auth-sources`):\n\n```\nmachine org-github-issues login \u003cUSERNAME\u003e password \u003cTOKEN\u003e\n```\n\nThe less secure way is to set `org-github-issues-token`, but please go with the `auth-sources` option if your token has access to private repositories.\n\n## Customization\n\nThe following custom options are available:\n\n| Option                               | Type                             | Description                                                                          | Default Value                |\n|--------------------------------------|----------------------------------|--------------------------------------------------------------------------------------|------------------------------|\n| org-github-issues-user               | string                           | **REQUIRED** Github user name to use for authentication                              | nil                          |\n| org-github-issues-org-file           | string                           | Path to an existing `org-mode` file in which to write issues                         | \"~/Dropbox/org/projects.org\" |\n| org-github-issues-filter-by-assignee | boolean                          | Flag to enable filtering issues by assignee.                                         | nil                          |\n| org-github-issues-assignee           | string                           | The assignee to use for filtering                                                    | `user-login-name`            |\n| org-github-issues-headline-prefix    | boolean                          | Flag to enable prefixing headlines with the repository name                          | nil                          |\n| org-github-issues-auto-schedule      | string                           | Threshold for automatically scheduling new issues                                    | \"+0d\"                        |\n| org-github-tag-transformations       | alist :value-type (group-string) | An alist with trasnformations to apply to github labels when converting them to tags | '((\"[\\s/-]+\" \"_\")            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiensu%2Forg-github-issues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiensu%2Forg-github-issues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiensu%2Forg-github-issues/lists"}