FWIW the reason I always use git:// over https:// is that at some point
cloning from github via https:// would result in strange errors on the
client side (iirc something about missing objects).
I have no idea if that's fixed, but I haven't seen a reason to change
back to https either.
Am 28.06.2012 16:48, schrieb Gabor Szabo:
On Thu, Jun 28, 2012 at 5:15 PM, Tadeusz Sośnierz
<tadeusz.sosni...@onet.pl> wrote:
On Thursday, June 28, 2012 14:32:58 Gabor Szabo wrote:
In panda all the projects, where there is a source URL, are listed with
their git:// url except of https://github.com/perlpilot/p6-File-Temp.git
Where is that?
in projects.json
I am just wondering why, and if it would not be better if that was
also using git://
That's because it was added to the ecosystem with https:// rather than git://.
Panda doesn't care, for it just uses the url to tell `git clone` where to get
the source from.
Some project have no source URL:
- Druid
- GGE
- HTML::Template
- Lingua::EN::Numbers::Ordinal
- Perl6::Literate
- Tardis
- Test::Mock
- Text::CSV
- Yarn
Those are using the old META.info format, which wanted repo-type and repo-url
rather than source-url.
Should the URLs be added? Where?
Should be, aye, in the modules' META.info files. See
https://github.com/masak/druid/blob/master/META.info for example.
Is there an explanation or documentation somewhere how those files
should look like
or do people just imitate working packages?
http://wiki.perl6.org/Create%20and%20Distribute%20Modules
I kinda remember that we had more detailed specs somewhere, but
currently I can't seem to remember where.
Is there a documentation on how to add a new package to panda?
(where to update projects.json and who could should do that?)
Currently the process is just "Add the META.info URL to
https://github.com/perl6/ecosystem/blob/master/META.list, and if you
don't have access, ask for it (here or on #perl6). Or make a pull request"
Cheers,
Moritz