Browse Source

Boot out a 0.0.9 release

master e730cfec55bbdad5ebc93e815afb371b0aeaf29a
Luke Murphy 4 years ago
parent
commit
e730cfec55
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 41
      CHANGELOG.md
  2. 14
      distribusi/cli.py
  3. 2
      setup.py

41
CHANGELOG.md

@ -2,28 +2,33 @@
The changelog was only added at version 0.0.4.
## 0.0.9
- Fix thumbnail generation (thanks @dickreckard!)
- Adjust formatting for usage output
## 0.0.8
* Allow to ignore hidden directories with `--no-hidden`
* Files and directories are now sorted during distribusification.
* Allow to append `index.html` to the menu items with `--menu-with-index`
- Allow to ignore hidden directories with `--no-hidden`
- Files and directories are now sorted during distribusification.
- Allow to append `index.html` to the menu items with `--menu-with-index`
## 0.0.7
Let's think a bit about safety and robustness:
* distribusi only overwrites (or removes) indexes that have been created by distribusi itself
* override the above behaviour with `--force`
* `--exclude` now allows you to exclude folder names from being listed, this behaviour is not influenced by `--force`
- distribusi only overwrites (or removes) indexes that have been created by distribusi itself
- override the above behaviour with `--force`
- `--exclude` now allows you to exclude folder names from being listed, this behaviour is not influenced by `--force`
And also some refactoring and niceties:
* Distribusi only prints when called with `--verbose`
* Restyled `--verbose` output
* Generated indexes can be removed with `--remove-indexes`
* .html and .txt files are now expanded and included as snippets in the index file
* code rewrite for clarity
* HTML output is more precisely styleable
- Distribusi only prints when called with `--verbose`
- Restyled `--verbose` output
- Generated indexes can be removed with `--remove-indexes`
- .html and .txt files are now expanded and included as snippets in the index file
- code rewrite for clarity
- HTML output is more precisely styleable
## 0.0.6
@ -31,12 +36,12 @@ Woops, we missed that one.
## 0.0.5
* Use loose bounds for dependencies
* Don't call exiftools on every execution
* If `PILLOW` can't thumbnail an image it is included as a link instead
- Use loose bounds for dependencies
- Don't call exiftools on every execution
- If `PILLOW` can't thumbnail an image it is included as a link instead
## 0.0.4
* Add captions from EXIF metadata
* Custom stylesheet usage
* Ability to hide filenames
- Add captions from EXIF metadata
- Custom stylesheet usage
- Ability to hide filenames

14
distribusi/cli.py

@ -5,13 +5,15 @@ from distribusi.distribusi import distribusify
def build_argparser():
parser = argparse.ArgumentParser("""
parser = argparse.ArgumentParser(
"""
distribusi is a content management system for the web that produces static
index pages based on folders in the files system.
It is inspired by the automatic index functions featured in several popular web
servers. distribusi works by traversing the file system and directory hierarchy
to automatically list all the files in the directory, detect the file types and
providing them with relevant html classes and tags for easy styling.""")
index pages based on folders in the files system. It is inspired by the
automatic index functions featured in several popular web servers.
distribusi works by traversing the file system and directory hierarchy to
automatically list all the files in the directory, detect the file types
and providing them with relevant html classes and tags for easy styling.
""")
parser.add_argument(
'-d', '--directory', help="Select which directory to distribute", default="."

2
setup.py

@ -7,7 +7,7 @@ with open('README.md', 'r') as handle:
setup(
name='distribusi',
version='0.0.8',
version='0.0.9',
url='https://git.vvvvvvaria.org/varia/distribusi',
license='GPLv3',
author='Varia',

Loading…
Cancel
Save