Skip to content

Commit

Permalink
Added last fixes before release
Browse files Browse the repository at this point in the history
  • Loading branch information
gnebbia committed Mar 26, 2021
1 parent cb0cd20 commit 40d361d
Show file tree
Hide file tree
Showing 37 changed files with 94 additions and 39 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -40,4 +40,5 @@
* Added rofi custom mode
* Added grep matches mode (kb grep "string" -m)
* Fixed important bug in grep mode
* Added sync mode

26 changes: 26 additions & 0 deletions PKGBUILD
@@ -0,0 +1,26 @@
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com>

pkgbase='kb'
pkgname=('kb')
_module='kb-manager'
pkgver='0.1.6'
pkgrel=1
pkgdesc="A command line minimalist knowledge base manager"
url="https://github.com/gnebbia/kb"
depends=('python')
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('78e14f6eef30a4742925cc75ba9a5509c032ae42e73e26582cd7ed91794f41df')

build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}

package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
28 changes: 28 additions & 0 deletions PKGBUILD_GIT
@@ -0,0 +1,28 @@
# Maintainer: Giuseppe Nebbione <nebbionegiuseppe at gmail dot com>

pkgname=python-kb-git
_reponame="kb"
pkgver=r100.b6b334f
pkgrel=1
pkgdesc="A command line minimalist knowledge base manager"
arch=(any)
url="https://github.com/gnebbia/kb.git"
license=('GPL3')
depends=()
makedepends=('git')
provides=("python-kb-git")
conflicts=("python-kb-git" "python-kb" "kb")
source=("git+$url")
md5sums=('SKIP')

pkgver() {
cd "$srcdir/${_reponame}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
cd "$srcdir/${_reponame}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -15,9 +15,9 @@ Author: gnc <nebbionegiuseppe@gmail.com>

Copyright: © 2020, gnc

Date: 2020-10-16
Date: 2021-03-26

Version: 0.1.5
Version: 0.1.6


## Table of Contents
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Expand Up @@ -3,7 +3,7 @@
:Author: gnc <nebbionegiuseppe@gmail.com>
:Copyright: © 2020, gnc.
:License: GPLv3 (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2020-10-16
:Date: 2021-03-26
:Version: 0.1.1

## Version History
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Expand Up @@ -9,9 +9,9 @@ Author: gnc <nebbionegiuseppe@gmail.com>

Copyright: © 2020, gnc

Date: 2020-10-16
Date: 2021-03-26

Version: 0.1.5
Version: 0.1.6


## Purpose
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1.5'
version = '0.1.6'
# The full version, including alpha/beta/rc tags.
release = '0.1.5'
release = '0.1.6'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions kb/__init__.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright 2020, Giuseppe Nebbione.

Expand All @@ -24,7 +24,7 @@
"""

__title__ = 'kb'
__version__ = '0.1.5'
__version__ = '0.1.6'
__author__ = 'gnc'
__license__ = 'GPLv3'
__docformat__ = 'restructuredtext en'
Expand Down
2 changes: 1 addition & 1 deletion kb/__main__.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/cl_parser.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/add.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/delete.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/edit.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/erase.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/export.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/grep.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/ingest.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/search.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/sync.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/template.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/update.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/commands/view.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/config.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/db.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/entities/artifact.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/filesystem.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/history.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/initializer.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/main.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/opener.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/printer/grep.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/printer/search.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/printer/style.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/printer/template.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/styler.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
2 changes: 1 addition & 1 deletion kb/viewer.py
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
# kb v0.1.5
# kb v0.1.6
# A knowledge base organizer
# Copyright © 2020, gnc.
# See /LICENSE for licensing information.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -5,13 +5,13 @@


setup(name='kb-manager',
version='0.1.5',
version='0.1.6',
description='A minimalist knowledge base manager',
keywords='kb',
author='gnc',
author_email='nebbionegiuseppe@gmail.com',
url='https://github.com/gnebbia/kb',
download_url='https://github.com/gnebbia/kb/archive/v0.1.5.tar.gz',
download_url='https://github.com/gnebbia/kb/archive/v0.1.6.tar.gz',
license='GPLv3',
long_description=io.open(
'./docs/README.md', 'r', encoding='utf-8').read(),
Expand Down

0 comments on commit 40d361d

Please sign in to comment.