<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#333333">
<p><tt>Hi,<br>
<br>
I had this idea I want to test here. When creating a Portfile
and adding: maintainers - only GitHub is recognized when adding
a username like “@fooBar”. One *could* cheat and use:<br>
<br>
In Portfile: maintainers {GitHost:\ @fooBar}<br>
With "port info": Maintainers: Email: GitHost: @fooBar<br>
<br>
<br>
So, I was thinking it would be great with an optional syntax to
be able to add a couple of Git host services: GitLab and
Bitbucket (= the 3 big ones), so one could use something like:<br>
</tt></p>
<p><tt><i># just as a test to get the output:</i><br>
In Portfile: maintainers @fooBar @gh:Foo @gl:Bar
@bb:Baz<br>
With "port info": Maintainers: GitHub: fooBar<br>
GitHub: Foo<br>
GitLab: Bar<br>
Bitbucket: Baz</tt></p>
<p><tt>I've tested the prefixes by changing
“macportports_utils.tcl”, but using github for all when setting
the maintainer, so the part of picking up the prefixes works.
And then I guess it just needs the 2 additional entries to
port.tcl. I haven't tested that part.<br>
<br>
Would that be a good idea?<br>
Or maybe it's already been discussed earlier.<br>
<br>
· Eric</tt></p>
<p><i><tt>// I put a patch here if you want to have a look/test it.
Since it's not tested - see it<br>
// more as a conceptual patch, to visualize the idea:
<a class="moz-txt-link-freetext" href="https://git.io/fhHHA">https://git.io/fhHHA</a></tt></i><br>
</p>
</body>
</html>