Skip to content
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a36883c
Add bi-directional sync feature
Zahed-Riyaz Aug 11, 2025
3c2ca3d
Clean up files
Zahed-Riyaz Aug 16, 2025
45e6370
Rename migration file
Zahed-Riyaz Aug 20, 2025
61b0c24
Add github_token to serializer fields and requests
Zahed-Riyaz Aug 23, 2025
c9db18a
Update sync logic
Zahed-Riyaz Aug 24, 2025
6f59a0d
Implement middleware logic
Zahed-Riyaz Aug 25, 2025
79771c4
Fix field order
Zahed-Riyaz Aug 25, 2025
3d97a03
Omit debug statements
Zahed-Riyaz Aug 25, 2025
9c2b699
Fix github_branch migration file
Zahed-Riyaz Aug 26, 2025
650d823
Pass linting checks
Zahed-Riyaz Aug 26, 2025
cab85e1
Merge branch 'master' into github-sync
Zahed-Riyaz Aug 26, 2025
d581b4b
Add tests
Zahed-Riyaz Aug 26, 2025
10ee702
Add tests for github_utils
Zahed-Riyaz Aug 26, 2025
2eaa465
Pass code quality checks
Zahed-Riyaz Aug 26, 2025
f13a78d
Modify tests
Zahed-Riyaz Aug 26, 2025
dff14ee
Omit non essential model fields
Zahed-Riyaz Aug 26, 2025
8ec3b79
Merge branch 'master' into github-sync
RishabhJain2018 Sep 1, 2025
6686c03
Merge branch 'master' into github-sync
Zahed-Riyaz Sep 1, 2025
d277d88
Pass code quality checks
Zahed-Riyaz Sep 1, 2025
33a7677
Merge branch 'master' into github-sync
Zahed-Riyaz Sep 1, 2025
4a05fa5
Pass code quality checks
Zahed-Riyaz Sep 1, 2025
9cd82fc
Add coverage for missing lines
Zahed-Riyaz Sep 2, 2025
aefbf7a
Merge branch 'master' into github-sync
Zahed-Riyaz Sep 2, 2025
9584291
Fix TestDeserializeObject error
Zahed-Riyaz Sep 2, 2025
65cf97f
Update .travis.yml
Zahed-Riyaz Sep 3, 2025
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
Prev Previous commit
Next Next commit
Fix field order
  • Loading branch information
Zahed-Riyaz committed Aug 25, 2025
commit 79771c463533d28fdd956ccf346533971e270347
4 changes: 2 additions & 2 deletions apps/challenges/github_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def update_challenge_config(self, challenge, changed_field):
return False

# Convert back to YAML
yaml_content = yaml.dump(config_data, default_flow_style=False, allow_unicode=True)
yaml_content = yaml.dump(config_data, default_flow_style=False, allow_unicode=True, sort_keys=False)

# Add documentation header
header_comment = "# If you are not sure what all these fields mean, please refer our documentation here:\n# https://evalai.readthedocs.io/en/latest/configuration.html\n"
Expand Down Expand Up @@ -269,7 +269,7 @@ def update_challenge_phase_config(self, challenge_phase, changed_field):
return False

# Convert back to YAML
yaml_content = yaml.dump(config_data, default_flow_style=False, allow_unicode=True)
yaml_content = yaml.dump(config_data, default_flow_style=False, allow_unicode=True, sort_keys=False)

# Update the file in GitHub
success = self.update_data_from_path("challenge_config.yaml", yaml_content, changed_field)
Expand Down