Giter VIP home page Giter VIP logo

goit's People

Contributors

baris avatar bukzor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ulkem bukzor ymilki

goit's Issues

encoding confusion

Loading up the index.html results in a search box with placeholder text of "Search…". This is a result of encoding "Search…" with utf8, and then decoding it with cp1252 (the "latin1" of the web).

If I'm not mistaken, all that is needed is a meta-content-type header that specifies utf8 encoding.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

More drilldown

Currently I can't drill down into the repositories and changes as much as I'd want.

The simplest implementation would simply link back to gitweb at some point in the hyperlink tree.

GitwebUrl doesn't use correct port

The reported GitwebUrl assumes that the service will always be on port 80. This is untrue. The -port input should be used to append a :$port to the domain name when the port is not 80.

Current behavior:

$ ./goit 
Usage of ./goit:
  -excludeRegexp="": Exlude paths from being listed
  -gitwebServer="localhost": Gitweb server's hostname
  -port="8080": Port to listen from
  -runServer=false: Run web server or just print repositories

$ ./goit  .
{"Name":"goit","Path":"/home/buck/trees/theirs/goit","RelativePath":"home/buck/trees/theirs/goit","GitwebUrl":"https://localhost?p=home/buck/trees/theirs/goit","Type":1}

Correct behavior:

$ ./goit  .
{"Name":"goit","Path":"/home/buck/trees/theirs/goit","RelativePath":"home/buck/trees/theirs/goit","GitwebUrl":"https://localhost:8080?p=home/buck/trees/theirs/goit","Type":1}

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.