Merge pull request #85 from jedie/release-v0.13

Release as v0.13.0
pull/86/head v0.13.0
Jens Diemer 2022-01-01 14:24:12 +01:00 zatwierdzone przez GitHub
commit 8856b06447
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
12 zmienionych plików z 38 dodań i 17 usunięć

Wyświetl plik

@ -174,8 +174,10 @@ Files are separated into: "/src/" and "/development/"
== history
* [[https://github.com/jedie/PyInventory/compare/v0.12.0...master|compare v0.12.0...master]] **dev**
* [[https://github.com/jedie/PyInventory/compare/v0.13.0...master|compare v0.13.0...master]] **dev**
** tbc
* [[https://github.com/jedie/PyInventory/compare/v0.12.0...v0.13.0|v0.13.0 - 01.01.2022]]
** [[https://github.com/jedie/PyInventory/pull/83|Update requirements, e.g.: Django v3.2]]
* [[https://github.com/jedie/PyInventory/compare/v0.11.0...v0.12.0|v0.12.0 - 22.11.2021]]
** NEW: [[https://github.com/jedie/PyInventory/pull/78|Protect user to overwrite newer Item/Memo/Location with a older one (e.g.: in other browser TAB)]]
** update requirements

Wyświetl plik

@ -241,10 +241,14 @@ Files are separated into: "/src/" and "/development/"
history
-------
* `compare v0.12.0...master <https://github.com/jedie/PyInventory/compare/v0.12.0...master>`_ **dev**
* `compare v0.13.0...master <https://github.com/jedie/PyInventory/compare/v0.13.0...master>`_ **dev**
* tbc
* `v0.13.0 - 01.01.2022 <https://github.com/jedie/PyInventory/compare/v0.12.0...v0.13.0>`_
* `Update requirements, e.g.: Django v3.2 <https://github.com/jedie/PyInventory/pull/83>`_
* `v0.12.0 - 22.11.2021 <https://github.com/jedie/PyInventory/compare/v0.11.0...v0.12.0>`_
* NEW: `Protect user to overwrite newer Item/Memo/Location with a older one (e.g.: in other browser TAB) <https://github.com/jedie/PyInventory/pull/78>`_
@ -446,4 +450,4 @@ donation
------------
``Note: this file is generated from README.creole 2021-11-24 17:37:38 with "python-creole"``
``Note: this file is generated from README.creole 2022-01-01 14:21:31 with "python-creole"``

Wyświetl plik

@ -1,3 +1,3 @@
export PROJECT_NAME=pyinventory
export PROJECT_PACKAGE_NAME=pyinventory
export PROJECT_VERSION=0.12.0
export PROJECT_VERSION=0.13.0

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry]
name = "PyInventory"
version = "0.12.0"
version = "0.13.0"
description = "Web based management to catalog things including state and location etc. using Python/Django."
authors = ["JensDiemer <git@jensdiemer.de>"]
homepage = "https://github.com/jedie/PyInventory"

Wyświetl plik

@ -4,4 +4,4 @@
:license: GNU GPL v3 or above, see LICENSE for more details.
"""
__version__ = "0.12.0"
__version__ = "0.13.0"

Wyświetl plik

@ -184,6 +184,21 @@ class PyInventoryCommandSet(DevShellBaseCommandSet):
print(f'updated: {po_file_path}')
def do_update_test_snapshots(self, statement: cmd2.Statement):
"""
Update all test snapshot files by run tests with RAISE_SNAPSHOT_ERRORS=0
"""
verbose_check_call(
'pytest',
*statement.arg_list,
cwd=self.config.base_path,
exit_on_error=True,
extra_env={
# https://github.com/boxine/bx_py_utils#notes-about-snapshot
'RAISE_SNAPSHOT_ERRORS': '0'
}
)
class DevShellCommandSet(OriginDevShellCommandSet):

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Select Item to change | PyInventory v0.12.0
Select Item to change | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>
@ -43,7 +43,7 @@
<div id="branding">
<h1 id="site-name">
<a href="/admin/">
PyInventory v0.12.0
PyInventory v0.13.0
</a>
</h1>
</div>

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Select Item to change | PyInventory v0.12.0
Select Item to change | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>
@ -43,7 +43,7 @@
<div id="branding">
<h1 id="site-name">
<a href="/admin/">
PyInventory v0.12.0
PyInventory v0.13.0
</a>
</h1>
</div>

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Log in | PyInventory v0.12.0
Log in | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Add Item | PyInventory v0.12.0
Add Item | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>
@ -84,7 +84,7 @@
<div id="branding">
<h1 id="site-name">
<a href="/admin/">
PyInventory v0.12.0
PyInventory v0.13.0
</a>
</h1>
</div>

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Change Item | PyInventory v0.12.0
Change Item | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>
@ -84,7 +84,7 @@
<div id="branding">
<h1 id="site-name">
<a href="/admin/">
PyInventory v0.12.0
PyInventory v0.13.0
</a>
</h1>
</div>

Wyświetl plik

@ -2,7 +2,7 @@
<html dir="ltr" lang="en">
<head>
<title>
Add Memo | PyInventory v0.12.0
Add Memo | PyInventory v0.13.0
</title>
<link href="/static/admin/css/base.css" rel="stylesheet" type="text/css"/>
<link href="/static/admin/css/nav_sidebar.css" rel="stylesheet" type="text/css"/>
@ -80,7 +80,7 @@
<div id="branding">
<h1 id="site-name">
<a href="/admin/">
PyInventory v0.12.0
PyInventory v0.13.0
</a>
</h1>
</div>