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

deporecate repo api #82

Merged
merged 1 commit into from
Oct 11, 2024
Merged
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
6 changes: 3 additions & 3 deletions src/GitLabHealth-Model-Importer/GLHModelImporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ GLHModelImporter >> importContributedProjectsOfUser: aGLHUser [
page := page + 1.
('import contributed project of user ' , aGLHUser name , ' page '
, page printString) recordInfo.
results := self glhApi
results := self repoApi
contributedProjectsOfUserId: aGLHUser id
orderBy: 'last_activity_at'
simple: true
Expand Down Expand Up @@ -820,7 +820,7 @@ GLHModelImporter >> importUser: aUserID [
detect: [ :user | user id = aUserID ]
ifFound: [ :user | ^ user ].
('Import user: ' , aUserID printString) recordInfo.
result := self glhApi user: aUserID.
result := self repoApi user: aUserID.
userResult := self parseUserResult: result.
^ self glhModel add: userResult unless: self blockOnIdEquality
]
Expand All @@ -841,7 +841,7 @@ GLHModelImporter >> importUserByUsername: anUsername [
| result userId searchResult |
('Import user with username: '
, anUsername printString) recordInfo.
result := self glhApi usersSearchByUsername:
result := self repoApi usersSearchByUsername:
anUsername.
searchResult := NeoJSONReader fromString: result.

Expand Down
Loading