mirror of
https://github.com/hanzoai/forge.git
synced 2026-10-30 15:00:39 +00:00
Storage buckets, indexer names, the bleve analyzer, the lock prefix, SSH host keys, the markdown front-matter key, the container data paths, the RPM repo id and the API security scheme all read as this product now, and app.example.ini matches the code again. The upstream maintainer list and the changelog generator config went with the release history they belonged to, and the citation comments state the fact rather than link the issue. Three inert rules turn out to have been inert because they named a module path this tree does not use: gci grouped no first-party imports under prefix(), and depguard let models/migrations import models and modules/structs. They now name github.com/hanzoai/git. The config example also documented .gitea/workflows while the code has read .hanzo/workflows for some time. The authorized_keys marker follows the delegate-hook precedent: the new name is written and the old one is still recognised, because a marker we do not know is copied through as a hand-added key and leaves a revoked key authorized. The stored user_setting key keeps its value; only a migration may change that. Co-authored-by: Hanzo Dev <[email protected]>
40 lines
963 B
Diff
40 lines
963 B
Diff
From 6e8e2a6f9efd71dbe6917816343ed8415ad696c3 Mon Sep 17 00:00:00 2001
|
|
From: 99rgosse <[email protected]>
|
|
Date: Fri, 26 Mar 2021 12:44:22 +0000
|
|
Subject: [PATCH] Update import_actions.py
|
|
|
|
---
|
|
import_actions.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/import_actions.py b/import_actions.py
|
|
index f0d72cd..7b31963 100644
|
|
--- a/import_actions.py
|
|
+++ b/import_actions.py
|
|
@@ -3,14 +3,14 @@
|
|
# git log --pretty=format:'%H,%at,%s' --date=default > /tmp/commit.log
|
|
# to get the commits logfile for a repository
|
|
|
|
-import mysql.connector as mariadb
|
|
+import psycopg2
|
|
|
|
# set the following variables to fit your need...
|
|
USERID = 1
|
|
REPOID = 1
|
|
BRANCH = "master"
|
|
|
|
-mydb = mariadb.connect(
|
|
+mydb = psycopg2.connect(
|
|
host="localhost",
|
|
user="user",
|
|
passwd="password",
|
|
@@ -31,4 +31,4 @@ with open("/tmp/commit.log") as f:
|
|
|
|
mydb.commit()
|
|
|
|
-print("actions inserted.")
|
|
\ No newline at end of file
|
|
+print("actions inserted.")
|
|
--
|
|
GitLab
|