Discussion:
[chora] large numbers of repos
Greg_Swift
2007-07-27 15:09:17 UTC
Permalink
hi.

I was trying to find a way to view a large number of repos easily, but
(atleast with subversion) it appears that I have to create a different
sourceroot for each repo. As it is we currently have over 50 repos, so
the text list created for the "Other Repositories" was rather long. I
would prefer to have it look like cvs.horde.org, but couldn't figure out
how to do that. Suggestions would be handy.

In the meantime I made a makeshift patch to chora/lib/Chora.php that makes
dealing with a large number of different repo a bit easier. I realize this
isn't the ideal horde way of doing it (If i had the time I would try and
make it behave more like IMP's folder selection in the top right of the
page) but it is functional and useful in this form.

-greg

(See attached file: libchora.patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libchora.patch
Type: application/octet-stream
Size: 1155 bytes
Desc: not available
Url : http://lists.horde.org/archives/chora/attachments/20070727/36808373/attachment.obj
Jan Schneider
2007-07-29 10:27:57 UTC
Permalink
Post by Greg_Swift
hi.
I was trying to find a way to view a large number of repos easily, but
(atleast with subversion) it appears that I have to create a different
sourceroot for each repo. As it is we currently have over 50 repos, so
the text list created for the "Other Repositories" was rather long. I
would prefer to have it look like cvs.horde.org, but couldn't figure out
how to do that. Suggestions would be handy.
cvs.horde.org has only one repository.
Post by Greg_Swift
In the meantime I made a makeshift patch to chora/lib/Chora.php that makes
dealing with a large number of different repo a bit easier. I realize this
isn't the ideal horde way of doing it (If i had the time I would try and
make it behave more like IMP's folder selection in the top right of the
page) but it is functional and useful in this form.
The patch is reverse. Beside that, I think it's a good idea to turn
the source roots list into a drop down list for a large number of
repos. This could happen at a certain threshold, like more than 3 or 4
repos. If you are willing to provide such a patch - against the CVS
HEAD version of Chora - please put it on bugs.horde.org.

Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
Greg_Swift
2007-07-30 13:21:31 UTC
Permalink
Post by Jan Schneider
Post by Greg_Swift
hi.
I was trying to find a way to view a large number of repos easily, but
(atleast with subversion) it appears that I have to create a different
sourceroot for each repo. As it is we currently have over 50 repos,
so
Post by Jan Schneider
Post by Greg_Swift
the text list created for the "Other Repositories" was rather long. I
would prefer to have it look like cvs.horde.org, but couldn't figure
out
Post by Jan Schneider
Post by Greg_Swift
how to do that. Suggestions would be handy.
cvs.horde.org has only one repository.
thats what I was afraid of...
Post by Jan Schneider
Post by Greg_Swift
In the meantime I made a makeshift patch to chora/lib/Chora.php that
makes
Post by Jan Schneider
Post by Greg_Swift
dealing with a large number of different repo a bit easier. I realize
this
Post by Jan Schneider
Post by Greg_Swift
isn't the ideal horde way of doing it (If i had the time I would try
and
Post by Jan Schneider
Post by Greg_Swift
make it behave more like IMP's folder selection in the top right of the
page) but it is functional and useful in this form.
The patch is reverse. Beside that, I think it's a good idea to turn
the source roots list into a drop down list for a large number of
repos. This could happen at a certain threshold, like more than 3 or 4
repos. If you are willing to provide such a patch - against the CVS
HEAD version of Chora - please put it on bugs.horde.org.
My apologies.. I don't use patch very often (okay.. pretty much never).
I'll look into that, but not sure what my turn around will be. I've got a
few projects w/ priority right now. Thanks for the response.

-greg

Loading...