Bug 255962 - New port: devel/forge-devel: Work with Git forges from the comfort of Magit (Development Version)
Summary: New port: devel/forge-devel: Work with Git forges from the comfort of Magit (...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guangyuan Yang
URL:
Keywords:
Depends on: 255959 256879
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-18 04:11 UTC by Yasuhiro Kimura
Modified: 2021-07-02 16:43 UTC (History)
1 user (show)

See Also:


Attachments
Patch file (6.65 KB, patch)
2021-05-18 04:11 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (6.59 KB, patch)
2021-05-25 17:48 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (6.64 KB, patch)
2021-06-16 10:34 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (6.59 KB, patch)
2021-06-17 03:39 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (6.79 KB, patch)
2021-06-28 22:04 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-05-18 04:11:03 UTC
Created attachment 225053 [details]
Patch file

Forge allows you to work with Git forges, such as Github and Gitlab, from the comfort of Magit and the rest of Emacs.

Forge fetches issues, pull-requests and other data using the forge's API and stores that in a local database. Additionally it fetches the pull-request references using Git. Forge implements various features that use this data but the database and pull-request refs can also be used by third-party packages.

This is development version of forge and works with devel/magit-devel.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-05-25 17:48:40 UTC
Created attachment 225255 [details]
Updated patch file

Update to latest snapshot.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-06-16 10:34:22 UTC
Created attachment 225856 [details]
Updated patch file

Update to latest snapshot.
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-06-17 03:39:11 UTC
Created attachment 225877 [details]
Updated patch file

Update to 0.2.1, which is also latest snapshot.
Comment 4 Guangyuan Yang freebsd_committer freebsd_triage 2021-06-21 22:18:11 UTC
Since this now has the same version as devel/forge, I prefer to wait for the next snapshot before committing :)
Comment 5 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-06-28 22:04:18 UTC
Created attachment 226099 [details]
Updated patch file

* Update to latest snapshot.
* Add new dependency textproc/yaml.el
Comment 6 Guangyuan Yang freebsd_committer freebsd_triage 2021-07-02 09:47:32 UTC
(In reply to Yasuhiro Kimura from comment #5)

Hi, I am a bit confused - where is v0.2.1-7-g84ef3a7 in https://github.com/magit/forge? I couldn't find it... /facepalm
Comment 7 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-07-02 09:54:37 UTC
(In reply to Guangyuan Yang from comment #6)

It corresponds to following commit.

https://github.com/magit/forge/commit/84ef3a7
Comment 8 Guangyuan Yang freebsd_committer freebsd_triage 2021-07-02 09:59:52 UTC
(In reply to Yasuhiro Kimura from comment #7)

Oh okay! I am still wrapping my head around the "-7-g" part in v0.2.1-7-g84ef3a7. Can you explain? /facepalm
Comment 9 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-07-02 10:10:39 UTC
(In reply to Guangyuan Yang from comment #8)

Please read example 14 in section 5.4.3. of Porter's Handbook. It explains what 'v0.2.1-7-g84ef3a7' means.
Comment 10 commit-hook freebsd_committer freebsd_triage 2021-07-02 16:42:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45

commit 9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45
Author:     Yasuhiro Kimura <yasu@utahime.org>
AuthorDate: 2021-07-02 16:42:18 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-07-02 16:42:18 +0000

    devel/forge-devel: New port

    Work with Git forges from the comfort of Magit (Development Version).

    PR:             255962
    Approved by:    lwhsu (mentor)

 devel/Makefile                    |  1 +
 devel/forge-devel/Makefile (new)  | 55 +++++++++++++++++++++++++++++++++++++++
 devel/forge-devel/distinfo (new)  |  3 +++
 devel/forge-devel/pkg-descr (new) | 10 +++++++
 devel/forge-devel/pkg-plist (new) | 37 ++++++++++++++++++++++++++
 5 files changed, 106 insertions(+)
Comment 11 Guangyuan Yang freebsd_committer freebsd_triage 2021-07-02 16:43:20 UTC
Committed, thanks! And thanks for the tips, TIL!