Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.PHONY: push-all, build, publish
.PHONY: push-all build publish run setup

VERSION=1.0.2
VENV ?= venv
PYTHON ?= python3.12
VENV_PYTHON := $(VENV)/bin/python
VLEI_SERVER := $(VENV)/bin/vLEI-server

VERSION=1.0.3
IMAGE_NAME=gleif/vlei
LATEST_TAG=$(IMAGE_NAME):latest
VERSION_TAG=$(IMAGE_NAME):$(VERSION)
Expand All @@ -19,3 +24,11 @@ build:
publish:
@docker push $(IMAGE_NAME):latest
@docker push $(IMAGE_NAME):$(VERSION)

setup:
$(PYTHON) -m venv $(VENV)
$(VENV_PYTHON) -m pip install --upgrade pip
$(VENV_PYTHON) -m pip install -e .

run:
$(VLEI_SERVER) -s ./schema/acdc -c ./samples/acdc -o ./samples/oobis/.well-known/keri/oobi
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

setup(
name='vlei',
version='1.0.2', # also change in src/vlei/__init__.py
version='1.0.3', # also change in src/vlei/__init__.py
license='Apache Software License 2.0',
description='Verifiable Legal Entity Identifier',
long_description=long_description,
Expand Down Expand Up @@ -75,7 +75,7 @@
python_requires='>=3.12.6',
install_requires=[
'hio>=0.6.14,<0.7.0',
'keri>=1.2.12',
'keri>=1.2.13,<1.3.0',
'falcon>=4.0.2',
'multicommand>=1.0.0'
],
Expand Down
2 changes: 1 addition & 1 deletion src/vlei/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-

__version__ = '1.0.2' # also change in setup.py
__version__ = '1.0.3' # also change in setup.py

4 changes: 2 additions & 2 deletions src/vlei/app/shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def handle_sigint(self, signum, frame):
logger.info(f"Received SIGINT, throwing interrupt to initiate graceful shutdown.")
raise KeyboardInterrupt()

def enter(self):
def enter(self, *, temp=None):
"""
Sets up signal handlers.
Lifecycle method called once when the Doist running this Doer enters the context for this Doer.
Expand All @@ -56,4 +56,4 @@ def exit(self):
Exits the Doist loop.
Lifecycle method called once when the Doist running this Doer exits the context for this Doer.
"""
logger.info(f"Graceful shutdown finished")
logger.info(f"Graceful shutdown finished")
Loading