Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Maintenance #14

Merged
merged 3 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Upgrade Python Requirements

on:
schedule:
# Run on the first day of the month.
# This is less frequent than the Open edX default (weekly), as this repo
# is old and barely used, and we just need to keep it working for another
# few releases.
- cron: "0 0 1 1 *" # First day of the month
workflow_dispatch:
inputs:
branch:
description: "Target branch against which to create requirements PR"
required: true
# If copying this template manually, you must provide your default branch name
# in quotes, such as 'master'
default: "master"

jobs:
call-upgrade-python-requirements-workflow:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
with:
# If copying manually, also provide your default branch name in quotes here
branch: ${{ github.event.inputs.branch || "master" }}
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
# email_address: ""
# send_success_notification: false
# python_version: ""
secrets:
requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}
requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}
edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }}
edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }}
61 changes: 58 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
django-require
##############
openedx-django-require
######################

|pypi-badge| |ci-badge| |codecov-badge|

.. |pypi-badge| image:: https://img.shields.io/pypi/v/openedx-django-require.svg
:target: https://pypi.python.org/project/openedx-django-require/
:alt: PyPI

.. |ci-badge| image:: https://github.com/openedx/django-require/workflows/Python%20CI/badge.svg?branch=main
:target: https://github.com/openedx/django-require/actions
:alt: CI

.. |codecov-badge| image:: https://codecov.io/github/openedx/django-require/coverage.svg?branch=main
:target: https://codecov.io/github/openedx/django-require?branch=main
:alt: Codecov


**django-require** is a Django staticfiles post-processor for optimizing
with `RequireJS <http://requirejs.org/>`_.

*In the context of the Open edX project*, this django-require fork is used exclusively by
legacy frontend code in `edx-platform <https://github.com/openedx/edx-platform>`_.
That frontend code is all either replaced or in the process of being replaced.
Once this process is complete, edx-platform will no longer need to
install django-require, and this fork will be archived. As such, please
consider this repository effectively deprecated and **do not use it in any
new code**.

License
*******

Expand All @@ -18,13 +41,45 @@ is tagged `final-bsd-3c-contribution`_, are licensed by the original
contributors under the terms of the `BSD 3-Clause License`_.

The software is now maintained for the purpose of the Open edX
project by The Center for Reimagining Learning, which licenses
project by Axim Collaborative, Inc., which licenses
any further contributions to this repository under the `Apache License 2.0`_.

.. _final-bsd-3c-contribution: https://github.com/openedx/django-require/releases/tag/final-bsd-3c-contribution
.. _Apache License 2.0: ./LICENSE
.. _BSD 3-Clause License: ./LICENSE-BSD-3c

Contributing
************

Bugfixes and routine maintenance contributions are very welcome.
Please read `How To Contribute <https://openedx.org/r/how-to-contribute>`_ for details.
Thank you!

This repository is not accepting any new features nor refactors.

The Open edX Code of Conduct
****************************

All community members are expected to follow the `Open edX Code of Conduct`_.

.. _Open edX Code of Conduct: https://openedx.org/code-of-conduct/

People
******

The assigned maintainers for this component and other project details may be
found in `Backstage`_. Backstage pulls this data from the ``catalog-info.yaml``
file in this repo.

.. _Backstage: https://backstage.openedx.org/catalog/default/component/django-require

Reporting Security Issues
*************************

Please do not report security issues in public. Please email [email protected].

django-require (Original Documentation)
#######################################

Features
********
Expand Down
13 changes: 13 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file records information about this repo. Its use is described in OEP-55:
# https://open-edx-proposals.readthedocs.io/en/latest/processes/oep-0055-proc-project-maintainers.html

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
# (Required) Must be the name of the repo, without the owning organization.
name: 'django-require'
spec:
owner: user:kdmccormick
type: 'library'
lifecycle: 'deprecated'
subcomponentOf: 'edx-platform'
Loading