101companies / 101rails

101wiki web front-end written Rails and backbone.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

101repo tab can be misleading

rlaemmel opened this issue · comments

Consider this context, for example:

image

Someone may expect to go the 101repo.
I think 101repo should only be shown if the particular page was represented in the 101repo.
Otherwhise, one should be taken to the dialog for entering a folder and the page should clearly link to
http://101companies.org/wiki/101repo

Here is just what I replied to a person with a related inquiry:

The "101repo" tab is on every page of the wiki and would take you to a repo location, if that particular page has designated content in the repo. Typically, only contribution pages have a repo location.

For instance, this one has:

http://101companies.org/wiki/Contribution:pyjson

If you want to access the repo as a whole, you might prefer doing this through github -- only the challenge is that the contributions are distributed over many physical repos. These are some important ones:

https://github.com/101companies/101repo
https://github.com/101companies/101simplejava
https://github.com/101companies/101haskell

We shall reenable a convenient zip download for all contributions.

In fact, the zip with all code appears to be this:

http://data.101companies.org/zips/101repo.zip

I am going to link this URL on the wiki/101repo page.

The rest of the "issue" remains valid.

commented

i changed it so that it only shows 101repo if it exists or the user is logged in and can change the link, is that what you wanted?

I see. Yes, that is better in my opinion, but I guess Ralf has to answer this :) .