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

Fix meta-file sync workflow #1224

Merged
merged 4 commits into from Apr 16, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 0 additions & 45 deletions .github/sync.yml
Expand Up @@ -3,9 +3,7 @@
# Workflow: Meta file sync

group:
# Openverse
- repos: |
WordPress/openverse-catalog
WordPress/openverse-infrastructure
files:
# Synced workflows
Expand Down Expand Up @@ -39,46 +37,3 @@ group:
component_spec.md
design_changes.md
project_thread.md

# prettier.config.js
- repos: |
WordPress/openverse
files:
- source: templates/prettier.config.local.js.jinja
dest: prettier.config.js
template: true
- repos: |
WordPress/openverse-catalog
files:
- source: templates/prettier.config.js.jinja
dest: prettier.config.js
template: true

# .pre-commit-config.yaml
- repos: |
WordPress/openverse
files:
- source: templates/.pre-commit-config.local.yaml.jinja
dest: .pre-commit-config.yaml
template: true
- repos: |
WordPress/openverse-catalog
files:
- source: templates/.pre-commit-config.yaml.jinja
dest: .pre-commit-config.yaml
template:
contains_js_code: false

# pull_request_template.md
- repos: |
WordPress/openverse
files:
- source: templates/pull_request_template.md.jinja
dest: .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
template: true
- repos: |
WordPress/openverse-catalog
files:
- source: templates/pull_request_template.catalog.md.jinja
dest: .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
template: true
18 changes: 0 additions & 18 deletions .pre-commit-config.yaml
Expand Up @@ -150,24 +150,6 @@ repos:
pass_filenames: false
stages:
- push
- id: render-precommit
name: render-precommit
files: ^templates/.*$
entry: bash -c 'just automations/js/render-precommit'
language: system
pass_filenames: false
- id: render-prettier
name: render-prettier
files: ^templates/.*$
entry: bash -c 'just automations/js/render-prettier'
language: system
pass_filenames: false
- id: render-github
name: render-github
files: ^templates/.*$
entry: bash -c 'just automations/js/render-github'
language: system
pass_filenames: false
- id: render-release-drafter
name: render-release-drafter
files: ^templates/.*$
Expand Down
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -24,10 +24,8 @@ more. Openverse is live at [openverse.org](https://openverse.org).
This repository contains most of the codebase, except for the Openverse catalog.
Eventually the catalog will be merged into this repository as well.

- [Catalog](https://github.com/wordpress/openverse-catalog) | The Apache
Airflow-powered system for downloading and storing Openverse's metadata
- [Catalog](catalog/) | The methods used to identify and index over 1.4 billion
Creative Commons licensed works
- [Catalog](catalog/) | The Apache Airflow-powered system for downloading and
storing Openverse's metadata
- [Ingestion server](ingestion_server/) | The mechanism for refreshing the data
from the catalog to the API
- [API](api/) | The Django REST API for querying the database, used by the
Expand All @@ -43,8 +41,8 @@ This repository also contains the following directories.

- [Brand](brand/) | Brand assets for Openverse such as logo and icon and
guidelines for using these assets
- [Templates](templates/) | Common scaffolding code that is rendered and synced
to the catalog repo
- [Templates](templates/) | Jinja templates that can be rendered into common
scaffolding code for the project

## Keep in touch

Expand Down
83 changes: 0 additions & 83 deletions templates/.pre-commit-config.local.yaml.jinja

This file was deleted.

129 changes: 0 additions & 129 deletions templates/.pre-commit-config.yaml.jinja

This file was deleted.

27 changes: 0 additions & 27 deletions templates/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions templates/prettier.config.js.jinja

This file was deleted.

17 changes: 0 additions & 17 deletions templates/prettier.config.local.js.jinja

This file was deleted.