Skip to content

Add support for gitee.com - #326

Closed
loyalpartner wants to merge 1 commit into
magit:masterfrom
loyalpartner:gitee-support
Closed

Add support for gitee.com#326
loyalpartner wants to merge 1 commit into
magit:masterfrom
loyalpartner:gitee-support

Conversation

@loyalpartner

Copy link
Copy Markdown

Your software is very good, I like it very much, but in my country we work with gitee.com, I made a little change to open the commit and issues in gitee.com in emacs, I hope you can pass this pr, so that more people can use this little feature easily.

@tarsius tarsius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the "Partially Supported Forges" node in the manual. (Only edit forge.org; I will regenerate forge.texi.)

Comment thread lisp/forge-gitee.el Outdated
@@ -0,0 +1,38 @@
;;; forge-bitbucket.el --- Bitbucket support -*- lexical-binding: t -*-

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to adjust this. When you edit this make sure -*- lexical-binding: t -*- begins at the same column as before.

Comment thread lisp/forge-core.el Outdated
"git.sr.ht" forge-srht-repository)
;; gitee (API unsupported)
("gitee.com" nil
"gitee.com" forge-gitee-repository))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this below the bitbucket entry into the "Forges (API unsupported)" group. (Don't add an additional comment, the comment I just mentioned covers that.)

@loyalpartner

Copy link
Copy Markdown
Author

Thank you for your guidance, I have changed according to what you said。

@tarsius

tarsius commented Dec 27, 2020

Copy link
Copy Markdown
Member

You omitted many of the slots that are set for many of the other classes. Why?

@loyalpartner

Copy link
Copy Markdown
Author

i use M-x "forge-" to found the relation with them, but i can't found how to use them ,so i omit it.

@tarsius

tarsius commented Dec 28, 2020

Copy link
Copy Markdown
Member

i use M-x "forge-" to found the relation with them, but i can't found how to use them ,so i omit it.

Some or even all of those are indeed unused. At present. I have added these slots because I expect to be using them eventually. Once that happens the values will already be ready to use for all forges that are currently supported. It would be nice if that also applied to gitee.com, especially because I don't use that myself, which means it would be more work for me to do it then than it would be for you to do it now.

@tarsius

tarsius commented Dec 28, 2020

Copy link
Copy Markdown
Member

I notice you added the suggested commit summary when squashing the commits. Unfortunately you also added the period at the end of the summary back again. Please remove that like for all other commits in this repository.

@loyalpartner loyalpartner changed the title add gitee.com support. Add support for gitee.com Dec 28, 2020
@tarsius

tarsius commented Jan 2, 2021

Copy link
Copy Markdown
Member

Please let me know when you have added the missing slots, then we can still add this.

@tarsius tarsius closed this Jan 2, 2021
@tarsius

tarsius commented Jan 5, 2021

Copy link
Copy Markdown
Member

I have added a faq entry about the forges I plan or don't plan to support. Because I do not plan to implement support for this particular forge I am closing this issue. That doesn't mean that you cannot comment here or shouldn't discourage you from contributing support for favorite forge yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants