Skip to content

Commit

Permalink
Fix oppia#12503: Renaming proto folder for further migration to Pytho…
Browse files Browse the repository at this point in the history
…n 3 (oppia#12672)
  • Loading branch information
arpit1912 authored May 11, 2021
1 parent 811233e commit 9906275
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
root: /home/circleci/
paths:
- oppia/extensions/classifiers/proto
- oppia/proto/
- oppia/proto_files/
- oppia/node_modules/
- oppia/third_party/
- oppia_tools/
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
# Answer classification team.
/core/controllers/classifier*.py @oppia/ml
/core/domain/classifier*.py @oppia/ml
/proto/ @oppia/ml
/proto_files/ @oppia/ml
/core/templates/domain/classifier/ @oppia/ml
/core/templates/services/classifier-data-backend-api.service*.ts @oppia/ml
/extensions/classifiers/ @oppia/ml
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*.bak
gae_runtime/*
# Ignore the auto-generated protobuf python code.
proto/*.py
proto_files/*.py
extensions/classifiers/proto/*.ts
extensions/classifiers/proto/*.js
# We have added .git over here such that "git check-ignore" command should
Expand Down
2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: v1beta1
plugins:
- name: python
out: proto
out: proto_files

- name: js
out: extensions/classifiers/proto
Expand Down
2 changes: 1 addition & 1 deletion core/controllers/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from core.domain import email_manager
from core.domain import exp_fetchers
import feconf
from proto import training_job_response_payload_pb2
from proto_files import training_job_response_payload_pb2


def validate_job_result_message_proto(job_result_proto):
Expand Down
4 changes: 2 additions & 2 deletions core/controllers/classifier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
from core.platform import models
from core.tests import test_utils
import feconf
from proto import text_classifier_pb2
from proto import training_job_response_payload_pb2
from proto_files import text_classifier_pb2
from proto_files import training_job_response_payload_pb2
import python_utils

(classifier_models,) = models.Registry.import_models([models.NAMES.classifier])
Expand Down
2 changes: 1 addition & 1 deletion core/domain/classifier_services_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from core.platform import models
from core.tests import test_utils
import feconf
from proto import text_classifier_pb2
from proto_files import text_classifier_pb2
import utils

(classifier_models,) = models.Registry.import_models(
Expand Down
2 changes: 1 addition & 1 deletion core/domain/classifier_validators_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from core.platform import models
from core.tests import test_utils
import feconf
from proto import text_classifier_pb2
from proto_files import text_classifier_pb2
import python_utils

datastore_services = models.Registry.import_datastore_services()
Expand Down
2 changes: 1 addition & 1 deletion core/domain/fs_services_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from core.domain import user_services
from core.tests import test_utils
import feconf
from proto import text_classifier_pb2
from proto_files import text_classifier_pb2
import python_utils
import utils

Expand Down
2 changes: 1 addition & 1 deletion core/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
import feconf
import main
import main_taskqueue
from proto import text_classifier_pb2
from proto_files import text_classifier_pb2
import python_utils
import schema_utils
import utils
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/linters/general_purpose_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'core/tests/build_sources/*', '*.mp3', '*.mp4', 'node_modules/*',
'typings/*', 'local_compiled_js/*', 'webpack_bundles/*',
'core/tests/services_sources/*', 'core/tests/release_sources/tmp_unzip.zip',
'scripts/linters/test_files/*', 'proto/*',
'scripts/linters/test_files/*', 'proto_files/*',
'core/tests/release_sources/tmp_unzip.tar.gz',
'core/templates/combined-tests.spec.ts',
'core/templates/css/oppia-material.css',
Expand Down

0 comments on commit 9906275

Please sign in to comment.