rails_admin
https://github.com/railsadminteam/rails_admin
Ruby
RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
Gitlab::Git::Commit.find_all
Returns commits collection
Ex.
Commit.find_all(
repo,
ref: 'master',
max_count: 10,
skip: 5,
order: :date
)
+options+ is a Hash of optional arguments to git
:ref is the ref from which to begin (SHA1 or name)
:max_count is the maximum number of commits to fetch
:skip is the number of commits to skip
:order is the commits order and allowed value is :none (default), :date,
:topo, or any combination of them (in an array). Commit ordering types
are documented here:
http://www.rubydoc.info/github/libgit2/rugged/Rugged#SORT_NONE-constant)
Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/326Edit
git clone [email protected]:railsadminteam/rails_admin.git
cd rails_admin
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--Git--Commit-find_all-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::Git::Commit.find_all"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--Git--Commit-find_all-for-pr
hub pull-request
# Celebrate!