addede base ci

This commit is contained in:
Gianmarco Pettinato 2021-10-18 11:02:54 +02:00
parent 78874a1588
commit 2361ebdbf0
14 changed files with 9369 additions and 272 deletions

23
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
default:
image: node:latest
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- .npm/
stages: # List of stages for jobs, and their order of execution
- build
- deploy
build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- npm install
- npm run build
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
script:
- apt-get update -qq && apt-get install -y -qq lftp
- lftp -c "open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./build ./www --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"

View File

@ -1,214 +0,0 @@
hp-check[25360]: info: :
hp-check[25360]: info: :[01mHP Linux Imaging and Printing System (ver. 3.21.8)[0m
hp-check[25360]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[25360]: info: :
hp-check[25360]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[25360]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[25360]: info: :This is free software, and you are welcome to distribute it
hp-check[25360]: info: :under certain conditions. See COPYING file for more details.
hp-check[25360]: info: :
hp-check[25360]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[25360]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[25360]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[25360]: info: :are installed to successfully compile HPLIP.
hp-check[25360]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro
hp-check[25360]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
hp-check[25360]: info: :has the proper dependencies installed to successfully run.
hp-check[25360]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode
hp-check[25360]: info: :will check both of the above cases (both compile- and run-time dependencies).
hp-check[25360]: info: :
hp-check[25360]: info: :Check types:
hp-check[25360]: info: :a. EXTERNALDEP - External Dependencies
hp-check[25360]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[25360]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[25360]: info: :d. [All are run-time checks]
hp-check[25360]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[25360]: info: :
hp-check[25360]: info: :Status Types:
hp-check[25360]: info: : OK
hp-check[25360]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[25360]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[25360]: info: :
warning: [01m0-rolling version is not supported. Using 0-0 versions dependencies to verify and install...[0m
hp-check[25360]: info: :
hp-check[25360]: info: :---------------
hp-check[25360]: info: :| SYSTEM INFO |
hp-check[25360]: info: :---------------
hp-check[25360]: info: :
hp-check[25360]: info: : Kernel: 5.14.9-arch2-1 #1 SMP PREEMPT Fri, 01 Oct 2021 19:03:20 +0000 GNU/Linux
Host: archlinux
Proc: 5.14.9-arch2-1 #1 SMP PREEMPT Fri, 01 Oct 2021 19:03:20 +0000 GNU/Linux
Distribution: 0 rolling
hp-check[25360]: info: : Bitness: 64 bit
hp-check[25360]: info: :
hp-check[25360]: info: :-----------------------
hp-check[25360]: info: :| HPLIP CONFIGURATION |
hp-check[25360]: info: :-----------------------
hp-check[25360]: info: :
hp-check[25360]: info: :HPLIP-Version: HPLIP 3.21.8
hp-check[25360]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro rolling version
hp-check[25360]: info: :
hp-check[25360]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[25360]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.21.8
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.21.8
html=/usr/share/doc/hplip-3.21.8
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.21.8
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no
hp-check[25360]: info: :
hp-check[25360]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[25360]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[25360]: info: :
hp-check[25360]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
warning: Could not access file: No such file or directory
hp-check[25360]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[25360]: info: :
hp-check[25360]: info: :-------------------------
hp-check[25360]: info: :| External Dependencies |
hp-check[25360]: info: :-------------------------
hp-check[25360]: info: :
hp-check[25360]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.3.3 OK 'CUPS Scheduler is running'
hp-check[25360]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.55.0 OK -
hp-check[25360]: info: :[31;01m error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'[0m
hp-check[25360]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.32 OK -
hp-check[25360]: info: : dbus DBus - Message bus system REQUIRED - 1.12.20 OK -
hp-check[25360]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.119 OK -
hp-check[25360]: info: : network network -wget OPTIONAL - 1.21.2 OK -
hp-check[25360]: info: : avahi-utils avahi-utils OPTIONAL - 0.8 OK -
hp-check[25360]: info: :
hp-check[25360]: info: :------------------------
hp-check[25360]: info: :| General Dependencies |
hp-check[25360]: info: :------------------------
hp-check[25360]: info: :
hp-check[25360]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[25360]: info: :[31;01m error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.3 MISSING 'cups-devel needs to be installed'[0m
hp-check[25360]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.3.3 OK -
hp-check[25360]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.33' OK -
hp-check[25360]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[25360]: info: : sane SANE - Scanning library REQUIRED - 1.0.32 OK -
hp-check[25360]: info: : sane-devel SANE - Scanning library development files REQUIRED - 1.0.32 OK -
hp-check[25360]: info: : libavahi-dev libavahi-dev REQUIRED - - OK -
hp-check[25360]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9.1 OK -
hp-check[25360]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check[25360]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.7 OK -
hp-check[25360]: info: :[31;01m error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'[0m
hp-check[25360]: info: :[31;01m error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'[0m
hp-check[25360]: info: :[31;01m error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'[0m
hp-check[25360]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.18 OK -
hp-check[25360]: info: : python3-xml Python XML libraries REQUIRED - 2.4.1 OK -
hp-check[25360]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.9.7 OK -
hp-check[25360]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.3.2 OK -
hp-check[25360]: info: :[31;01m error: python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 - MISSING 'python3-reportlab needs to be installed'[0m
hp-check[25360]: info: :
hp-check[25360]: info: :--------------
hp-check[25360]: info: :| COMPILEDEP |
hp-check[25360]: info: :--------------
hp-check[25360]: info: :
hp-check[25360]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[25360]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 11.1.0 OK -
hp-check[25360]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.3 OK -
hp-check[25360]: info: :
hp-check[25360]: info: :---------------------
hp-check[25360]: info: :| Python Extentions |
hp-check[25360]: info: :---------------------
hp-check[25360]: info: :
hp-check[25360]: info: : cupsext CUPS-Extension REQUIRED - 3.21.8 OK -
hp-check[25360]: info: : hpmudext IO-Extension REQUIRED - 3.21.8 OK -
hp-check[25360]: info: :
hp-check[25360]: info: :----------------------
hp-check[25360]: info: :| Scan Configuration |
hp-check[25360]: info: :----------------------
hp-check[25360]: info: :
hp-check[25360]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.21.8 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[25360]: info: : scanext Scan-SANE-Extension REQUIRED - 3.21.8 OK -
hp-check[25360]: info: :
hp-check[25360]: info: :------------------------------
hp-check[25360]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[25360]: info: :------------------------------
hp-check[25360]: info: :
hp-check[25360]: info: :device `v4l:/dev/video0' is a Noname Integrated Camera: Integrated C virtual device
hp-check[25360]: info: :
hp-check[25360]: info: :--------------------------
hp-check[25360]: info: :| DISCOVERED USB DEVICES |
hp-check[25360]: info: :--------------------------
hp-check[25360]: info: :
hp-check[25360]: info: :No devices found.
hp-check[25360]: info: :
hp-check[25360]: info: :---------------------------------
hp-check[25360]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[25360]: info: :---------------------------------
hp-check[25360]: info: :
hp-check[25360]: info: :
warning: No queues found.
hp-check[25360]: info: :
hp-check[25360]: info: :--------------
hp-check[25360]: info: :| PERMISSION |
hp-check[25360]: info: :--------------
hp-check[25360]: info: :
hp-check[25360]: info: :
hp-check[25360]: info: :-----------
hp-check[25360]: info: :| SUMMARY |
hp-check[25360]: info: :-----------
hp-check[25360]: info: :
hp-check[25360]: info: :[01mMissing Required Dependencies[0m
hp-check[25360]: info: :[01m-----------------------------[0m
hp-check[25360]: info: :None
hp-check[25360]: info: :
hp-check[25360]: info: :[01mMissing Optional Dependencies[0m
hp-check[25360]: info: :[01m-----------------------------[0m
hp-check[25360]: info: :None
hp-check[25360]: info: :
hp-check[25360]: info: :Total Errors: 6
hp-check[25360]: info: :Total Warnings: 1
hp-check[25360]: info: :
hp-check[25360]: info: :
hp-check[25360]: info: :Done.

9305
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,19 +12,27 @@
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ." "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.15.8",
"@sveltejs/adapter-static": "^1.0.0-next.20", "@sveltejs/adapter-static": "^1.0.0-next.20",
"@sveltejs/kit": "next", "@sveltejs/kit": "next",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/svelte": "^3.0.3",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1", "@typescript-eslint/parser": "^4.31.1",
"babel-jest": "^27.3.0",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^3.2.1", "eslint-plugin-svelte3": "^3.2.1",
"jest": "^27.3.0",
"prettier": "^2.4.1", "prettier": "^2.4.1",
"prettier-plugin-svelte": "^2.4.0", "prettier-plugin-svelte": "^2.4.0",
"svelte": "^3.42.6", "svelte": "^3.42.6",
"svelte-check": "^2.2.6", "svelte-check": "^2.2.6",
"svelte-jester": "^2.1.5",
"svelte-preprocess": "^4.9.4", "svelte-preprocess": "^4.9.4",
"svelte-preprocess-markdown": "^2.7.3", "svelte-preprocess-markdown": "^2.7.3",
"ts-jest": "^27.0.7",
"tslib": "^2.3.1", "tslib": "^2.3.1",
"typescript": "^4.4.3" "typescript": "^4.4.3"
}, },

View File

@ -3,10 +3,10 @@
<div class="contacts"> <div class="contacts">
<div class="header"><img src="/profile_pic.jpg" alt="profile" class="profile" /></div> <div class="header"><img src="/profile_pic.jpg" alt="profile" class="profile" /></div>
<ul class="contact-list"> <ul class="contact-list">
<li><div class="label"><i class="fas fa-at"></i> e-mail:</div> <a href="mailto://gianmarco@pettinato.eu">gianmarco@pettinato.eu</a></li> <li><i class="fas fa-at"></i> e-mail: <a href="mailto://gianmarco@pettinato.eu">gianmarco@pettinato.eu</a></li>
<li><div class="label"><i class="fab fa-telegram-plane"></i> telegram:</div> <a href="https://t.me/jatus_93">@jatus_93</a></li> <li><i class="fab fa-telegram-plane"></i> telegram: <a href="https://t.me/jatus_93">@jatus_93</a></li>
<li><div class="label"><i class="fab fa-twitter"></i> twitter:</div> <a href="https://twitter.com/jatus_93">@jatus_93</a></li> <li><i class="fab fa-twitter"></i> twitter: <a href="https://twitter.com/jatus_93">@jatus_93</a></li>
<li><div class="label"><i class="fab fa-linkedin-in"></i> linkedin:</div> <a href="https://www.linkedin.com/in/gianmarco-pettinato/">Gianmarco Pettinato</a></li> <li><i class="fab fa-linkedin-in"></i> linkedin: <a href="https://www.linkedin.com/in/gianmarco-pettinato/">Gianmarco Pettinato</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -15,53 +15,34 @@
.contactContainer{ .contactContainer{
margin: auto; margin: auto;
background-color:$navajo-white; background-color:$navajo-white;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
height: auto;
border-radius: 10px; border-radius: 10px;
width: 95%; width: 90%;
border-style: solid;
border-width: 0.1px;
border-color: $rich-black-fogra-29;
border-radius: 10px; border-radius: 10px;
box-shadow: -12px 26px 25px -14px $rich-black-fogra-29; box-shadow: -12px 26px 25px -14px $rich-black-fogra-29;
-webkit-box-shadow: -12px 26px 25px -14px $rich-black-fogra-29; -webkit-box-shadow: -12px 26px 25px -14px $rich-black-fogra-29;
-moz-box-shadow: -12px 26px 25px -14px $rich-black-fogra-29; -moz-box-shadow: -12px 26px 25px -14px $rich-black-fogra-29;
padding-top: 1vh; padding: 1vh;
padding-bottom: 1vh;
} }
.contacts{ .contacts{
background-color: $cultured; background-color: $cultured;
width: 90%; display: inline-flex;
justify-content: center;
text-align: center;
flex-wrap: wrap;
align-items: center ;
border-radius: 10px; border-radius: 10px;
margin-bottom: 10px; padding: 1vh;
padding-top: 2vh;
padding-bottom: 2vh;
background-color: $cultured; background-color: $cultured;
border-style: solid; border-style: solid;
border-width: 0.1px; border-width: 0.1px;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;
} }
.contacts>ul{ .contacts>ul{
list-style: none; list-style: none;
width: auto;
margin: auto;
} }
.contacts>ul>li{ .contacts>ul>li{
display: flex; text-align: start;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.contacts>ul>li>div{
margin-right: auto;
} }
.profile{ .profile{
@ -76,7 +57,7 @@
} }
a,a:visited{ a,a:visited{
text-decoration: none; // text-decoration: none;
color: $rich-black-fogra-29; color: $rich-black-fogra-29;
margin: 2px; margin: 2px;
} }
@ -89,18 +70,12 @@
width: 80vw; width: 80vw;
} }
.contacts{
width: 98%;
}
.contacts>ul{ .contacts>ul{
margin: unset; margin: unset;
} }
// .job-content{
// }
// .text-content{
// }
} }
</style> </style>

View File

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import Menu from "$elem/menu.svelte"; import Menu from "$elem/Menu.svelte";
import Jobs from '$elem/jobs.svelte'; import Jobs from '$elem/Jobs.svelte';
let menuHandler: Menu; let menuHandler: Menu;
let jobsHandler: Jobs; let jobsHandler: Jobs;
let currentLanguage: string ='it'; let currentLanguage: string ='it';

View File

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import Menu from "$elem/menu.svelte"; import Menu from "$elem/Menu.svelte";
import Portfolio from '$elem/portfolio.svelte'; import Portfolio from '$elem/Portfolio.svelte';
let menuHandler: Menu; let menuHandler: Menu;
let portfolioHandler: Portfolio; let portfolioHandler: Portfolio;
let currentLanguage: string ='it'; let currentLanguage: string ='it';

View File

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import Menu from "$elem/menu.svelte"; import Menu from "$elem/Menu.svelte";
import Training from '$elem/training.svelte' import Training from '$elem/Training.svelte';
let menuHandler: Menu; let menuHandler: Menu;
let trainingHandler: Training; let trainingHandler: Training;
let currentLanguage: string ='it'; let currentLanguage: string ='it';

View File

@ -1,10 +1,10 @@
<script lang="ts"> <script lang="ts">
import AboutMe from "$elem/aboutMe.svelte"; import AboutMe from "$elem/AboutMe.svelte";
import Jobs from "$elem/jobs.svelte"; import Jobs from "$elem/Jobs.svelte";
import Menu from "$elem/menu.svelte"; import Menu from "$elem/Menu.svelte";
import Portfolio from '$elem/portfolio.svelte'; import Portfolio from '$elem/Portfolio.svelte';
import Training from '$elem/training.svelte' import Training from '$elem/Training.svelte'
import Contacts from '$elem/contacts.svelte' import Contacts from '$elem/Contacts.svelte'
let jobsHandler: Jobs; let jobsHandler: Jobs;
let menuHandler: Menu; let menuHandler: Menu;
let aboutMe:AboutMe; let aboutMe:AboutMe;
@ -46,10 +46,10 @@
<h2>{titles.portfolio[currentLanguage]}</h2> <h2>{titles.portfolio[currentLanguage]}</h2>
<Portfolio bind:this="{portfolioHandler}"/> <Portfolio bind:this="{portfolioHandler}"/>
</div> </div>
<!-- <div class="content" id="contacts"> <div class="content" id="contacts">
<h2>{titles.contacts[currentLanguage]}</h2> <h2>{titles.contacts[currentLanguage]}</h2>
<Contacts/> <Contacts/>
</div> --> </div>
</main> </main>
<style lang="scss"> <style lang="scss">
@import "./static/colors.scss"; @import "./static/colors.scss";