2 filters = @filters + [["owner_uuid", "=", current_user.uuid]]
3 example = Repository.all.order("name ASC").filter(filters).limit(1).results.first
4 example = Repository.all.order("name ASC").limit(1).results.first if !example
10 Sample git quick start:
14 git clone <%= example.push_url %> <%= example.name unless example.push_url.match(/:(\S+)\.git$/).andand[1] == example.name %>
15 cd <%= example.name %>
17 git add the/files/you/changed
26 <%= link_to raw('Arvados Docs → User Guide → SSH access'),
27 "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
28 target: "_blank"%> and
29 <%= link_to raw('Arvados Docs → User Guide → Writing a Crunch
31 "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html",