Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Sep 21, 2023
1 parent dfd3d7b commit 5c8811d
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ jobs:
qgis-plugin-ci
release ${{ env.RELEASE_VERSION }}
--github-token ${{ secrets.BOT_HUB_TOKEN }}
--transifex-token ${{ secrets.TRANSIFEX_TOKEN }}
--osgeo-username ${{ secrets.OSGEO_USERNAME }}
--osgeo-password ${{ secrets.OSGEO_PASSWORD }}
--create-plugin-repo
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

## Unreleased

## 1.0.0 - 2023-09-21

* Première version de l'extension avec la structure de la base de données
4 changes: 2 additions & 2 deletions netads/install/sql/netads/10_FUNCTION.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/20_TABLE_SEQUENCE_DEFAULT.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/30_VIEW.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/40_INDEX.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/50_TRIGGER.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/60_CONSTRAINT.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions netads/install/sql/netads/70_COMMENT.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BEGIN;
-- PostgreSQL database dump
--

-- Dumped from database version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-1.pgdg110+1)
-- Dumped from database version 15.4 (Debian 15.4-2.pgdg110+1)
-- Dumped by pg_dump version 15.4 (Debian 15.4-2.pgdg110+1)

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
5 changes: 3 additions & 2 deletions netads/processing_netads/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from qgis.PyQt.QtGui import QIcon

from netads.processing_netads.data.import_communes import ImportCommunesAlg
from netads.processing_netads.data.import_impacts import ImportImpactsAlg

# from netads.processing_netads.data.import_impacts import ImportImpactsAlg
from netads.processing_netads.data.import_parcelles import ImportParcellesAlg
from netads.processing_netads.data.load_layers import LoadLayersAlgorithm
from netads.processing_netads.database.create import CreateDatabaseStructure
Expand All @@ -21,7 +22,7 @@ def loadAlgorithms(self):
self.addAlgorithm(UpgradeDatabaseStructure())
# Data
self.addAlgorithm(ImportCommunesAlg())
self.addAlgorithm(ImportImpactsAlg())
# self.addAlgorithm(ImportImpactsAlg())
self.addAlgorithm(ImportParcellesAlg())
self.addAlgorithm(LoadLayersAlgorithm())

Expand Down
2 changes: 2 additions & 0 deletions netads/tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import os
import time
import unittest

from unittest import main

Expand Down Expand Up @@ -34,6 +35,7 @@ def tearDown(self) -> None:
del self.connection
time.sleep(1)

@unittest.skip
def test_import_impacts(self):
"""Test to import impacts in the database."""
params = {
Expand Down

0 comments on commit 5c8811d

Please sign in to comment.