example-repo

Example repository!

opie.xyz/">@pablo

Restyled tables and the log pages

Pablo

Fixed a typo in the footer of the pages

Pablo

Removed duplicate declaration of main

Pablo

Updated the style of the repository

Pablo

Updated the URL to the page on academic stuff in the nav bar

Pablo

Made it so that the repo name is taken from relative path

Pablo

Made it so that the repo name is taken from relative path

Pablo

Updated the copyright year

Pablo

Fixed a bug that causes the entirety of the index page to be included inside the navigation bar

Pablo

Updated the navigation bar to fit the one from the main website

Pablo

Updated some links

Pablo

Cleaned the install script

Pablo

Fixed the path to the README page

Pablo

Fixed the path to the blob files in href attributes

Pablo

Fixed the path to the blob files in href attributes

Pablo

Fixed the permissions once again

Pablo

Set the right permissions on the blob files (again)

Pablo

Set the right permissions on the blob files

Pablo

Fixed the path to blobs

Pablo

Fixed the path to blobs

Pablo

Added debug print statments

Pablo

Added debug print statments

Pablo

Added the RDWR flag to open call

Pablo

Removed the binary files from the repo

Pablo

Made the binary targets phony

Pablo

Added debug print statments

Pablo

Added a explicit line that creates the blob dir

Pablo

Added functionality to automatically create the directories for the blob files

Pablo

Added functionality to render raw blobs as files

Pablo

Added checks for the case where the README is a binary file

Pablo

Added information on the CMark shenanigan to the README

Pablo

Added a missing space

Pablo

Added a title to the README

Pablo

Fixed the order of some declarations

Pablo

Transferred some of the work of writing to the README file to the write_markdown_readme function

Pablo

Removed the debug statment

Pablo

Fixed the debug statment

Pablo

Refactored the routine that checks wether or not a repository has a markdown README

Pablo

Made a pointer bounded and fixed a typo

Pablo

Refactored some stuff

Pablo

Added some documentation on the changes

Pablo

Formatted some code

Pablo

Fixed CMark import

Pablo

Fixed CMark import

Pablo

Fixed CMark import

Pablo

Fixed minor mistakes in the recently changed code

Pablo

Fixed typos

Pablo

Replaced the soft Pandoc bindings with the CMark library

Pablo

Added some extra (inline) documentation on the recent changes

Pablo

Made it so that stagit-index links to the fancy README if there is one

Pablo

Refactored the README

Pablo

Fixed a small error in the code and formatted stagit.c

Pablo

Made it so that Markdown READMEs are processed with Pandoc

Pablo

Updated the Makefile

Pablo

Added the .1 files back to the directory

Pablo

Updated the readmefiles and the licensefiles variables

Pablo

Removed some unnecessary files from the repo

Gitea

Initial commit

Hiltjo Posthuma

add meta viewport on stagit-index too

Hiltjo Posthuma

bump version to 0.9.5

Hiltjo Posthuma

LICENSE: update

Hiltjo Posthuma

change STAGIT_BASEURL to an -u option and also update the example script

Hiltjo Posthuma

add $STAGIT_BASEURL environment variable to make Atom links absolute

Hiltjo Posthuma

README: mention tags.xml feature

Hiltjo Posthuma

micro-optimization: fputc (function) -> putc (macro/inline function)

Hiltjo Posthuma

LICENSE: bump year

Hiltjo Posthuma

fix warning with libgit2 v0.99+, remain compatible with older versions

Oscar Benedito

add abbreviated commit hash to submodule file

Hiltjo Posthuma

add meta viewport for scaling on mobile

Hiltjo Posthuma

style.css: improve contrast

Hiltjo Posthuma

use size_t to count lines

Hiltjo Posthuma

avoid shadowed `name' global variable

Hiltjo Posthuma

refs_cmp: remove unneeded cast

Hiltjo Posthuma

use LEN() macros for arrays

Hiltjo Posthuma

bump version to 0.9.4

Hiltjo Posthuma

fix a small memleak in writeatom()

Hiltjo Posthuma

stagit-index: remove unveil support for argv

kst

fix submodule lookup in bare repos

Hiltjo Posthuma

regression: do not show unset or empty tags

Hiltjo Posthuma

refactor get reference, add another feed for tags/releases

Hiltjo Posthuma

sort branches and tags by time (descending)

Hiltjo Posthuma

bump version to 0.9.3

Hiltjo Posthuma

atom.xml: improve output format a bit

Hiltjo Posthuma

improve includes, stagit-index does not need compat.h

Hiltjo Posthuma

style.css: highlight anchor ids, useful for linking highlighting lines in a diff

Hiltjo Posthuma

small code-style white-space/newline

Hiltjo Posthuma

add OpenBSD unveil support

Hiltjo Posthuma

some README tweaks and rewording, reordering

Hiltjo Posthuma

Makefile improvements

Leonardo Taccari

README: works also on NetBSD

Hiltjo Posthuma

bump version to 0.9.2

Hiltjo Posthuma

escape HTML in paths

Hiltjo Posthuma

pedantic snprintf() improvement

Hiltjo Posthuma

fix issues in example scripts

Hiltjo Posthuma

bump version to 0.9.1

Hiltjo Posthuma

Makefile: add DOCPREFIX for installing docs in ports

Hiltjo Posthuma

change order of commits in log from most recent to old to applied order

Hiltjo Posthuma

fix compile: libgit2 0.28 changed giterr_last to git_error_last

Hiltjo Posthuma

bump version to 0.9

Hiltjo Posthuma

style: keep default browser style for links, except patch chunks

Hiltjo Posthuma

in the diffstat prefix the type of change, allow CSS styling

Hiltjo Posthuma

don't use a heuristic for renames, the content must match exactly

Hiltjo Posthuma

detect filetype changes in diff (for example a normal file to symlink)

Hiltjo Posthuma

detect more names for README and LICENSE

Hiltjo Posthuma

detect copies and renames based on the threshold of changes

Hiltjo Posthuma

simplify range check

Hiltjo Posthuma

stagit: log: indicate when using the -l option and there are more commits

Hiltjo Posthuma

assume OpenBSD 5.9+, always try pledge(2) on OpenBSD

Quentin Rameau

Clarify usage regarding -c and -l mutual exclusion

Hiltjo Posthuma

bump version to 0.8

Hiltjo Posthuma

stagit-index: pledge after git_libgit2_init

Hiltjo Posthuma

pledge after git_libgit2_init

Hiltjo Posthuma

optimization: only diff the tree when it is needed for the diffstat...

Hiltjo Posthuma

README: improve tarball generation by tag example

Hiltjo Posthuma

stagit: add -l option: limit the amount of commits for the log.html file

Hiltjo Posthuma

bump LICENSE to 2018

Hiltjo Posthuma

style.css: improve compatibility with older browsers, namely dillo

Quentin Rameau

Remove a non-portable syntax in Makefile

Hiltjo Posthuma

Makefile: bump version to 0.7.2

Hiltjo Posthuma

post-receive: fix warning in script for example when pushing deleted tags

Aaron Marcher

Sort style.css in alphabetical order

Hiltjo Posthuma

Makefile: bump version to 0.7.1

Hiltjo Posthuma

fix: add "fattr" pledge for chmod(2) for cachefile

Hiltjo Posthuma

Makefile: bump version to 0.7

Hiltjo Posthuma

Makefile: remove unused $SCRIPTS

Hiltjo Posthuma

fix file permissions for cachefile and respect umask(2)

Hiltjo Posthuma

more verbose errors: show which file failed on open

Hiltjo Posthuma

README: clarify some cons

Hiltjo Posthuma

post-receive hook: force UTF-8 locale

Hiltjo Posthuma

allow umask to handle permissions

Hiltjo Posthuma

ignore object 0000000000000000000000000000000000000000

Hiltjo Posthuma

bump version for a release soon

Hiltjo Posthuma

example_create.sh: make executable

Hiltjo Posthuma

improve example scripts, add to build (Makefile)

Hiltjo Posthuma

improve example, add initial post-receive example

Hiltjo Posthuma

README: add example for a git hook and to set the url file

Hiltjo Posthuma

README: add example to create tar.gz archives by tag

Hiltjo Posthuma

Makefile: remove TODO

Hiltjo Posthuma

remove TODO

Hiltjo Posthuma

separate getstats from getbyoid: slightly faster

Hiltjo Posthuma

for the commit Date: header use the git format-patch format

Hiltjo Posthuma

dont truncate summary length anymore

Hiltjo Posthuma

remove config.def.h: it was not used anymore

Hiltjo Posthuma

improve commitinfo_getstats

Hiltjo Posthuma

improve documentation

Hiltjo Posthuma

align line numbers to 8 spaces

Hiltjo Posthuma

writeblobhtml: minor style fix

Hiltjo Posthuma

stagit: fix rendering of first TAB in file

Hiltjo Posthuma

stagit-index: also dont assume someones <html lang> :)

Hiltjo Posthuma

stagit-index: remove Content-Language: en

Hiltjo Posthuma

writeblobhtml: fix possible uninitialized variable n when len == 0

Hiltjo Posthuma

writeblobhtml: improve file view for text-browsers

Hiltjo Posthuma

stagit-index: remove empty h1 and add bold markup to table headers

Hiltjo Posthuma

text-browser improvements

Hiltjo Posthuma

README: advertise text-browser improvements

Hiltjo Posthuma

LICENSE: bump year

Hiltjo Posthuma

browser compatibility: use numeric entity for '

Hiltjo Posthuma

writeblobhtml, make fprintf format string const

Hiltjo Posthuma

README: add instructions to build static binaries

Hiltjo Posthuma

Makefile: change () to {} consistently

Hiltjo Posthuma

fix potential leak, found by clang-analyzer

Hiltjo Posthuma

fix memory leak of commitinfo

Hiltjo Posthuma

atom.xml: add newline before EOF

Hiltjo Posthuma

fix memory leak of commitinfo->parent

Hiltjo Posthuma

fix memory leak of blob object

Hiltjo Posthuma

simplify/shorten pledge stub

Hiltjo Posthuma

reduce scope of repodir, remove unused branch parameter

Hiltjo Posthuma

bump version to 0.5

Hiltjo Posthuma

also remove language and text direction attribute from <html>

Hiltjo Posthuma

remove Content-Language: en

Hiltjo Posthuma

stagit.1: also document linking to git submodules: .gitmodules file

Hiltjo Posthuma

stagit.1: clarify README and LICENSE link creation

Hiltjo Posthuma

simplify example.sh, thanks emg for the suggestion!

Hiltjo Posthuma

update LICENSE

Hiltjo Posthuma

config.mk: remove -lc

Hiltjo Posthuma

treat an empty repo (without a HEAD) as valid

Hiltjo Posthuma

improve example: strip .git suffix

Hiltjo Posthuma

refs_cmp: simplify check, functionally the same

Hiltjo Posthuma

check if LICENSE, README and .gitmodules is a file blob

Hiltjo Posthuma

release 0.4

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

simplify, id is unused

Hiltjo Posthuma

simplify, no need for goto

Hiltjo Posthuma

improve stagit.1 documentation, reword and explain caching behaviour

Hiltjo Posthuma

consistency for messages for special-case in diffstat

Hiltjo Posthuma

fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03

Hiltjo Posthuma

fix and simplify time offset

Hiltjo Posthuma

make diffstat files an anchor (jump to delta)

Hiltjo Posthuma

fix joinpath(): use of global 'repodir', should be 'path'

Hiltjo Posthuma

fix regression from last commit

Hiltjo Posthuma

code cleanup

Hiltjo Posthuma

remove config.h, add options to stagit.c

Hiltjo Posthuma

add OpenBSD pledge(2) support using -DUSE_PLEDGE

Hiltjo Posthuma

example.sh: use cache file

Hiltjo Posthuma

style: write atom feed end in one write, kills 2 lines

Hiltjo Posthuma

cache support (-c option)

Hiltjo Posthuma

small code cleanup: no need for status variable

Hiltjo Posthuma

atom feed: use published for author commit date, updated for committer date

Hiltjo Posthuma

fix times (and timezone)

Hiltjo Posthuma

README: minor update

Hiltjo Posthuma

fix path join '/'

Hiltjo Posthuma

code cleanup + style, functionally equivalent

Hiltjo Posthuma

layout: right align lines changed count in diffstat

Hiltjo Posthuma

optimization: suppress large diffs

Hiltjo Posthuma

optimization: read stats once and remember it

Hiltjo Posthuma

example.sh: fix: sort list (regression from simplifying the script)

Hiltjo Posthuma

whoops, module is m---------

Hiltjo Posthuma

submodule support

Hiltjo Posthuma

suppress meaningless error codes when a repo can't be opened (similar to stagit-index)

Hiltjo Posthuma

improve example, remove sort hack

Hiltjo Posthuma

make submodule link black, easier to read

Hiltjo Posthuma

minor style fix

Quentin Rameau

Fix null pointer access for submodules in writefilestree

Hiltjo Posthuma

tweak style of showing submodules

z3bra

Don't fail on submodules

Hiltjo Posthuma

fix: check gmtime, can return NULL on error

Hiltjo Posthuma

resolve absolute paths to repodir, remove basename just use strrchr.

Hiltjo Posthuma

stagit-index: remove unused efopen function

Hiltjo Posthuma

fix: link to line in hunk if a patch has multiple files and hunks

sin

clean generated tarball too

Hiltjo Posthuma

Makefile: use NAME variable, suggested by Quentin

Hiltjo Posthuma

Makefile: separate CPPFLAGS, compile optimized build by default

Hiltjo Posthuma

improve make dist, thanks Quentin Rameau

Hiltjo Posthuma

premature version bumperation, 0.4 (unreleased)

FRIGN

Choose better colors for the diff page

Hiltjo Posthuma

add titles to pages, summary for commit messages, filename for files

Hiltjo Posthuma

fix right-alignment of "Files" column

lostd

Use the recommended HTML5 document type.

Hiltjo Posthuma

check path truncation

Hiltjo Posthuma

config.mk: add -D_DEFAULT_SOURCE to commented builds

Hiltjo Posthuma

atom feed: add link, move content order to bottom

Hiltjo Posthuma

make printshowfile more generic and like other functions

Hiltjo Posthuma

just use Name as first column, thanks quinq for the suggestion

Quentin Rameau

Rename “Age” column headers into “Date”

Quentin Rameau

fix file tree handling

z3bra

use 'dirname' as error message for xdirname

Quentin Rameau

fix file size byte unit suffix

Quentin Rameau

stop glibc complaining about _BSD_SOURCE being deprecated

Quentin Rameau

replace file size with line count for text files

sin

Rename Refs/branches to Refs

Hiltjo Posthuma

example.sh: fix: remove error mode, would stop if a dir was invalid

Hiltjo Posthuma

example.sh: fix go to appropriate dir

Hiltjo Posthuma

implify and restructure code

Hiltjo Posthuma

stagit-index: clarify order of the list

Hiltjo Posthuma

example.sh: add index-time.html, list sorted by time, fix reposdir '/'

Hiltjo Posthuma

premature version bumperation (0.3) for git

Hiltjo Posthuma

atom: add newline after date and before message

Hiltjo Posthuma

update man pages: document stripping of .git suffix

Hiltjo Posthuma

strip .git suffix from name

Hiltjo Posthuma

extra whitespace

sin

Update README - it also works on FreeBSD

Hiltjo Posthuma

style: vertical-align header text

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

refs: only make commit link work for tags

Hiltjo Posthuma

free obj

Hiltjo Posthuma

LICENSE: whoops its already 2016

Hiltjo Posthuma

LICENSE: add dimitris to license/shareholder file

Hiltjo Posthuma

old leftover: dont create log dir

Hiltjo Posthuma

cleanup code a bit

Hiltjo Posthuma

style.css: wrap description text, nowrap for rest

sin

Be more explicit when stripping the .git suffix

sin

No need for -D_POSIX_C_SOURCE=200809L

sin

Always use the compat functions

sin

Bring in reallocarray() from OpenBSD

Hiltjo Posthuma

use git_reference for tags and branches, sort branches also

Hiltjo Posthuma

fix cast to uintmax_t

sin

Change default MANPREFIX to be ${PREFIX}/man

sin

stagit-index: Strip per repo .git suffix from generated index

Hiltjo Posthuma

lookup commits of annotated tags

Hiltjo Posthuma

fix warning, use intmax_t %ju, thanks stateless!

Hiltjo Posthuma

premature version bumperation

Hiltjo Posthuma

improve README

Hiltjo Posthuma

improve Makefile

Hiltjo Posthuma

tiny whitespace fix

Hiltjo Posthuma

stagit-index: continue making list, but return error code

Hiltjo Posthuma

fix relpath for log

Hiltjo Posthuma

clone url is one line, strip newline

Hiltjo Posthuma

refs: fix table id for tags

Hiltjo Posthuma

refs: remove link, it may be broken for non-HEAD

Hiltjo Posthuma

make hunk line itself a link

Hiltjo Posthuma

style: darkblue for hunk like cgit, hunk line is now a link

Hiltjo Posthuma

stagit-index: owner is one line, strip newline

Hiltjo Posthuma

example.sh: make symlinks to style, icons and index by default

Hiltjo Posthuma

revert log.html to log/head.html change

Hiltjo Posthuma

fix newline after header

Hiltjo Posthuma

fix link to commit from log page

Hiltjo Posthuma

stagit: fix hunk header, thanks uggedal for reporting!

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

fix link in stagit-index, update documentation, add TODO

Hiltjo Posthuma

no log per branch

Hiltjo Posthuma

rename refs to refs/branches

Hiltjo Posthuma

refs: add link to log per branch

Hiltjo Posthuma

refs: dont make a table when there are no tags, add spacing between

Hiltjo Posthuma

add refs page (branches and tags)

Hiltjo Posthuma

improve README

Hiltjo Posthuma

add stagit.c

Hiltjo Posthuma

rename urmoms to stagit, improve documentation

Hiltjo Posthuma

nvm, dont strip .git from bare repos

Hiltjo Posthuma

add example script to make repo index and files per dir

Hiltjo Posthuma

rename EXTRAOBJ to COMPATOBJ

Hiltjo Posthuma

Makefile: link for COMPAT

Hiltjo Posthuma

add compat.h

Hiltjo Posthuma

strip suffix .git used typically for bare repos

Hiltjo Posthuma

humanreadable filemodes (code from sbase ls)

Hiltjo Posthuma

align filesize header right, minor code-style

Hiltjo Posthuma

fix dirname for glibc

Hiltjo Posthuma

allow to specify clone url, displayed in header

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

index: highlight row on mouseover

Hiltjo Posthuma

remove TODO from code, see TODO file

Hiltjo Posthuma

README: atleast libgit2 v0.22 is required (API)

Hiltjo Posthuma

compat: add strlcpy, strlcat, for glibc

Hiltjo Posthuma

fix libgit2 include, it is in the include path

Hiltjo Posthuma

remove double newline bloat

Hiltjo Posthuma

update README and improve man pages

Hiltjo Posthuma

urmoms-index: kill some lines

Hiltjo Posthuma

rewrite writefiles, now works with bare repos

Hiltjo Posthuma

README: add install and dependencies instructions

Hiltjo Posthuma

style.css: maximize contrast for text

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

add urmoms-index, initial version

Hiltjo Posthuma

writelog: remove return value, it was unused

Hiltjo Posthuma

improve fopen flag: remove b and r+ in some case

Hiltjo Posthuma

use relative url in header, escape name and description too

Hiltjo Posthuma

set diff options

Hiltjo Posthuma

free the tree

Hiltjo Posthuma

file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!

FRIGN

Add config.def.h and make summary length configurable

Eivind Uggedal

Dynamic relpath for blob pages

Eivind Uggedal

Right align numbers in tables

Eivind Uggedal

Line numbers on blob pages

Hiltjo Posthuma

fix warning

Eivind Uggedal

file page improvements

Hiltjo Posthuma

fix warning + minor style

Eivind Uggedal

Write blobs to files/

FRIGN

Make border solid

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

open repo: dont try to detect repos above the specified dir

Hiltjo Posthuma

walk revision by time and only "flat"

Eivind Uggedal

Simplify diff markup

Eivind Uggedal

Simplify style and make output more legible

Hiltjo Posthuma

also free objects for haslicense and hasreadme checks, cleanup

Eivind Uggedal

Free git objects

FRIGN

Add myself to LICENSE

FRIGN

Remove hardcoded right-align

FRIGN

Add pre

FRIGN

Refactor style.css

Hiltjo Posthuma

prettification

Hiltjo Posthuma

log: reorder time as first column

Hiltjo Posthuma

truncate message in log, shorter time format

Hiltjo Posthuma

simplify time format

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

rework code, "cache" commit data in struct commitinfo

Hiltjo Posthuma

cleanup + some better error handling

Hiltjo Posthuma

performance tweak: check if commit file exists, if so skip

Hiltjo Posthuma

logo is 32x32

Hiltjo Posthuma

style: center menu and make title smaller

Hiltjo Posthuma

fix when commit has no parent

Hiltjo Posthuma

update README with basic usage

Hiltjo Posthuma

update TODO

Hiltjo Posthuma

detect binary diff, comment index + delta header for now (broken)

Hiltjo Posthuma

dont use reverse diff

Hiltjo Posthuma

simplify + style fixes

Hiltjo Posthuma

highlight/make bold some fields

Hiltjo Posthuma

escape commit msg, dont indent it

Hiltjo Posthuma

fix relpath for files, small cleanup

Hiltjo Posthuma

fix: check readme and license before writing header

Hiltjo Posthuma

improve HTML code

Hiltjo Posthuma

make file in diff a link, make hunk and link anchor

Hiltjo Posthuma

commit: use simple shortstat

Hiltjo Posthuma

make author e-mail a link

Hiltjo Posthuma

improve Atom feed

Hiltjo Posthuma

improve header and footer

Hiltjo Posthuma

style.css: improve style, add highlight colors for diff

Hiltjo Posthuma

update README with some features and update TODO

Hiltjo Posthuma

print file as table, add link

Hiltjo Posthuma

add atom feed support + some fixes

Hiltjo Posthuma

improve log, fix warnings

Hiltjo Posthuma

add favicon

Hiltjo Posthuma

add diffstat

Hiltjo Posthuma

initial diff support, fix log link

Hiltjo Posthuma

update TODO with wanted features

Hiltjo Posthuma

read README and LICENSE from repo, escape as HTML

Hiltjo Posthuma

fix menu separator if one or both of license or readme is missing

Hiltjo Posthuma

add Makefile and config.mk

Hiltjo Posthuma

urmoms.1: initial manpage

Hiltjo Posthuma

detect name and description

Hiltjo Posthuma

add README and LICENSE file-detection

Hiltjo Posthuma

rewrite in C with libgit2, first version

Hiltjo Posthuma

improvements:

Hiltjo Posthuma

style.css: sane style

Hiltjo Posthuma

add LICENSE

Hiltjo Posthuma

improvements

Hiltjo Posthuma

add usage for urmoms, update TODO

Hiltjo Posthuma

initial insertion