-
Notifications
You must be signed in to change notification settings - Fork 28
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
add basic groups boilerplate #3971
Conversation
Current Aviator status
This PR was merged using Aviator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few small nits, but LGTM.
src/pkg/backup/details/details.go
Outdated
@@ -1025,6 +1026,50 @@ func (i *OneDriveInfo) updateFolder(f *FolderInfo) error { | |||
return updateFolderWithinDrive(OneDriveItem, i.DriveName, i.DriveID, f) | |||
} | |||
|
|||
// GroupsInfo describes a groups item | |||
type GroupsInfo struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like it should be singular Group
instead of Groups
as others are singular, for example OneDriveInfo
and ExchangeInfo
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm waffling on that. Groups
(and similarly, Teams
) with the plural is the formal name of the service. Unlike the others, which are formally named by their singular. Let's talk this over briefly in the meeting tomorrow to see if there are strong feelings either way, yeah?
src/pkg/backup/details/details.go
Outdated
return nil, clues.New("not yet implemented") | ||
} | ||
|
||
func (i *GroupsInfo) updateFolder(f *FolderInfo) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can maybe add it to updateFolder
. Same for uniqueLocation
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I got this in a follow-up PR.
backup/details has gotten to large to navigate. This change splits up the file into multiple files based on structure.
This pull request failed to merge: some CI status(es) failed. Remove the Failed CI(s): Source-Code-Linting |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Adding in some basic boilerplate for groups service.
Does this PR need a docs update or release note?
Type of change