WANTED: need a real web API for rubyforge.org

J

James Gray

It would be far better IMO to build a new RubyForge from the ground
up, and when it's reasonably feature-complete and the community
agrees, migrate over and shut the GForge instance down.

I would be interested to hear what percentage of GForge features see
any kind of widespread use. I know some use them all, but I suspect
quite a few do not. I feel GForge has a pretty clumsy interface that
detracts a lot from what it provides and probably encourages users to
avoid some hassle. I admit that I'm guessing though.
which means everything that's on RubyForge now needs to be migrated.

Has the RAA been migrated anywhere?

I'm not trying to disagree with you. I just don't see these issues as
being so critical as you do. Projects are migrating to Github in
pretty big numbers now. Obviously some are OK with the feature
differences and aren't too worried about migrating content.

James Edward Gray II
 
T

Tiago Nogueira

Daniel Berger escreveu:
I don't see a way to submit bugs.
I don't see forums.
I don't see mailing lists.
I don't see a way to broadcast announcements.
I don't see download stats.
I don't see a way to monitor what new Ruby projects have been created.
I don't see a way to logically group different, but related, libraries
together.
I don't see a way to attach external documents.
I don't see a way to track all of the bugs and feature requests I've
submitted on other projects.
I don't see a place to paste code snippets.

Github, an example of the future? The future isn't all it's cracked up
to be apparently.

Dan
In this case ,i agree with you, dan.
- tiago
 
D

Daniel Berger

Ben said:
I think this is a *terrible* idea. The last thing we need is further
division in the community about where projects live. Don't get me
wrong, I think the spirit is right, but doing it *in this manner*
makes me uncomfortable.

I'm not sure how division in the community over where projects live
matters in any practical sense, except for Rubygems and your GEM_PATH
setting. Even then, Tom could make it so that you wouldn't need to
change anything, as he could script where the gems actually live.
It would be far better IMO to build a new RubyForge from the ground
up, and when it's reasonably feature-complete and the community
agrees, migrate over and shut the GForge instance down.

Oh, yeah? Who's gonna build it? And even _if_ someone undertook the
project, no one is going to agree on how it should look, feel and act
anyway, so it will _still_ result in division no matter how you slice it.

Regards,

Dan
 
T

Tom Copeland

I've pinged Tom. He should either join in here, or send you an
email directly.

It's great that you want to contribute to the community, but unless
this is a need that is really, really, important to you, there are
lots of other worthy projects that aren't at the level of 'would be
nice', but instead at the level of 'really, really important'. I
won't be one to judge which are which generally, but my point is there
is software out there that needs to exist for Ruby that hasn't even
been started. There is also a lot of code out there that needs to be
ported to 1.9 if we plan to move forward as a community.

I do think there is significant merit in making our central project
repository top notch, but github has really filled in the gap (at
least temporarily). There are other bigger, wider holes to be filled.


Yeah, this is a good discussion to have, and thanks to Greg for giving
me a heads up on it.

I go back and forth on this - I'd love to have RubyForge written in
Rails with a nice ActiveRecord model and a RESTful API and all that...
but, for one thing:

$ pwd
/var/www/gforge-3.0
$ find . -name "*.php" | xargs wc -l | sum | cut -f 1 -d " "
62284

For another, in my opinion, GForge isn't too bad; it's not the best,
but it's not terrible. And I don't know, when I think about rewriting
it, I start thinking that I should just read my PHP books and make any
changes that need to be made in the current language.

Porting everything to Redmine is an idea, but the thought of migrating
the current data gives me a headache, and I'd hate to lose any
features. On the other hand, like someone said many features aren't
used.

Another thing I think about that's tricky is the cutover. Maybe if
there was a way to switch things over little by little... but again,
is the implementation language really the problem? And are there
better places where that copious spare time can be spent? I dunno.

Well, anyhow, those are some noodlings on the matter,

Yours,

Tom

P.S. I might be overstating the difficulty of a rewrite. If the DB
schema was fixed (which would require lots of set_primary_key and
has_many :through, :foreign_key => blah), at least for the time when
it was being ported, it might not be too painful.
 
T

Tiago Nogueira

Tom Copeland escreveu:
Yeah, this is a good discussion to have, and thanks to Greg for giving
me a heads up on it.

I go back and forth on this - I'd love to have RubyForge written in
Rails with a nice ActiveRecord model and a RESTful API and all that...
but, for one thing:

$ pwd
/var/www/gforge-3.0
$ find . -name "*.php" | xargs wc -l | sum | cut -f 1 -d " "
62284

For another, in my opinion, GForge isn't too bad; it's not the best,
but it's not terrible. And I don't know, when I think about rewriting
it, I start thinking that I should just read my PHP books and make any
changes that need to be made in the current language.

Porting everything to Redmine is an idea, but the thought of migrating
the current data gives me a headache, and I'd hate to lose any
features. On the other hand, like someone said many features aren't
used.

Another thing I think about that's tricky is the cutover. Maybe if
there was a way to switch things over little by little... but again,
is the implementation language really the problem? And are there
better places where that copious spare time can be spent? I dunno.

Well, anyhow, those are some noodlings on the matter,

Yours,

Tom

P.S. I might be overstating the difficulty of a rewrite. If the DB
schema was fixed (which would require lots of set_primary_key and
has_many :through, :foreign_key => blah), at least for the time when
it was being ported, it might not be too painful.

Well Tom, your arguments are valid and I agree completly. I think this
subject is causing a good discussion and i propose a votation here.I
think that the hard job to rewrite will not be a problem if we make a
"union of forces" :)

-tiago
 
A

Anthony Eden

Just out of curiosity, rather than rewriting the GForge app or
modifying the PHP, why not just build a separate app that provides
only the API? That could be done in any flavor of web framework and
would be independent of the GForge code.

Sincerely,
Anthony Eden
 
T

Trans

Daniel Berger escreveu:

Dan, I think you over value some of these features -- download stats
on Rubyforge aren't very accurate, announcements would be better
handled by a dedicated mailing list, and why attach external documents
when we can just add them to our repos? Also, GitHub does have code
snippets.

Yes, some additional features would be nice. But I see no reason why
they eventually can't be added -- I'm sure the GitHub folks have plans
for the future too.

In any case, I don't think it's a good idea to think in terms of
shutting the original Rubyforge down and starting Rubyforge2 up,
rather I think it would be better to make a smooth transition. Let
people move over at their leisure. The first adopters can be the ones
who are okay with the more limited feature set.

T.
 
R

Ryan Davis

Just out of curiosity, rather than rewriting the GForge app or
modifying the PHP, why not just build a separate app that provides
only the API? That could be done in any flavor of web framework and
would be independent of the GForge code.

which is exactly what I was asking for before trans hijacked yet
another thread with his tangental mentarbations. I want to do the
simplest thing that works to improve the current situation. We're
talking a couple hundred lines of code, max.
 
T

Trans

which is exactly what I was asking for before trans hijacked yet =A0
another thread with his tangental mentarbations. I want to do the =A0
simplest thing that works to improve the current situation. We're =A0
talking a couple hundred lines of code, max.

And I did not hijack the thread. I just ask a related question.

Why didn't you answer the questions I asked directly related to what
you suggest? I'm begging you Ryan, please put your personal feelings
about me aside and have a civil conversation about this.

T.
 
T

Tom Copeland

I want to do the simplest thing that works to improve the current
situation. We're talking a couple hundred lines of code, max.

Hm, this is pretty interesting. I wonder if we could do
api.rubyforge.org, in Rails, with Group/Package/Release/ReleaseFile as
resources. Ryan, is there anything else that hoe would need? Maybe
User?

Maybe we should shift this discussion to the RubyForge support
project; I just fired up a new forum for it here:

http://rubyforge.org/forum/forum.php?forum_id=29548

Yours,

Tom
 
B

Ben Bleything

Has the RAA been migrated anywhere?

Nope, but I feel pretty strongly that we'd all be better off if it had been.
I'm not trying to disagree with you. I just don't see these issues as being
so critical as you do. Projects are migrating to Github in pretty big
numbers now. Obviously some are OK with the feature differences and aren't
too worried about migrating content.

Sure, some are... but if we're really talking about replacing
RubyForge, what about all the people who use it who aren't happy with
the feature differences? That's really the point I'm trying to make.

Ben
 
B

Ben Bleything

I'm not sure how division in the community over where projects live matters
in any practical sense, except for Rubygems and your GEM_PATH setting. Even
then, Tom could make it so that you wouldn't need to change anything, as he
could script where the gems actually live.

Those are good points. I guess it's a matter of whether or not this
theoretical RubyForge replacement would actually take over
rubyforge.org or not. If it would, then what is done with all of the
projects on RubyForge now that can't or don't want to transition?

I'm also not excited about having to go to four or five different
sites to find the library that I'm looking for. There's already
enough problem with trying to find the "canonical" gem when you've got
GitHub's source enabled... imagine if there was even one more gem
source in common usage.
Oh, yeah? Who's gonna build it? And even _if_ someone undertook the project,
no one is going to agree on how it should look, feel and act anyway, so it
will _still_ result in division no matter how you slice it.

Maybe... the division I'm concerned about is having a lot of sites
crop up that are trying to do what RubyForge does. If the idea is to
replace RubyForge with something better, my opinion is that RubyForge
as it is today should be shut down at the end of the process. No
division, just new infrastructure serving the same purpose.

Ben
 
G

Gregory Brown

Those are good points. I guess it's a matter of whether or not this
theoretical RubyForge replacement would actually take over
rubyforge.org or not. If it would, then what is done with all of the
projects on RubyForge now that can't or don't want to transition?

old.rubyforge.org ?

:)
I'm also not excited about having to go to four or five different
sites to find the library that I'm looking for. There's already
enough problem with trying to find the "canonical" gem when you've got
GitHub's source enabled... imagine if there was even one more gem
source in common usage.

Yes, I agree here.
Maybe... the division I'm concerned about is having a lot of sites
crop up that are trying to do what RubyForge does. If the idea is to
replace RubyForge with something better, my opinion is that RubyForge
as it is today should be shut down at the end of the process. No
division, just new infrastructure serving the same purpose.

But if you close support for creating new projects and make RubyForge
for archival / legacy projects only, what's the problem with that?

-greg
 
S

Simon Chiang

I know very little about this but I have always wondered if it would
be possible to write another skin for the rubyforge data. Fix the DB,
then implement features incrementally (as needed/desired) in the ruby-
based skin while keeping alive the existing program.

Any more insights, Tom?
 
T

Tom Copeland

I know very little about this but I have always wondered if it would
be possible to write another skin for the rubyforge data. Fix the DB,
then implement features incrementally (as needed/desired) in the ruby-
based skin while keeping alive the existing program.

Any more insights, Tom?

Yeah, that's a good thought. When I think about doing that, the
tricky thing in my mind is maintaining all the permissions and
privileges and such for the Ruby side so that no one can add a file to
someone else's project or whatever. But yeah, if that could be sorted
out, that sounds like a good idea.

Yours,

Tom
 
G

Gregory Brown

Yeah, that's a good thought. When I think about doing that, the tricky
thing in my mind is maintaining all the permissions and privileges and such
for the Ruby side so that no one can add a file to someone else's project or
whatever. But yeah, if that could be sorted out, that sounds like a good
idea.

Tom, could you possibly prepare a database dump that strips out the
accounts and non-public data. (If I'm creating a lot of work for you,
just let me know :)

But having a sandbox RubyForge db might help people w. this task.

-greg
 
T

Tom Copeland

Tom, could you possibly prepare a database dump that strips out the
accounts and non-public data. (If I'm creating a lot of work for you,
just let me know :)

But having a sandbox RubyForge db might help people w. this task.

That's a great idea. Let me spend some time figuring out which fields
can be safely sanitized and I'll post back here,

Yours,

tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,530
Latest member
jameswilliam1

Latest Threads

Top