On Sun, May 8, 2011 at 4:19 AM, Alex Forencich <[email protected]>wrote:

> That's all well and great, but it would be nice to have a brief
> overview of some of the more common admin functions, like deleting and
> renaming repos and projects, changing user passwords, adding/removing
> users to projects/groups, etc.  Another thing is that there are
> functions that can be called from the command line that do not appear
> in the source code anywhere since they are some sort of dynamic ruby
> function, like User.find_by_login.  A nice list of these would be
> mighty handy for people not so familiar with ruby.  I would make some
> documentation myself, but my only dabblings in ruby so far are
> directly related to un-breaking gitorious, so I am definitely far from
> an expert.
>

Alex,
Such a list would be a valuable source of information for others too, I
suspect. And probably a nice list to grab manageable tasks for someone
wanting to contribute by adding support for things that are done on a
regular basis to the web ui...

As for the "magic"/undocumented features, there are a few of the kind you
mentioned. Any ActiveRecord::Base subclass will have
find_by_<attribute_name> methods for all attributes defined in the
corresponding table. So the User class has a login attribute (=column in the
database table), and ActiveRecord creates the find_by_login, find_by_email
etc methods.

Maybe you could add a page on the wiki documenting what you find?

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to