1. 18 9月, 2006 1 次提交
  2. 17 9月, 2006 4 次提交
  3. 16 9月, 2006 2 次提交
    • J
      gitweb: Add link to "project_index" view to "project_list" page · 9d0734ae
      Jakub Narebski 提交于
      Add link to "project_index" view as [TXT] beside link to "opml" view,
      (which is marked by [OPML]) to "project_list" page.
      
      While at it add alternate links for "opml" and "project_list" to HTML
      header for "project_list" view.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9d0734ae
    • J
      gitweb: Allow for href() to be used for links without project param · a1565c44
      Jakub Narebski 提交于
      Make it possible to use href() subroutine to generate link with
      query string which does not include project ('p') parameter.
      href() used to add project=$project to its parameters, if it
      was not set (to be more exact if $params{'project'} was false).
      Now you can pass "project => undef" if you don't want for href()
      to add project parameter to query string in the generated link.
      
      Links to "project_list", "project_index" and "opml" (all related
      to list of all projects/all git repositories) doesn't need project
      parameter. Moreover "project_list" is default view (action) if
      project ('p') parameter is not set, just like "summary" is default
      view (action) if project is set; project list served as a kind
      of "home" page for gitweb instalation, and links to "project_list"
      view were done without specyfying it as an action.
      
      Convert remaining links (except $home_link and anchor links)
      to use href(); this required adding 'order => "o"' to @mapping
      in href(). This finishes consolidation of URL generation.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      a1565c44
  4. 15 9月, 2006 3 次提交
    • J
      gitweb: Add git_project_index for generating index.aux · fc2b2be0
      Jakub Narebski 提交于
      Add git_project_index, which generates index.aux file that can be used
      as a source of projects list, instead of generating projects list from
      a directory.  Using file as a source of projects list allows for some
      projects to be not present in gitweb main (project_list) page, and/or
      correct project owner info. And is probably faster.
      
      Additionally it can be used to get the list of all available repositories
      for scripts (in easily parseable form).
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      fc2b2be0
    • J
      gitweb: Do not parse refs by hand, use git-peek-remote instead · c83a77e4
      Jakub Narebski 提交于
      This is in response to Linus's work on packed refs. Additionally it
      makes gitweb work with symrefs, too.
      
      Do not parse refs by hand, using File::Find and reading individual
      heads to get hash of reference, but use git-peek-remote output
      instead.  Assume that the hash for deref (with ^{}) always follows hash
      for ref, and that we have derefs only for tag objects; this removes
      call to git_get_type (and git-cat-file -t invocation) for tags, which
      speeds "summary" and "tags" views generation, but might slow generation
      of "heads" view a bit.  For now, we do not save and use the deref hash.
      
      Remove git_get_hash_by_ref while at it, as git_get_refs_list was the
      only place it was used.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c83a77e4
    • J
      gitweb: Use File::Find::find in git_get_projects_list · c0011ff8
      Jakub Narebski 提交于
      Earlier code to get list of projects when $projects_list is a
      directory (e.g. when it is equal to $projectroot) had a hardcoded flat
      (one level) list of directories.  Allow for projects to be in
      subdirectories also for $projects_list being a directory by using
      File::Find.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c0011ff8
  5. 11 9月, 2006 2 次提交
  6. 05 9月, 2006 3 次提交
  7. 04 9月, 2006 1 次提交
  8. 01 9月, 2006 6 次提交
  9. 29 8月, 2006 7 次提交
  10. 28 8月, 2006 4 次提交
  11. 27 8月, 2006 4 次提交
  12. 26 8月, 2006 3 次提交