Skip to content

Commit

Permalink
Merge branch 'cc4-sl-legalcode' of https://github.com/creativecommons…
Browse files Browse the repository at this point in the history
…/creativecommons.org into cc4-sl-legalcode
  • Loading branch information
georgehari committed Apr 16, 2020
2 parents edd8e33 + 21b1c01 commit e978ffa
Show file tree
Hide file tree
Showing 888 changed files with 96,333 additions and 76,993 deletions.
8 changes: 8 additions & 0 deletions .cc-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Whether this GitHub repo is engineering related
engineering_project: true
# Name of the repository/project in English
english_name: License chooser and license display code
# All technologies used
technologies: Python, bash
# Whether this repository should be featured on the CC Open Source site
featured: false
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
jobs:
build:
machine: true
steps:
- checkout
- run: sudo apt-get update && sudo apt-get install -y tidy
- run: TRANSLATIONS=$(git --no-pager diff --name-only FETCH_HEAD $(git merge-base FETCH_HEAD master))
- run: for htmlfile in $TRANSLATIONS; do echo $htmlfile; tidy -errors -quiet $htmlfile; done
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence, they will
# be requested for review when someone opens a pull request.
* @creativecommons/internal-tech
66 changes: 13 additions & 53 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,57 +1,17 @@
cc-wp-theme
vendor
composer.phar
python_env/bin
!python_env/bin/ccengine.fcgi.in
python_env/build
python_env/include
python_env/lib
python_env/local
python_env/paste_errors.log
python_env/.Python
python_env/src/
docroot/license.rdf
docroot/license_rdf
# symantic web symlinks
docroot/rdf
docroot/wp-content/
docroot/wordpress/
#docroot/sitemap.*
docroot/wp-config-local.php
vendor/*# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
#*.apk
*.exe
*.dmg
auto-save-list
tramp
.\#*
*.swp

# Org-mode
.org-id-locations
*_archive

# flymake-mode
*_flymake.*

# eshell files
/eshell/history
/eshell/lastdir

# elpa packages
/elpa/

# reftex files
*.rel
docroot/license_rdf
docroot/cc.licenserdf

# AUCTeX auto folder
/auto/
# repositories
python_src/rdfadict/
python_src/cc.licenserdf/
python_src/cc.license/
python_src/cc.i18n/
python_src/cc.engine/

# apitest
/apitest/node_modules
# transstats.csv symlink
transstats.csv

.DS_Store
# vim
*.swp
4 changes: 4 additions & 0 deletions .venv/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
13 changes: 13 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributor Code of Conduct

The Creative Commons team is committed to fostering a welcoming community. This
project and all other Creative Commons open source projects are governed by our
[Code of Conduct][code_of_conduct]. Please report unacceptable behavior to
[conduct@creativecommons.org](mailto:conduct@creativecommons.org) per our
[reporting guidelines][reporting_guide].

For a history of updates, see the [page history here][updates].

[code_of_conduct]:https://opensource.creativecommons.org/community/code-of-conduct/
[reporting_guide]:https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
[updates]:https://github.com/creativecommons/creativecommons.github.io-source/commits/master/content/community/code-of-conduct/contents.lr
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Contributing to CC Open Source

Thank you for your interest in contributing to CC Open Source! This document is
a set of guidelines to help you contribute to this project.

## Code of Conduct

By participating in this project, you are expected to uphold our [Code of
Conduct][code_of_conduct].

[code_of_conduct]:https://opensource.creativecommons.org/community/code-of-conduct/

## Project Documentation

The `README` in the root of the repository should contain or link to
project documentation. If you cannot find the documentation you're
looking for, please file a GitHub issue with details of what
you'd like to see documented.

## How to Contribute

Please follow the processes in our general [Contributing Code][contributing]
guidelines on the Creative Common Open Source website.

[contributing]:https://opensource.creativecommons.org/contributing-code/

## Questions or Thoughts?

Talk to us on [one of our community forums][community].

[community]:https://opensource.creativecommons.org/community/
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Creative Commons

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# pipenv alone does not setup the License Engine. See scripts/setup_engine.sh
# and README.md
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
[packages."cc.engine"]
editable = true
path = "python_src/cc.engine"
[packages."cc.i18n"]
editable = true
path = "python_src/cc.i18n"
[packages."cc.license"]
editable = true
path = "python_src/cc.license"
[packages."cc.licenserdf"]
editable = true
path = "python_src/cc.licenserdf"
[packages.future]
[packages.rdfadict]
editable = true
path = "python_src/rdfadict"

[requires]
python_version = "2.7"
Loading

0 comments on commit e978ffa

Please sign in to comment.