Skip to content

Commit

Permalink
4.0.0 (#113)
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Kumar <[email protected]>
  • Loading branch information
kyteinsky authored Dec 17, 2024
1 parent 177f4f1 commit 3a53448
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ help:
#.PHONY: build-push
#build-push:
# docker login ghcr.io
# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.0-beta5 --tag ghcr.io/nextcloud/context_chat_backend:latest .
# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.0 --tag ghcr.io/nextcloud/context_chat_backend:latest .

.PHONY: run
run:
Expand All @@ -34,5 +34,5 @@ run:
register:
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister context_chat_backend --silent || true
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register context_chat_backend manual_install --json-info \
"{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta5\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
"{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
--force-scopes --wait-finish
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ If nextcloud is inside a container, `--add-host` option would be required by you
**2. Register the app using the deploy daemon (be mindful of the port number and the app's version):**
```
occ app_api:app:register context_chat_backend manual_install --json-info \
"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta5\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
--force-scopes --wait-finish
```
The command to unregister is given below (force is used to also remove apps whose container has been removed)
Expand Down Expand Up @@ -226,7 +226,7 @@ sudo -u www-data php occ app_api:app:register \
--json-info "{\"appid\":\"context_chat_backend\",\
\"name\":\"Context Chat Backend\",\
\"daemon_config_name\":\"manual_install\",\
\"version\":\"4.0.0-beta5\",\
\"version\":\"4.0.0\",\
\"secret\":\"12345\",\
\"port\":10034,\
\"scopes\":[],\
Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Install the given apps for Context Chat to work as desired **in the given order*
Setup background job workers as described here: https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html#improve-ai-task-pickup-speed
]]></description>
<version>4.0.0-beta5</version>
<version>4.0.0</version>
<licence>agpl</licence>
<author mail="[email protected]" homepage="https://github.com/kyteinsky">Anupam Kumar</author>
<namespace>Context Chat</namespace>
Expand All @@ -35,7 +35,7 @@ Setup background job workers as described here: https://docs.nextcloud.com/serve
<docker-install>
<registry>ghcr.io</registry>
<image>nextcloud/context_chat_backend</image>
<image-tag>4.0.0-beta5</image-tag>
<image-tag>4.0.0</image-tag>
</docker-install>
</external-app>
</info>
14 changes: 14 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.0.0 - 2024-12-17

### Changed
- database schema change for no data duplication (#108) @kyteinsky
- remove support for Chroma DB and Weaviate (#108) @kyteinsky

### Fixed
- consider delete successful if doc was not in db (#107) @kyteinsky
- catch exceptions in update_access loop (#109) @kyteinsky

### Added
- add reuse compliance (#111) @AndyScherzinger


## 4.0.0-beta5 - 2024-11-20

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ AA_VERSION=2.7.0
APP_SECRET=12345
APP_ID=context_chat_backend
APP_DISPLAY_NAME=Context Chat Backend
APP_VERSION=4.0.0-beta5
APP_VERSION=4.0.0
APP_HOST=0.0.0.0
APP_PORT=10034
APP_PERSISTENT_STORAGE=persistent_storage
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
[project]
name = "context_chat_backend"
version = "4.0.0-beta5"
version = "4.0.0"
requires-python = ">=3.11"
authors = [
{ name = "Anupam Kumar", email = "[email protected]" }
Expand Down

0 comments on commit 3a53448

Please sign in to comment.