GithubHelp home page GithubHelp logo

Comments (6)

tadev avatar tadev commented on August 15, 2024

Does it list the Repos on the index page?
I had the same problem with NGinx, turned out that i only had to add a slash "/" to the url in every .twig file

from gitlist.

gregrobson avatar gregrobson commented on August 15, 2024

Yes, the repos do list on the home page. If I manually insert the "index.php" into the URL I get (e.g. http://localhost/gitlist/index.php/myfoo/ ) it will display the repo's files.

However... if I use the URL format from the GitList demo site to make (what I imagine is) the correct file URL such as
http://localhost/gitlist/index.php/myfoo/blob/master/foo.txt/
I get "Oops! fatal: Path ''foo.txt'' does not exist in 'master'"
when I know it does exist because it's in the listing of the repo's files.

I also get "Oops! 'wc' is not recognized as an internal or external command, operable program or batch file."
when I put in this URL http://localhost/gitlist/index.php/myfoo/commits/master - but I see that's mentioned here: #56

This is mildly annoying, because of all the PHP Git browsers I have seen, this looked the best in terms of interface and usage :-/

from gitlist.

zephor avatar zephor commented on August 15, 2024

In regards to the "Oops! fatal: Path ''foo.txt'' does not exist in 'master'" problem, I encountered the same thing and I think it's something to do with how windows interprets single quotes vs double quotes.

I ran the git commands straight in command prompt:

git ls-tree -l master: "foo" -> returned the tree under the folder foo

git ls-tree -l master 'foo' -> returned nothing

I managed to get the tree working by switching single quotes and double quotes in the treeController.php and blobController.php

$files = $repository->getTree("$branch:'$tree'/");
to
$files = $repository->getTree($branch.':"'.$tree.'/"');

and

$blob = $repository->getBlob("$branch:'$file'");
to
$blob = $repository->getBlob($branch.':"'.$file.'"');

Not sure what effect this will have on Unix environments though

from gitlist.

gregrobson avatar gregrobson commented on August 15, 2024

Hmmm, just tried a fresh clone, it faired even worse. Started afresh with master with the the "vendor" folder from 0.1 as it couldn't find those files. Everything worked apart from finding the commits.

I'm thinking I might try another product until this one matures... I'm pretty confident that this one will become a big player though for it's simple interface. Still early days for Git software...

from gitlist.

crysta1clear avatar crysta1clear commented on August 15, 2024

Why has this been closed when it is still an issue in 2014?
http://gitserver/html/gitlist/ displays a list of Git repositories nicely for me.

Then when I click on one, e.g. test.git I get a message
Not Found
The requested URL /html/gitlist/test.git/ was not found on this server.

Gitlist appears to correctly find the git directory (/git) to list the repositories,
but then suddenly starts thinking for some reason that it actually contains them.

For information, my machine 'gitserver' is a Ubuntu LAMP server, and so the problem appears to
be with Gitlist (or my configuration thereof) and not to be windows specific.

This seems to be a common problem, see also
https://groups.google.com/forum/#!topic/gitlist/2H2XlZwPfxU
http://stackoverflow.com/questions/14166702/gitlist-cannot-get-anything-beyond-repository-list

from gitlist.

klaussilveira avatar klaussilveira commented on August 15, 2024

Since you're on LAMP, are you sure Apache is reading the .htaccess file and has mod_rewrite enabled?

from gitlist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.