I can agree that you would be able to learn Perl in a week. I do not
think however that you can become proficient in Perl (and neither in any
other non-trivial programming language) in such short time. The question
remains if you can be proficient enough for the task in question...
Errr... my comment was about technical language / jargon used...
As to "I would like to take the majority opinion on how to split gitweb":
in my opinion you would need to have your own idea on how to split gitweb
yourself, to avoid possibility of wasting time on bikeshedding[1].
Of course this would be based on discussion here on git mailing list.
All of this assuming that this project would get accepted.
[1] http://en.wikipedia.org/wiki/Bikeshed
Yes, I found it in later parts of proposal, but don't you think that
this goal of this project should be stated upfront, so that one can
know what this project is to be about from project description itself?
I have not. I got it from discussion in parallel subthread, so I asked
for clarification. But I should have to read the whole proposal, or
know extra information to get what you were trying to say here.
Be specific (but not too detailed), not vague in describing goals.
Currently gitweb does not use any templating engine. Adding it would
be additional work, in my opinion not really necesary for the goals of
project (splitting gitweb is more on less needed to be able to add
large new feature, such as committool / "write" bit). I don't think
there is enough time to (optionally) code and add templating to gitweb.
Additionally, while adding very simple templating class wouldn't be
to much violation of programming guidelines (and for example both
Mojolicius and Dancer web micro-frameworks include their own simple
templating system), I am afraid that simple string / variable
substitution would be not enough for gitweb: loops and conditionals
would also be required. Also we would probably want for templating
system to automatically escape (when requested). So templating engine
grows... and then it would really be better to just use one of existing
templating modules from CPAN (http://search.cpan.org), or add adapter
to one of templating system from CPAN (like Catalyst web framework
does it).
Also if you are not proficient in Perl, I would be aftraid that your
homebrew templating engine would affect gitweb performance...
In short: no time to add templating support to gitweb.
I guess (please correct me if I am wrong) that lib/ would contain modules
*required* by gitweb, and modules/ would contain *optional* modules
needed for extra functionality (for extra features).
Using sessions is not without cost: you would (usually) need to store
extra information on the server.
Also one usually wants for URLs to be bookmarkeable. One would want
to be able to send link to be copy'n'pasted.
If sessions are to make gitweb URLs shorter: forget it. First, it would
be not necessary for your project. Second, this is not the way to have
shorter URLs.
See also the whole idea of stateless REST interface.
If gitweb is configured to scan for repositories, adding existing git
repository to gitweb doesn't make sense. If gitweb is configured to
use static file with list of repositories, of course it would make
sense... but then the question is how would one specify location of
a new repository to add.
Good.
The main simplification is that we do not need authentication here,
only perhaps requirement that server is 'localhost'.
Well, unless there would be time for it after you finish all other work,
but it is a bit unlikely.
It doesn't tell me much either. Do you mean some kind of REST API here,
to be used from other clients, or something like that?
Anyway I'd rather you put it in "if I have time" pile...
--
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html