Skip to content

feat: add config on source#503

Merged
guillermau merged 5 commits intomainfrom
config-on-source
Apr 16, 2026
Merged

feat: add config on source#503
guillermau merged 5 commits intomainfrom
config-on-source

Conversation

@guillermau
Copy link
Copy Markdown
Collaborator

No description provided.

@guillermau guillermau self-assigned this Mar 17, 2026
Comment thread api/src/core/adapters/GitHub/api/repo.ts Outdated
Comment thread api/src/core/adapters/GitHub/api/repo.ts Outdated
Comment thread api/src/core/adapters/GitHub/api/repo.ts Outdated
Comment thread api/src/core/adapters/GitHub/api/repo.ts Outdated

return Object.fromEntries(
Object.entries(groupedData).map(([wikidataId, { license }]) => [wikidataId, license.split("/").reverse()[0]])
);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ai pas vu de tests nouveau pour valider les nouveaux comportement wikidata. Les existants étaient suffisant ? 

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est juste un déplacement des appels API qui était au niveau au dessus.
L'idée était de les déplacer ici pour commencer si possible à les factoriser et gagner en lisibilité.

@guillermau guillermau merged commit 7c0385d into main Apr 16, 2026
8 checks passed
@guillermau guillermau deleted the config-on-source branch April 16, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants