#3901 queryOpts for queryHistory
Closed 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue3762  into  master

file modified
+1 -1
@@ -9,7 +9,7 @@ 

  ifeq ($(PYVER_MAJOR),2)

  	SUBDIRS = builder koji cli plugins vm

  else

- 	SUBDIRS = kojihub builder koji cli util www plugins vm

+ 	SUBDIRS = kojihub builder koji cli util www plugins vm schemas

  endif

  

  

file added
+1
@@ -0,0 +1,1 @@ 

+ SQL schema and updates were moved to ../schemas (/usr/share/koji)

file modified
+2 -1
@@ -428,7 +428,7 @@ 

  popd

  %endif

  %if 0%{py3_support} > 1

- for D in kojihub builder plugins util www vm ; do

+ for D in kojihub builder plugins util www vm schemas ; do

      pushd $D

      make DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} install

      popd
@@ -516,6 +516,7 @@ 

  %{python3_sitelib}/%{name}

  %{python3_sitelib}/%{name}-%{version}.*-info

  %{python3_sitelib}/koji_cli

+ %{_datadir}/koji/*.sql

  %endif

  

  %if 0%{py2_support}

file added
+18
@@ -0,0 +1,18 @@ 

+ BUILDDIR      = build

+ SQLFILES = $(wildcard *.sql)

+ SQLDIR = /usr/share/koji

+ 

+ clean:

+ 	rm -rf $(BUILDDIR)/*

+ 

+ install:

+ 	@if [ "$(DESTDIR)" = "" ]; then \

+ 		echo " "; \

+ 		echo "ERROR: A destdir is required"; \

+ 		exit 1; \

+ 	fi

+ 

+ 	mkdir -p $(DESTDIR)/$(SQLDIR)

+ 	for p in $(SQLFILES) ; do \

+ 		install -p -m 644 $$p $(DESTDIR)/$(SQLDIR)/$$p; \

+ 	done

schemas/schema-update-cgen.sql docs/schema-update-cgen.sql
file renamed
file was moved with no change to the file
schemas/schema-update-cgen2.sql docs/schema-update-cgen2.sql
file renamed
file was moved with no change to the file
schemas/schema-update-dist-repos.sql docs/schema-update-dist-repos.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.10-1.11.sql docs/schema-upgrade-1.10-1.11.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.11-1.12.sql docs/schema-upgrade-1.11-1.12.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.12-1.13.sql docs/schema-upgrade-1.12-1.13.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.13-1.14.sql docs/schema-upgrade-1.13-1.14.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.14-1.15.sql docs/schema-upgrade-1.14-1.15.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.15-1.16.sql docs/schema-upgrade-1.15-1.16.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.16-1.17.sql docs/schema-upgrade-1.16-1.17.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.17-1.18.sql docs/schema-upgrade-1.17-1.18.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.18-1.19.sql docs/schema-upgrade-1.18-1.19.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.19-1.20.sql docs/schema-upgrade-1.19-1.20.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.2-1.3.sql docs/schema-upgrade-1.2-1.3.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.20-1.21.sql docs/schema-upgrade-1.20-1.21.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.21-1.22.sql docs/schema-upgrade-1.21-1.22.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.22-1.23.sql docs/schema-upgrade-1.22-1.23.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.23-1.24.sql docs/schema-upgrade-1.23-1.24.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.24-1.25.sql docs/schema-upgrade-1.24-1.25.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.25-1.26.sql docs/schema-upgrade-1.25-1.26.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.27-1.28.sql docs/schema-upgrade-1.27-1.28.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.28-1.29.sql docs/schema-upgrade-1.28-1.29.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.29-1.30.sql docs/schema-upgrade-1.29-1.30.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.3-1.4.sql docs/schema-upgrade-1.3-1.4.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.30-1.31.sql docs/schema-upgrade-1.30-1.31.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.31-1.32.sql docs/schema-upgrade-1.31-1.32.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.32-1.33.sql docs/schema-upgrade-1.32-1.33.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.4-1.5.sql docs/schema-upgrade-1.4-1.5.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.6-1.7.sql docs/schema-upgrade-1.6-1.7.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.7-1.8.sql docs/schema-upgrade-1.7-1.8.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.8-1.9.sql docs/schema-upgrade-1.8-1.9.sql
file renamed
file was moved with no change to the file
schemas/schema-upgrade-1.9-1.10.sql docs/schema-upgrade-1.9-1.10.sql
file renamed
file was moved with no change to the file
schemas/schema.sql docs/schema.sql
file renamed
file was moved with no change to the file

rebased onto 6dee30e

2 years ago

Pull-Request has been closed by tkopecek

2 years ago
Metadata
Changes Summary 37
+1 -1
file changed
Makefile
+1
file added
docs/README.schema
+2 -1
file changed
koji.spec
+18
file added
schemas/Makefile
+0 -0
file renamed
docs/schema-update-cgen.sql
schemas/schema-update-cgen.sql
+0 -0
file renamed
docs/schema-update-cgen2.sql
schemas/schema-update-cgen2.sql
+0 -0
file renamed
docs/schema-update-dist-repos.sql
schemas/schema-update-dist-repos.sql
+0 -0
file renamed
docs/schema-upgrade-1.10-1.11.sql
schemas/schema-upgrade-1.10-1.11.sql
+0 -0
file renamed
docs/schema-upgrade-1.11-1.12.sql
schemas/schema-upgrade-1.11-1.12.sql
+0 -0
file renamed
docs/schema-upgrade-1.12-1.13.sql
schemas/schema-upgrade-1.12-1.13.sql
+0 -0
file renamed
docs/schema-upgrade-1.13-1.14.sql
schemas/schema-upgrade-1.13-1.14.sql
+0 -0
file renamed
docs/schema-upgrade-1.14-1.15.sql
schemas/schema-upgrade-1.14-1.15.sql
+0 -0
file renamed
docs/schema-upgrade-1.15-1.16.sql
schemas/schema-upgrade-1.15-1.16.sql
+0 -0
file renamed
docs/schema-upgrade-1.16-1.17.sql
schemas/schema-upgrade-1.16-1.17.sql
+0 -0
file renamed
docs/schema-upgrade-1.17-1.18.sql
schemas/schema-upgrade-1.17-1.18.sql
+0 -0
file renamed
docs/schema-upgrade-1.18-1.19.sql
schemas/schema-upgrade-1.18-1.19.sql
+0 -0
file renamed
docs/schema-upgrade-1.19-1.20.sql
schemas/schema-upgrade-1.19-1.20.sql
+0 -0
file renamed
docs/schema-upgrade-1.2-1.3.sql
schemas/schema-upgrade-1.2-1.3.sql
+0 -0
file renamed
docs/schema-upgrade-1.20-1.21.sql
schemas/schema-upgrade-1.20-1.21.sql
+0 -0
file renamed
docs/schema-upgrade-1.21-1.22.sql
schemas/schema-upgrade-1.21-1.22.sql
+0 -0
file renamed
docs/schema-upgrade-1.22-1.23.sql
schemas/schema-upgrade-1.22-1.23.sql
+0 -0
file renamed
docs/schema-upgrade-1.23-1.24.sql
schemas/schema-upgrade-1.23-1.24.sql
+0 -0
file renamed
docs/schema-upgrade-1.24-1.25.sql
schemas/schema-upgrade-1.24-1.25.sql
+0 -0
file renamed
docs/schema-upgrade-1.25-1.26.sql
schemas/schema-upgrade-1.25-1.26.sql
+0 -0
file renamed
docs/schema-upgrade-1.27-1.28.sql
schemas/schema-upgrade-1.27-1.28.sql
+0 -0
file renamed
docs/schema-upgrade-1.28-1.29.sql
schemas/schema-upgrade-1.28-1.29.sql
+0 -0
file renamed
docs/schema-upgrade-1.29-1.30.sql
schemas/schema-upgrade-1.29-1.30.sql
+0 -0
file renamed
docs/schema-upgrade-1.3-1.4.sql
schemas/schema-upgrade-1.3-1.4.sql
+0 -0
file renamed
docs/schema-upgrade-1.30-1.31.sql
schemas/schema-upgrade-1.30-1.31.sql
+0 -0
file renamed
docs/schema-upgrade-1.31-1.32.sql
schemas/schema-upgrade-1.31-1.32.sql
+0 -0
file renamed
docs/schema-upgrade-1.32-1.33.sql
schemas/schema-upgrade-1.32-1.33.sql
+0 -0
file renamed
docs/schema-upgrade-1.4-1.5.sql
schemas/schema-upgrade-1.4-1.5.sql
+0 -0
file renamed
docs/schema-upgrade-1.6-1.7.sql
schemas/schema-upgrade-1.6-1.7.sql
+0 -0
file renamed
docs/schema-upgrade-1.7-1.8.sql
schemas/schema-upgrade-1.7-1.8.sql
+0 -0
file renamed
docs/schema-upgrade-1.8-1.9.sql
schemas/schema-upgrade-1.8-1.9.sql
+0 -0
file renamed
docs/schema-upgrade-1.9-1.10.sql
schemas/schema-upgrade-1.9-1.10.sql
+0 -0
file renamed
docs/schema.sql
schemas/schema.sql