[ARVADOS] updated: 2.1.0-437-g0d4097db5
Git user
git at public.arvados.org
Fri Feb 12 03:28:25 UTC 2021
Summary of changes:
lib/controller/router/response.go | 4 ++++
1 file changed, 4 insertions(+)
discards 664f9955fc1bd70589defbdcc8bea60f1ec3a79d (commit)
via 0d4097db558891cb641cbf6d29f528b3c6c10b66 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (664f9955fc1bd70589defbdcc8bea60f1ec3a79d)
\
N -- N -- N (0d4097db558891cb641cbf6d29f528b3c6c10b66)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0d4097db558891cb641cbf6d29f528b3c6c10b66
Author: Ward Vandewege <ward at curii.com>
Date: Thu Feb 11 22:08:21 2021 -0500
17119: make the controller group/contents endpoint conform more
completely with the Rails implementation.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/lib/controller/router/response.go b/lib/controller/router/response.go
index 656e73170..2a7bd9e67 100644
--- a/lib/controller/router/response.go
+++ b/lib/controller/router/response.go
@@ -127,7 +127,15 @@ func (rtr *router) sendError(w http.ResponseWriter, err error) {
var infixMap = map[string]interface{}{
"4zz18": arvados.Collection{},
+ "xvhdp": arvados.ContainerRequest{},
+ "dz642": arvados.Container{},
"j7d0g": arvados.Group{},
+ "8i9sb": arvados.Job{},
+ "d1hrv": arvados.PipelineInstance{},
+ "p5p6p": arvados.PipelineTemplate{},
+ "j58dm": arvados.Specimen{},
+ "q1cn2": arvados.Trait{},
+ "7fd4e": arvados.Workflow{},
}
var mungeKind = regexp.MustCompile(`\..`)
diff --git a/sdk/go/arvados/job.go b/sdk/go/arvados/job.go
new file mode 100644
index 000000000..7b287b599
--- /dev/null
+++ b/sdk/go/arvados/job.go
@@ -0,0 +1,49 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// Job is an arvados#job record
+type Job struct {
+ UUID string `json:"uuid"`
+ Etag string `json:"etag"`
+ OwnerUUID string `json:"owner_uuid"`
+ ModifiedByClientUUID string `json:"modified_by_client_uuid"`
+ ModifiedByUserUUID string `json:"modified_by_user_uuid"`
+ ModifiedAt time.Time `json:"modified_at"`
+ SubmitID string `json:"submit_id"`
+ Script string `json:"script"`
+ CancelledByClientUUID string `json:"cancelled_by_client_uuid"`
+ CancelledByUserUUID string `json:"cancelled_by_user_uuid"`
+ CancelledAt time.Time `json:"cancelled_at"`
+ StartedAt time.Time `json:"started_at"`
+ FinishedAt time.Time `json:"finished_at"`
+ Running bool `json:"running"`
+ Success bool `json:"success"`
+ Output string `json:"output"`
+ CreatedAt time.Time `json:"created_at"`
+ UpdatedAt time.Time `json:"updated_at"`
+ IsLockedByUUID string `json:"is_locked_by_uuid"`
+ Log string `json:"log"`
+ TasksSummary string `json:"tasks_summary"`
+ RuntimeConstraints string `json:"runtime_constraints"`
+ Nondeterministic bool `json:"nondeterministic"`
+ Repository string `json:"repository"`
+ SuppliedScriptVersion string `json:"supplied_script_version"`
+ DockerImageLocator string `json:"docker_image_locator"`
+ Priority int `json:"priority"`
+ Description string `json:"description"`
+ State string `json:"state"`
+ ArvadosSDKVersion string `json:"arvados_sdk_version"`
+ Kind string `json:"kind"`
+ Components string `json:"components"`
+ ScriptParametersDigest string `json:"script_parameters_digest"`
+ WritableBy []string `json:"writable_by,omitempty"`
+}
+
+func (g Job) resourceName() string {
+ return "job"
+}
diff --git a/sdk/go/arvados/pipeline_instance.go b/sdk/go/arvados/pipeline_instance.go
new file mode 100644
index 000000000..f2c0c81a0
--- /dev/null
+++ b/sdk/go/arvados/pipeline_instance.go
@@ -0,0 +1,34 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// PipelineInstance is an arvados#pipelineInstance record
+type PipelineInstance struct {
+ UUID string `json:"uuid"`
+ Etag string `json:"etag"`
+ OwnerUUID string `json:"owner_uuid"`
+ CreatedAt time.Time `json:"created_at"`
+ ModifiedByClientUUID string `json:"modified_by_client_uuid"`
+ ModifiedByUserUUID string `json:"modified_by_user_uuid"`
+ ModifiedAt time.Time `json:"modified_at"`
+ PipelineTemplateUUID string `json:"pipeline_template_uuid"`
+ Name string `json:"name"`
+ Components string `json:"components"`
+ UpdatedAt time.Time `json:"updated_at"`
+ Properties string `json:"properties"`
+ State string `json:"state"`
+ ComponentsSummary string `json:"components_summary"`
+ StartedAt time.Time `json:"started_at"`
+ FinishedAt time.Time `json:"finished_at"`
+ Description string `json:"description"`
+ Kind string `json:"kind"`
+ WritableBy []string `json:"writable_by,omitempty"`
+}
+
+func (g PipelineInstance) resourceName() string {
+ return "pipelineInstance"
+}
diff --git a/sdk/go/arvados/pipeline_template.go b/sdk/go/arvados/pipeline_template.go
new file mode 100644
index 000000000..d4677164c
--- /dev/null
+++ b/sdk/go/arvados/pipeline_template.go
@@ -0,0 +1,28 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// PipelineTemplate is an arvados#pipelineTemplate record
+type PipelineTemplate struct {
+ UUID string `json:"uuid"`
+ Etag string `json:"etag"`
+ OwnerUUID string `json:"owner_uuid"`
+ CreatedAt time.Time `json:"created_at"`
+ ModifiedByClientUUID string `json:"modified_by_client_uuid"`
+ ModifiedByUserUUID string `json:"modified_by_user_uuid"`
+ ModifiedAt time.Time `json:"modified_at"`
+ Name string `json:"name"`
+ Components string `json:"components"`
+ UpdatedAt time.Time `json:"updated_at"`
+ Description string `json:"description"`
+ Kind string `json:"kind"`
+ WritableBy []string `json:"writable_by,omitempty"`
+}
+
+func (g PipelineTemplate) resourceName() string {
+ return "pipelineTemplate"
+}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list