Comments (6)
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.
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.
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.
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.
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.
Since you're on LAMP, are you sure Apache is reading the .htaccess file and has mod_rewrite enabled?
from gitlist.
Related Issues (20)
- Better support for repository depth
- Php compatability HOT 1
- Gave up on installing this... HOT 3
- Search for repository in subdirectories HOT 1
- Uncaught Error: Cannot assign string to property Symfony\Component\HttpKernel\Debug\FileLinkFormatter::$fileLinkFormat of type array|false HOT 2
- 404 on all assets HOT 11
- Hello, I use Gitlist 1.1.1 and I want to know if I respect the BSD-2-Clause HOT 2
- git clone over https does not work
- Support needed on installing HOT 3
- git_path from config.yml not used
- Can't create development environment HOT 1
- Can't list repositories HOT 2
- PHP 8.2 => 500 Internal Server Error, setLastErrors must be of type array, bool given HOT 3
- default_repository_dir from config.yml don't work HOT 2
- public/.htaccess is missing HOT 2
- automacao
- Openening a file containing the name of a branch or tag throws a CommandException
- Display Issue and Content Not Found Problem HOT 1
- Problem when adding gits
- pump_local_HMI_X2_V3.0.git HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlist.