Skip to content

First draft implementation for scheme handler registry#405

Draft
MMulthaupt wants to merge 12 commits intomasterfrom
feature-scheme-handlers
Draft

First draft implementation for scheme handler registry#405
MMulthaupt wants to merge 12 commits intomasterfrom
feature-scheme-handlers

Conversation

@MMulthaupt
Copy link
Copy Markdown
Collaborator

@MMulthaupt MMulthaupt commented May 26, 2023

See TODOs in code.

Additional TODOs:

  • SchemeHandlers might be better suited to be an array. systemuri could then take a []string of arguments to have more information to go by if ever needed. We lose nothing in the process and SchemeHandlers.ArgumentLine could be renamed to SchemeHandlers.Arguments.

See also:

https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)

@dragetd
Copy link
Copy Markdown
Member

dragetd commented Jun 2, 2023

Currently going through internal testing.


func (u *Updater) Prepare(deploymentConfigURL string) {
log.Infof("Downloading deployment config from \"%s\".", deploymentConfigURL)
func (u *Updater) ObtainDeploymentConfig(deploymentConfigURL string) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

exported method Updater.ObtainDeploymentConfig should have comment or be unexported

Execution ExecutionConfig `json:"Execution,omitempty"`
}

type SchemeHandler struct {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

exported type SchemeHandler should have comment or be unexported

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