Skip to content

Commit 40d361d

Browse files
committed
Added last fixes before release
1 parent cb0cd20 commit 40d361d

37 files changed

+94
-39
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@
4040
* Added rofi custom mode
4141
* Added grep matches mode (kb grep "string" -m)
4242
* Fixed important bug in grep mode
43+
* Added sync mode
4344

Diff for: PKGBUILD

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com>
2+
3+
pkgbase='kb'
4+
pkgname=('kb')
5+
_module='kb-manager'
6+
pkgver='0.1.6'
7+
pkgrel=1
8+
pkgdesc="A command line minimalist knowledge base manager"
9+
url="https://github.com/gnebbia/kb"
10+
depends=('python')
11+
makedepends=('python-setuptools')
12+
license=('GPL3')
13+
arch=('any')
14+
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
15+
sha256sums=('78e14f6eef30a4742925cc75ba9a5509c032ae42e73e26582cd7ed91794f41df')
16+
17+
build() {
18+
cd "${srcdir}/${_module}-${pkgver}"
19+
python setup.py build
20+
}
21+
22+
package() {
23+
depends+=()
24+
cd "${srcdir}/${_module}-${pkgver}"
25+
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
26+
}

Diff for: PKGBUILD_GIT

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Maintainer: Giuseppe Nebbione <nebbionegiuseppe at gmail dot com>
2+
3+
pkgname=python-kb-git
4+
_reponame="kb"
5+
pkgver=r100.b6b334f
6+
pkgrel=1
7+
pkgdesc="A command line minimalist knowledge base manager"
8+
arch=(any)
9+
url="https://github.com/gnebbia/kb.git"
10+
license=('GPL3')
11+
depends=()
12+
makedepends=('git')
13+
provides=("python-kb-git")
14+
conflicts=("python-kb-git" "python-kb" "kb")
15+
source=("git+$url")
16+
md5sums=('SKIP')
17+
18+
pkgver() {
19+
cd "$srcdir/${_reponame}"
20+
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21+
}
22+
23+
package() {
24+
cd "$srcdir/${_reponame}"
25+
python setup.py install --root="${pkgdir}/" --optimize=1
26+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27+
}
28+

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Author: gnc <[email protected]>
1515

1616
Copyright: © 2020, gnc
1717

18-
Date: 2020-10-16
18+
Date: 2021-03-26
1919

20-
Version: 0.1.5
20+
Version: 0.1.6
2121

2222

2323
## Table of Contents

Diff for: docs/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:Author: gnc <[email protected]>
44
:Copyright: © 2020, gnc.
55
:License: GPLv3 (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
6-
:Date: 2020-10-16
6+
:Date: 2021-03-26
77
:Version: 0.1.1
88

99
## Version History

Diff for: docs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Author: gnc <[email protected]>
99

1010
Copyright: © 2020, gnc
1111

12-
Date: 2020-10-16
12+
Date: 2021-03-26
1313

14-
Version: 0.1.5
14+
Version: 0.1.6
1515

1616

1717
## Purpose

Diff for: docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.1.5'
51+
version = '0.1.6'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.1.5'
53+
release = '0.1.6'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

Diff for: kb/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright 2020, Giuseppe Nebbione.
55

@@ -24,7 +24,7 @@
2424
"""
2525

2626
__title__ = 'kb'
27-
__version__ = '0.1.5'
27+
__version__ = '0.1.6'
2828
__author__ = 'gnc'
2929
__license__ = 'GPLv3'
3030
__docformat__ = 'restructuredtext en'

Diff for: kb/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/cl_parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/add.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/delete.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/edit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/erase.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/grep.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/ingest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/sync.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/update.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/commands/view.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/entities/artifact.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/filesystem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/history.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/initializer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/opener.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/printer/grep.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/printer/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/printer/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/printer/template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/styler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: kb/viewer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

Diff for: setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66

77
setup(name='kb-manager',
8-
version='0.1.5',
8+
version='0.1.6',
99
description='A minimalist knowledge base manager',
1010
keywords='kb',
1111
author='gnc',
1212
author_email='[email protected]',
1313
url='https://github.com/gnebbia/kb',
14-
download_url='https://github.com/gnebbia/kb/archive/v0.1.5.tar.gz',
14+
download_url='https://github.com/gnebbia/kb/archive/v0.1.6.tar.gz',
1515
license='GPLv3',
1616
long_description=io.open(
1717
'./docs/README.md', 'r', encoding='utf-8').read(),

0 commit comments

Comments
 (0)