Skip to content

Commit

Permalink
Update requirements to latest
Browse files Browse the repository at this point in the history
* Sync up with ScanCode TK.
* Remove unused files

Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed May 9, 2022
1 parent 0cdf006 commit 99d274d
Show file tree
Hide file tree
Showing 12 changed files with 211 additions and 232 deletions.
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

86 changes: 86 additions & 0 deletions CODE_OF_CONDUCT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
Contributor Covenant Code of Conduct
====================================

Our Pledge
----------

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our
project and our community a harassment-free experience for everyone,
regardless of age, body size, disability, ethnicity, gender identity and
expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

Our Standards
-------------

Examples of behavior that contributes to creating a positive environment
include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual
attention or advances
- Trolling, insulting/derogatory comments, and personal or political
attacks
- Public or private harassment
- Publishing others’ private information, such as a physical or
electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

Our Responsibilities
--------------------

Project maintainers are responsible for clarifying the standards of
acceptable behavior and are expected to take appropriate and fair
corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit,
or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, or to ban
temporarily or permanently any contributor for other behaviors that they
deem inappropriate, threatening, offensive, or harmful.

Scope
-----

This Code of Conduct applies both within project spaces and in public
spaces when an individual is representing the project or its community.
Examples of representing a project or community include using an
official project e-mail address, posting via an official social media
account, or acting as an appointed representative at an online or
offline event. Representation of a project may be further defined and
clarified by project maintainers.

Enforcement
-----------

Instances of abusive, harassing, or otherwise unacceptable behavior may
be reported by contacting the project team at [email protected]
or on the Gitter chat channel at https://gitter.im/aboutcode-org/discuss .
All complaints will be reviewed and investigated and will result in a
response that is deemed necessary and appropriate to the circumstances.
The project team is obligated to maintain confidentiality with regard to
the reporter of an incident. Further details of specific enforcement
policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in
good faith may face temporary or permanent repercussions as determined
by other members of the project’s leadership.

Attribution
-----------

This Code of Conduct is adapted from the `Contributor Covenant`_ ,
version 1.4, available at
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

.. _Contributor Covenant: https://www.contributor-covenant.org
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ include *.rst
include setup.*
include configure*
include requirements*
include .git*
include .giti*

include extractcode*

global-exclude *.py[co] __pycache__ *.*~

5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
============
ExtractCode
===========
============

- license: Apache-2.0
- copyright: copyright (c) nexB. Inc. and others
Expand All @@ -21,7 +22,7 @@ Why another extractor?

**it will extract!**

ExtractCode will extract things where other extractors may fail.
ExtractCode will extract things where other archive and compressed file extractors may fail.

ExtractCode supports one of largest number of archive formats listed in the
long `List of supported archive formats`_ found at the bottom of this document.
Expand Down
19 changes: 19 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

################################################################################
# We use Appveyor to run minimal smoke tests suites on Pythons 3.x
# on Windows 64 bits
################################################################################
environment:
matrix:
- PYTHON: "C:\\Python36-x64"
# - PYTHON: "C:\\Python37-x64"
# - PYTHON: "C:\\Python38-x64"
# - PYTHON: "C:\\Python39-x64"


build: off


test_script:
- python -c "import sys;print(sys.getdefaultencoding())"
- cmd: "set PYTHON_EXECUTABLE=%PYTHON%\\python.exe && configure --dev && venv\\Scripts\\pytest -vvs tests"
8 changes: 0 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@

jobs:

- template: etc/ci/azure-posix.yml
parameters:
job_name: ubuntu16_cpython
image_name: ubuntu-16.04
python_versions: ['3.6', '3.7', '3.8', '3.9']
test_suites:
all: sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools && tmp/bin/pytest -vvs

- template: etc/ci/azure-posix.yml
parameters:
job_name: ubuntu18_cpython
Expand Down
5 changes: 2 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ if [ -d "$CFG_ROOT_DIR/thirdparty" ]; then
fi
PIP_EXTRA_ARGS="$PIP_EXTRA_ARGS --find-links https://thirdparty.aboutcode.org/pypi/simple/links.html"


################################
# Set the quiet flag to empty if not defined
# Set the quiet flag to empty if not defined
if [[ "$CFG_QUIET" == "" ]]; then
CFG_QUIET=" "
fi
Expand Down Expand Up @@ -180,7 +179,7 @@ while getopts :-: optchar; do
dev ) CFG_REQUIREMENTS="$DEV_REQUIREMENTS";;
docs ) CFG_REQUIREMENTS="$DOCS_REQUIREMENTS";;
esac;;
esac
esac
done

PIP_EXTRA_ARGS="$PIP_EXTRA_ARGS"
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# -- Project information -----------------------------------------------------

project = "nexb-skeleton"
project = "ExtractCode"
copyright = "nexB Inc. and others."
author = "AboutCode.org authors and contributors"

Expand Down Expand Up @@ -67,8 +67,8 @@
html_context = {
"display_github": True,
"github_user": "nexB",
"github_repo": "nexb-skeleton",
"github_version": "develop", # branch
"github_repo": "extractcode",
"github_version": "main", # branch
"conf_py_path": "/docs/source/", # path in the checkout to the docs root
}

Expand Down
160 changes: 0 additions & 160 deletions docs/source/skeleton-usage.rst

This file was deleted.

Loading

0 comments on commit 99d274d

Please sign in to comment.