Page MenuHome GnuPG

No OneTemporary

diff --git a/.appveyor.yml b/.appveyor.yml
index d008768..ee07f23 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,24 +1,25 @@
+---
install:
- set QTDIR=C:\Qt\5.13\mingw73_32
- choco install -y InnoSetup
- set PATH=%QTDIR%\bin;C:\Qt\Tools\mingw530_32\bin;%PATH%;"C:\Program Files (x86)\Inno Setup 5"
build_script:
- qmake qtpass.pro CONFIG+=static
- mingw32-make
-# - mingw32-make check
-#after_build:
+ # - mingw32-make check
+ # after_build:
- cmd: copy README.md src\release\README.txt
- cmd: copy LICENSE src\release\LICENSE.txt
- iscc qtpass.iss
artifacts:
- path: Output\qtpass-*.exe
- path: main\release\qtpass.exe
deploy:
provider: GitHub
auth_token:
secure: YfscG1DR0+kApThPXxQSr+ZEjUOUlIG0Tqc5+90IFsUInyICRRMdbJsbxR2qhq/p
artifact: /qtpass-[0-9]+\.[0-9]+\.[0-9]+\.exe/
draft: true
prerelease: false
on:
appveyor_repo_tag: true
diff --git a/.codecov.yml b/.codecov.yml
index 76c9e64..9fd5505 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -1,4 +1,5 @@
+---
coverage:
ignore:
- tests/*
- src/qrc_*.cpp
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 459cfda..31ebb28 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,3 +1,2 @@
-# These are supported funding model platforms
-
+---
github: annejan
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 04b3007..4bcf600 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -1,27 +1,28 @@
+---
name: QMake
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- include:
- - os: ubuntu-latest
- make: make
- - os: macos-latest
- make: make
- - os: windows-latest
- make: nmake
- steps:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ include:
+ - os: ubuntu-latest
+ make: make
+ - os: macos-latest
+ make: make
+ - os: windows-latest
+ make: nmake
+ steps:
- uses: actions/checkout@v1
- uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
uses: jurplel/install-qt-action@v2
- name: qmake
run: qmake
- name: make
run: ${{matrix.make}}
- name: make check
run: ${{matrix.make}} check TESTARGS="--platform offscreen"
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 143d075..19924f7 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -1,78 +1,79 @@
+---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
- branches: [ "main" ]
+ branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
- branches: [ "main" ]
+ branches: ["main"]
schedule:
- cron: '24 8 * * 2'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
- language: [ 'cpp' ]
+ language: ['cpp']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- - name: Checkout repository
- uses: actions/checkout@v3
+ - name: Checkout repository
+ uses: actions/checkout@v3
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v2
- with:
- languages: ${{ matrix.language }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
- # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
- # queries: security-extended,security-and-quality
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
+ # queries: security-extended,security-and-quality
- - name: Install Qt
- uses: jurplel/install-qt-action@v2
+ - name: Install Qt
+ uses: jurplel/install-qt-action@v2
- # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
- # If this step fails, then you should remove it and run the build manually (see below)
- - name: Autobuild
- uses: github/codeql-action/autobuild@v2
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
- # â„šī¸ Command-line programs to run using the OS shell.
- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
+ # Command-line programs to run using the OS shell.
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- # If the Autobuild fails above, remove it and uncomment the following three lines.
- # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
- # - run: |
- # echo "Run, Build Application using script"
- # ./location_of_script_within_repo/buildscript.sh
+ # - run: |
+ # echo "Run, Build Application using script"
+ # ./location_of_script_within_repo/buildscript.sh
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
- with:
- category: "/language:${{matrix.language}}"
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
+ with:
+ category: "/language:${{matrix.language}}"
diff --git a/.linthub.yml b/.linthub.yml
index d6365ac..0701b1f 100644
--- a/.linthub.yml
+++ b/.linthub.yml
@@ -1,13 +1,14 @@
+---
platform: linux | osx
build:
-- qmake
-- make
+ - qmake
+ - make
analyzers:
- cpplint: true
include: ["*.cpp", "*.h", "*.hpp", "*.c"]
path: ./
filters:
- - -whitespace
- - +whitespace/braces
+ - -whitespace
+ - +whitespace/braces
style: google
- markdownlint: true
diff --git a/.travis.yml b/.travis.yml
index 6fe8f2c..a25bb06 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,85 +1,84 @@
+---
language: cpp
dist: bionic
osx_image: xcode12.2
sudo: true
os:
-- linux
-- osx
+ - linux
+ - osx
compiler:
-- gcc
-- clang
+ - gcc
+ - clang
env:
global:
secure: WaZq3f6KIAc0dnR4WOXYWDvUYiqlrzsZC/PQse47FnvC0oQC65J5w3kJOj/P26DgsUEqKQF3ukXogkM2mp5pS4+CMgivEmQmAbgQTtwcKpC5HPZxgI+8FgkCjcalJKWGWYoxlScNVNiKMs+89ApcSQE9kH9PZeUS9dukN2Php1U=
before_install:
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-bionic; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-bionic; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
addons:
coverity_scan:
project:
name: IJHack/qtpass
description: Build submitted via Travis CI
notification_email: travis@qtpass.org
build_command_prepend: qmake; make clean
build_command: make
branch_pattern: coverity_scan
install:
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq qt5 || brew install qt5; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew upgrade coreutils; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH=$PATH:/usr/local/opt/qt5/bin; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install pandoc; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm install 12; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm use 12; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then npm install -g appdmg; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install qt515base qt515tools qt515svg libgl1-mesa-dev; fi
-- if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo apt-get -qq install g++-6 gcc-6; fi
-- if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6; fi
-- if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-6 90; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm install -g codecov; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then gem install coveralls-lcov; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install lcov; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew ls | grep -wq qt5 || brew install qt5; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew upgrade coreutils; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH=$PATH:/usr/local/opt/qt5/bin; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install pandoc; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm install 12; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm use 12; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then npm install -g appdmg; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install qt515base qt515tools qt515svg libgl1-mesa-dev; fi
+ - if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo apt-get -qq install g++-6 gcc-6; fi
+ - if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6; fi
+ - if [[ "$TRAVIS_OS_NAME" = "linux" && "$CC" = "gcc" ]]; then sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-6 90; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm install -g codecov; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then gem install coveralls-lcov; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install lcov; fi
before_script:
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then source /opt/qt515/bin/qt515-env.sh; fi
-- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
-- qmake -v
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then source /opt/qt515/bin/qt515-env.sh; fi
+ - "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
+ - qmake -v
script:
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then qmake CONFIG+=coverage -Wall qtpass.pro; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc); fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc) coveralls TESTARGS="--platform offscreen"; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make distclean; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then qmake CONFIG+=coverage -Wall qtpass.pro; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc); fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc) codecov TESTARGS="--platform offscreen"; fi
-- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make distclean; fi
-- qmake -Wall qtpass.pro
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then lrelease localization/localization_*; fi
-- make -j$(nproc)
-- make check TESTARGS="--platform offscreen"
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then macdeployqt main/QtPass.app; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/FAQ\.md/https:\/\/qtpass.org\/docs\/md_FAQ.html/' < README.md > README.faq; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/CONTRIBUTING\.md/https:\/\/qtpass.org\/docs\/md_CONTRIBUTING.html/' < README.faq > README.contrib; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/\[\!.*//' < README.contrib > README.clean; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pandoc --standalone --from=gfm --to=rtf --output=README.rtf README.clean; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then appdmg appdmg.json qtpass-$(grep ^VERSION qtpass.pri | cut -d " " -f 6).dmg; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export VERSION=$(grep ^VERSION qtpass.pri | cut -d " " -f 6); fi
-- fossa init
-- fossa init
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then qmake CONFIG+=coverage -Wall qtpass.pro; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc); fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc) coveralls TESTARGS="--platform offscreen"; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make distclean; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then qmake CONFIG+=coverage -Wall qtpass.pro; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc); fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc) codecov TESTARGS="--platform offscreen"; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then make distclean; fi
+ - qmake -Wall qtpass.pro
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then lrelease localization/localization_*; fi
+ - make -j$(nproc)
+ - make check TESTARGS="--platform offscreen"
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then macdeployqt main/QtPass.app; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/FAQ\.md/https:\/\/qtpass.org\/docs\/md_FAQ.html/' < README.md > README.faq; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/CONTRIBUTING\.md/https:\/\/qtpass.org\/docs\/md_CONTRIBUTING.html/' < README.faq > README.contrib; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/\[\!.*//' < README.contrib > README.clean; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then pandoc --standalone --from=gfm --to=rtf --output=README.rtf README.clean; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then appdmg appdmg.json qtpass-$(grep ^VERSION qtpass.pri | cut -d " " -f 6).dmg; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export VERSION=$(grep ^VERSION qtpass.pri | cut -d " " -f 6); fi
+ - fossa init
notifications:
irc:
channels:
- - chat.freenode.net#IJhack
+ - chat.freenode.net#IJhack
on_success: change
on_failure: always
deploy:
provider: releases
api_key:
secure: O6LAl2R5QIe/mgQwG5/pzbdC8gS58wtGVF2ebTVGgYsCgY0nRjLZ19H7BiQrYjbbXs8yw6cQjA+xbxNiVsIVs+Dx9j/fy2JOBeBTrGijlWLcJPT6/Ab65EjI2T96XvI8/YejRmbgjIdXFfuKtD/V4MM12LrvrvktwJp00G9l1Go=
file: "qtpass-$VERSION.dmg"
on:
repo: IJHack/qtpass
tags: true
condition: $TRAVIS_OS_NAME = osx && $CC = clang
skip_cleanup: true
-
diff --git a/.yaml-lint.yml b/.yaml-lint.yml
new file mode 100644
index 0000000..855465d
--- /dev/null
+++ b/.yaml-lint.yml
@@ -0,0 +1,8 @@
+---
+extends: default
+
+rules:
+ # 80 chars should be enough, but don't fail if a line is longer
+ line-length:
+ max: 120
+ level: warning

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jul 8, 12:30 PM (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/fe/e4a3db96694b6ed321b5d95fc664

Event Timeline