diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 04d3000..65e49b1 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,7 +3,7 @@ on: push: paths: - 'colab_datafusion_analysis/**' - - '.github/workflows/**' + - '.github/workflows/pylint.yml' jobs: build: diff --git a/.github/workflows/thesis.yml b/.github/workflows/thesis.yml new file mode 100644 index 0000000..c9bf711 --- /dev/null +++ b/.github/workflows/thesis.yml @@ -0,0 +1,28 @@ +name: Compile thesis to PDF + +on: + push: + paths: + - 'thesis/**' + - '.github/workflows/thesis.yml' + +jobs: + convert_via_pandoc: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + + - name: create file list + id: files_list + run: | + echo "files=$(printf '"%s" ' thesis/*.md)" > $GITHUB_OUTPUT + + - uses: docker://pandoc/latex:2.9 + with: + args: -o "thesis/tesi_federico_aguzzi.pdf" ${{ steps.files_list.outputs.files }} + + + - uses: actions/upload-artifact@v3 + with: + name: thesis + path: thesis \ No newline at end of file diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 961c0aa..afc82df 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -4,7 +4,7 @@ on: paths: - 'colab_datafusion_analysis/**' - 'tests/**' - - '.github/workflows/**' + - '.github/workflows/unittest.yml' jobs: build: diff --git a/docs/src/pages/project/continuous-integration.md b/docs/src/pages/project/continuous-integration.md index 4a44b0b..b943743 100644 --- a/docs/src/pages/project/continuous-integration.md +++ b/docs/src/pages/project/continuous-integration.md @@ -5,7 +5,7 @@ description: Our continuous integration workflow. # Continuous Integration -Our remote repository operates four continuous integration / continuous deployment workflows. +Our remote repository operates five continuous integration / continuous deployment workflows. Two of the workflows are about code quality: - a [`pylint`](https://pylint.readthedocs.io/en/stable/)` workflow that rejects commits with a code quality lower than 8.00 @@ -15,4 +15,6 @@ A third workflow is about documentation deployment: - a [`Docusaurus`](https://docusaurus.io) page builder that automatically deploys this documentation website to [`GitHub Pages`](https://pages.github.com) -A fourth, final workflow automates semantic releases. \ No newline at end of file +A fourth workflow automates semantic releases. + +A fifth, final workflow automates the building of the thesis document. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ba67ffe..bef4738 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,9 +33,9 @@ dev-dependencies = [ [tool.rye.scripts] test = "python -m unittest discover tests" -pylint-local = "pylint colab_datafusuion_analysis/**/*.py" -pylint-ci = "pylint --disable=C0114,C0115,C0116 --exit-zero colab_datafusion_analysis/**/*.py" -pylint-score-ci = "pylint --disable=all --enable=metrics --output-format=text colab_datafusuion_analysis/**/.py" +pylint-local = "pylint chemfusekit/**/*.py" +pylint-ci = "pylint --disable=C0114,C0115,C0116 --exit-zero chemfusekit/**/*.py" +pylint-score-ci = "pylint --disable=all --enable=metrics --output-format=text chemfusekit/**/.py" [tool.hatch.metadata] allow-direct-references = true diff --git a/thesis/0-header.md b/thesis/0-header.md new file mode 100644 index 0000000..7630c59 --- /dev/null +++ b/thesis/0-header.md @@ -0,0 +1,49 @@ +--- +documentclass: article +header-includes: | + \usepackage{graphicx} + \usepackage[a4paper,margin=3cm]{geometry} + \usepackage[italian]{babel} + \usepackage{microtype} +--- + + +\begin{center} + \includegraphics[width=0.6\textwidth]{thesis/logo-unibg.png} + + { + \Large + Scuola di Ingegneria \\~\\ + Dipartimento di Ingegneria dell'Informazione, della Gestione e della Produzione \\~\\ + Classe n. L-8 - Classe delle lauree in Ingegneria dell'Informazione + } + + \vspace{1.3cm} + + { + \huge + \textbf{Realizzazione di una libreria Python su cloud per la fusione e l'analisi dei dati dalla scena del crimine} + } + + \vspace{1.3cm} + + { + \Large + \textbf{Federico Aguzzi} + + \vfill + + Candidato:\\ + \emph{Federico Aguzzi}\\ + Matricola n. 1066519 + + \vspace{0.6cm} + + Relatore:\\ + \emph{Chiar.mo Prof.\\Angelo Michele Gargantini} + } + +\end{center} + + +\renewcommand{\baselinestretch}{1.5} diff --git a/thesis/1-abstract.md b/thesis/1-abstract.md new file mode 100644 index 0000000..9ced1da --- /dev/null +++ b/thesis/1-abstract.md @@ -0,0 +1,15 @@ +\thispagestyle{plain} +\begin{center} + \Large + \textbf{Realizzazione di una libreria Python su cloud per la fusione e l'analisi dei dati dalla scena del crimine} + + \vspace{0.4cm} + \textbf{Federico Aguzzi} + + \vspace{0.9cm} + \textbf{Abstract} + + Un sistema ben strutturato, costruito su componenti open source esistenti, consente ai non programmatori di modificarlo e migliorarlo, risolvendo problemi pratici e rimanendo facilmente espandibile dagli utenti diretti - un risultato irraggiungibile senza i contributi dell'ingegneria del software. + + Fornendo un'alternativa piĆ¹ semplice, rapida ed efficace alle alternative, sia commerciali che open source - e soprattutto, integrando per la prima volta un approccio \emph{data fusion} in una libreria di analisi - questo progetto mira a fornire uno strumento leggero e comodo per le analisi chemiometriche. +\end{center} diff --git a/thesis/2-index.md.md b/thesis/2-index.md.md new file mode 100644 index 0000000..32f2ac9 --- /dev/null +++ b/thesis/2-index.md.md @@ -0,0 +1,2 @@ +\newpage +\tableofcontents diff --git a/thesis/3-intro.md b/thesis/3-intro.md new file mode 100644 index 0000000..2682f24 --- /dev/null +++ b/thesis/3-intro.md @@ -0,0 +1,3 @@ +# Introduzione + +Introduzione. \ No newline at end of file diff --git a/thesis/999-ringraziamenti.md b/thesis/999-ringraziamenti.md new file mode 100644 index 0000000..cd8ab77 --- /dev/null +++ b/thesis/999-ringraziamenti.md @@ -0,0 +1,3 @@ +# Ringraziamenti + +Ringraziamenti. \ No newline at end of file diff --git a/thesis/logo-unibg.png b/thesis/logo-unibg.png new file mode 100644 index 0000000..f1bff4e Binary files /dev/null and b/thesis/logo-unibg.png differ