Skip to content

Commit

Permalink
Incr version & update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
enchant97 committed Dec 18, 2021
1 parent 6b0c1c4 commit 5df3c05
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.0] - 2021-12-18
### Added
- Commit log count on repo view
- Relative link conversion for blobs
- Code highlighting with pygments
- Raw link when blob view not available
- Navigation breadcrumb for tree/blob navigation

### Changed
- Improved text blob rendering
- Better commit log navigation
- Split helper methods into separate files

### Fixed
- Style fixes for tree objects

## [1.3.0] - 2021-12-10
### Added
- Multi-page commit log (WIP)
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@ It has been designed to run through docker and it is recommended to run through
## Config
All configs are handled through environment variables.

| Name | Description | Default |
|:-------------------|:----------------------------|:------------|
| REPOS_PATH | Where the repos are stored | /data/repos |
| REPOS_SSH_BASE | SSH username and domain | |
| LOGIN_PASSWORD | Password to login with | |
| SECRET_KEY | Server secret key | |
| DISALLOWED_DIRS | any directory names to hide | - |
| DEFAULT_BRANCH | the default branch name | main |
| SSH_PUB_KEY_PATH | path to public ssh key | - |
| SSH_AUTH_KEYS_PATH | path to authorised ssh keys | - |
| WORKERS | Number of Hypercorn workers | 1 |
| Name | Description | Default |
|:---------------------|:------------------------------|:------------|
| REPOS_PATH | Where the repos are stored | /data/repos |
| REPOS_SSH_BASE | SSH username and domain | |
| LOGIN_PASSWORD | Password to login with | |
| SECRET_KEY | Server secret key | |
| DISALLOWED_DIRS | Any directory names to hide | - |
| DEFAULT_BRANCH | The default branch name | main |
| MAX_COMMIT_LOG_COUNT | Max number of commits to show | 20 |
| SSH_PUB_KEY_PATH | Path to public ssh key | - |
| SSH_AUTH_KEYS_PATH | Path to authorised ssh keys | - |
| WORKERS | Number of Hypercorn workers | 1 |

> DISALLOWED_DIRS could be e.g. DISALLOWED_DIRS=".ssh,my-secrets"
Expand Down
2 changes: 1 addition & 1 deletion git_web/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.4.0"

0 comments on commit 5df3c05

Please sign in to comment.