status
stringclasses 1
value | repo_name
stringclasses 31
values | repo_url
stringclasses 31
values | issue_id
int64 1
104k
| title
stringlengths 4
233
| body
stringlengths 0
186k
⌀ | issue_url
stringlengths 38
56
| pull_url
stringlengths 37
54
| before_fix_sha
stringlengths 40
40
| after_fix_sha
stringlengths 40
40
| report_datetime
timestamp[us, tz=UTC] | language
stringclasses 5
values | commit_datetime
timestamp[us, tz=UTC] | updated_file
stringlengths 7
188
| chunk_content
stringlengths 1
1.03M
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
Permissions int
}
func (r *Directory) WithNewFile(path string, contents string, opts ...DirectoryWithNewFileOpts) *Directory {
q := r.q.Select("withNewFile")
q = q.Arg("path", path)
q = q.Arg("contents", contents)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithTimestamps(timestamp int) *Directory {
q := r.q.Select("withTimestamps")
q = q.Arg("timestamp", timestamp)
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithoutDirectory(path string) *Directory {
q := r.q.Select("withoutDirectory")
q = q.Arg("path", path)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithoutFile(path string) *Directory {
q := r.q.Select("withoutFile")
q = q.Arg("path", path)
return &Directory{
q: q,
c: r.c,
}
}
type EnvVariable struct {
q *querybuilder.Selection
c graphql.Client
}
func (r *EnvVariable) Name(ctx context.Context) (string, error) {
q := r.q.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *EnvVariable) Value(ctx context.Context) (string, error) {
q := r.q.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type File struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *File) Contents(ctx context.Context) (string, error) {
q := r.q.Select("contents")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) Export(ctx context.Context, path string) (bool, error) {
q := r.q.Select("export")
q = q.Arg("path", path)
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) ID(ctx context.Context) (FileID, error) {
q := r.q.Select("id")
var response FileID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) XXX_GraphQLType() string {
return "File"
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
}
func (r *File) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *File) Secret() *Secret {
q := r.q.Select("secret")
return &Secret{
q: q,
c: r.c,
}
}
func (r *File) Size(ctx context.Context) (int, error) {
q := r.q.Select("size")
var response int
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) WithTimestamps(timestamp int) *File {
q := r.q.Select("withTimestamps")
q = q.Arg("timestamp", timestamp)
return &File{
q: q,
c: r.c,
}
}
type GitRef struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *GitRef) Digest(ctx context.Context) (string, error) {
q := r.q.Select("digest")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type GitRefTreeOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
SSHKnownHosts string
SSHAuthSocket *Socket
}
func (r *GitRef) Tree(opts ...GitRefTreeOpts) *Directory {
q := r.q.Select("tree")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].SSHKnownHosts) {
q = q.Arg("sshKnownHosts", opts[i].SSHKnownHosts)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].SSHAuthSocket) {
q = q.Arg("sshAuthSocket", opts[i].SSHAuthSocket)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type GitRepository struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *GitRepository) Branch(name string) *GitRef {
q := r.q.Select("branch")
q = q.Arg("name", name)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Branches(ctx context.Context) ([]string, error) {
q := r.q.Select("branches")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *GitRepository) Commit(id string) *GitRef {
q := r.q.Select("commit")
q = q.Arg("id", id)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Tag(name string) *GitRef {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q := r.q.Select("tag")
q = q.Arg("name", name)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Tags(ctx context.Context) ([]string, error) {
q := r.q.Select("tags")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Host struct {
q *querybuilder.Selection
c graphql.Client
}
type HostDirectoryOpts struct {
Exclude []string
Include []string
}
func (r *Host) Directory(path string, opts ...HostDirectoryOpts) *Directory {
q := r.q.Select("directory")
q = q.Arg("path", path)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Host) EnvVariable(name string) *HostVariable {
q := r.q.Select("envVariable")
q = q.Arg("name", name)
return &HostVariable{
q: q,
c: r.c,
}
}
func (r *Host) UnixSocket(path string) *Socket {
q := r.q.Select("unixSocket")
q = q.Arg("path", path)
return &Socket{
q: q,
c: r.c,
}
}
type HostWorkdirOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
Exclude []string
Include []string
}
func (r *Host) Workdir(opts ...HostWorkdirOpts) *Directory {
q := r.q.Select("workdir")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type HostVariable struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *HostVariable) Secret() *Secret {
q := r.q.Select("secret")
return &Secret{
q: q,
c: r.c,
}
}
func (r *HostVariable) Value(ctx context.Context) (string, error) {
q := r.q.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Project struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Project) Extensions(ctx context.Context) ([]Project, error) {
q := r.q.Select("extensions")
var response []Project
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) GeneratedCode() *Directory {
q := r.q.Select("generatedCode")
return &Directory{
q: q,
c: r.c,
}
}
func (r *Project) Install(ctx context.Context) (bool, error) {
q := r.q.Select("install")
var response bool
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) Name(ctx context.Context) (string, error) {
q := r.q.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) Schema(ctx context.Context) (string, error) {
q := r.q.Select("schema")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) SDK(ctx context.Context) (string, error) {
q := r.q.Select("sdk")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Client) CacheVolume(key string) *CacheVolume {
q := r.q.Select("cacheVolume")
q = q.Arg("key", key)
return &CacheVolume{
q: q,
c: r.c,
}
}
type ContainerOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
ID ContainerID
Platform Platform
}
func (r *Client) Container(opts ...ContainerOpts) *Container {
q := r.q.Select("container")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Platform) {
q = q.Arg("platform", opts[i].Platform)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Client) DefaultPlatform(ctx context.Context) (Platform, error) {
q := r.q.Select("defaultPlatform")
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
var response Platform
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type DirectoryOpts struct {
ID DirectoryID
}
func (r *Client) Directory(opts ...DirectoryOpts) *Directory {
q := r.q.Select("directory")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Client) File(id FileID) *File {
q := r.q.Select("file")
q = q.Arg("id", id)
return &File{
q: q,
c: r.c,
}
}
type GitOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
KeepGitDir bool
}
func (r *Client) Git(url string, opts ...GitOpts) *GitRepository {
q := r.q.Select("git")
q = q.Arg("url", url)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].KeepGitDir) {
q = q.Arg("keepGitDir", opts[i].KeepGitDir)
break
}
}
return &GitRepository{
q: q,
c: r.c,
}
}
func (r *Client) Host() *Host {
q := r.q.Select("host")
return &Host{
q: q,
c: r.c,
}
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
func (r *Client) HTTP(url string) *File {
q := r.q.Select("http")
q = q.Arg("url", url)
return &File{
q: q,
c: r.c,
}
}
type PipelineOpts struct {
Description string
}
func (r *Client) Pipeline(name string, opts ...PipelineOpts) *Client {
q := r.q.Select("pipeline")
q = q.Arg("name", name)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
break
}
}
return &Client{
q: q,
c: r.c,
}
}
func (r *Client) Project(name string) *Project {
q := r.q.Select("project")
q = q.Arg("name", name)
return &Project{
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q: q,
c: r.c,
}
}
func (r *Client) Secret(id SecretID) *Secret {
q := r.q.Select("secret")
q = q.Arg("id", id)
return &Secret{
q: q,
c: r.c,
}
}
type SocketOpts struct {
ID SocketID
}
func (r *Client) Socket(opts ...SocketOpts) *Socket {
q := r.q.Select("socket")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
return &Socket{
q: q,
c: r.c,
}
}
type Secret struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Secret) ID(ctx context.Context) (SecretID, error) {
q := r.q.Select("id")
var response SecretID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Secret) XXX_GraphQLType() string {
return "Secret"
}
func (r *Secret) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Secret) Plaintext(ctx context.Context) (string, error) {
q := r.q.Select("plaintext")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Socket struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 3,887 |
✨ Ability to add LABELs to Docker images published via SDK
|
### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you currently working around this?
The workaround is to manually create a dockerfile with the LABELs added. But this is inconvenient and bypasses the features provided by the API and SDK
For broader set of OCI configs: #3886
|
https://github.com/dagger/dagger/issues/3887
|
https://github.com/dagger/dagger/pull/4387
|
c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13
|
e24ce91f30cec5ad7f35f975c46f34969ad3bae3
| 2022-11-17T05:20:38Z |
go
| 2023-01-19T18:15:20Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Socket) ID(ctx context.Context) (SocketID, error) {
q := r.q.Select("id")
var response SocketID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Socket) XXX_GraphQLType() string {
return "Socket"
}
func (r *Socket) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
package dagger
import (
"context"
"dagger.io/dagger/internal/querybuilder"
"github.com/Khan/genqlient/graphql"
)
type CacheID string
type ContainerID string
type DirectoryID string
type FileID string
type Platform string
type SecretID string
type SocketID string
type BuildArg struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Name string `json:"name"`
Value string `json:"value"`
}
type CacheVolume struct {
q *querybuilder.Selection
c graphql.Client
}
func (r *CacheVolume) ID(ctx context.Context) (CacheID, error) {
q := r.q.Select("id")
var response CacheID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *CacheVolume) XXX_GraphQLType() string {
return "CacheVolume"
}
func (r *CacheVolume) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
type Container struct {
q *querybuilder.Selection
c graphql.Client
}
type ContainerBuildOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Dockerfile string
BuildArgs []BuildArg
Target string
}
func (r *Container) Build(context *Directory, opts ...ContainerBuildOpts) *Container {
q := r.q.Select("build")
q = q.Arg("context", context)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Dockerfile) {
q = q.Arg("dockerfile", opts[i].Dockerfile)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].BuildArgs) {
q = q.Arg("buildArgs", opts[i].BuildArgs)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Target) {
q = q.Arg("target", opts[i].Target)
break
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) DefaultArgs(ctx context.Context) ([]string, error) {
q := r.q.Select("defaultArgs")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) Directory(path string) *Directory {
q := r.q.Select("directory")
q = q.Arg("path", path)
return &Directory{
q: q,
c: r.c,
}
}
func (r *Container) Entrypoint(ctx context.Context) ([]string, error) {
q := r.q.Select("entrypoint")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) EnvVariable(ctx context.Context, name string) (string, error) {
q := r.q.Select("envVariable")
q = q.Arg("name", name)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) EnvVariables(ctx context.Context) ([]EnvVariable, error) {
q := r.q.Select("envVariables")
var response []EnvVariable
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type ContainerExecOpts struct {
Args []string
Stdin string
RedirectStdout string
RedirectStderr string
ExperimentalPrivilegedNesting bool
}
func (r *Container) Exec(opts ...ContainerExecOpts) *Container {
q := r.q.Select("exec")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Args) {
q = q.Arg("args", opts[i].Args)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Stdin) {
q = q.Arg("stdin", opts[i].Stdin)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].RedirectStdout) {
q = q.Arg("redirectStdout", opts[i].RedirectStdout)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].RedirectStderr) {
q = q.Arg("redirectStderr", opts[i].RedirectStderr)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ExperimentalPrivilegedNesting) {
q = q.Arg("experimentalPrivilegedNesting", opts[i].ExperimentalPrivilegedNesting)
break
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) ExitCode(ctx context.Context) (int, error) {
q := r.q.Select("exitCode")
var response int
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type ContainerExportOpts struct {
PlatformVariants []*Container
}
func (r *Container) Export(ctx context.Context, path string, opts ...ContainerExportOpts) (bool, error) {
q := r.q.Select("export")
q = q.Arg("path", path)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].PlatformVariants) {
q = q.Arg("platformVariants", opts[i].PlatformVariants)
break
}
}
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
func (r *Container) File(path string) *File {
q := r.q.Select("file")
q = q.Arg("path", path)
return &File{
q: q,
c: r.c,
}
}
func (r *Container) From(address string) *Container {
q := r.q.Select("from")
q = q.Arg("address", address)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) FS() *Directory {
q := r.q.Select("fs")
return &Directory{
q: q,
c: r.c,
}
}
func (r *Container) ID(ctx context.Context) (ContainerID, error) {
q := r.q.Select("id")
var response ContainerID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
func (r *Container) XXX_GraphQLType() string {
return "Container"
}
func (r *Container) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Container) Label(ctx context.Context, name string) (string, error) {
q := r.q.Select("label")
q = q.Arg("name", name)
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) Labels(ctx context.Context) ([]Label, error) {
q := r.q.Select("labels")
var response []Label
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) Mounts(ctx context.Context) ([]string, error) {
q := r.q.Select("mounts")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type ContainerPipelineOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Description string
}
func (r *Container) Pipeline(name string, opts ...ContainerPipelineOpts) *Container {
q := r.q.Select("pipeline")
q = q.Arg("name", name)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) Platform(ctx context.Context) (Platform, error) {
q := r.q.Select("platform")
var response Platform
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type ContainerPublishOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
PlatformVariants []*Container
}
func (r *Container) Publish(ctx context.Context, address string, opts ...ContainerPublishOpts) (string, error) {
q := r.q.Select("publish")
q = q.Arg("address", address)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].PlatformVariants) {
q = q.Arg("platformVariants", opts[i].PlatformVariants)
break
}
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) Rootfs() *Directory {
q := r.q.Select("rootfs")
return &Directory{
q: q,
c: r.c,
}
}
func (r *Container) Stderr(ctx context.Context) (string, error) {
q := r.q.Select("stderr")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) Stdout(ctx context.Context) (string, error) {
q := r.q.Select("stdout")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Container) User(ctx context.Context) (string, error) {
q := r.q.Select("user")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type ContainerWithDefaultArgsOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Args []string
}
func (r *Container) WithDefaultArgs(opts ...ContainerWithDefaultArgsOpts) *Container {
q := r.q.Select("withDefaultArgs")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Args) {
q = q.Arg("args", opts[i].Args)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
type ContainerWithDirectoryOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Exclude []string
Include []string
}
func (r *Container) WithDirectory(path string, directory *Directory, opts ...ContainerWithDirectoryOpts) *Container {
q := r.q.Select("withDirectory")
q = q.Arg("path", path)
q = q.Arg("directory", directory)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithEntrypoint(args []string) *Container {
q := r.q.Select("withEntrypoint")
q = q.Arg("args", args)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithEnvVariable(name string, value string) *Container {
q := r.q.Select("withEnvVariable")
q = q.Arg("name", name)
q = q.Arg("value", value)
return &Container{
q: q,
c: r.c,
}
}
type ContainerWithExecOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Stdin string
RedirectStdout string
RedirectStderr string
ExperimentalPrivilegedNesting bool
}
func (r *Container) WithExec(args []string, opts ...ContainerWithExecOpts) *Container {
q := r.q.Select("withExec")
q = q.Arg("args", args)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Stdin) {
q = q.Arg("stdin", opts[i].Stdin)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].RedirectStdout) {
q = q.Arg("redirectStdout", opts[i].RedirectStdout)
break
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].RedirectStderr) {
q = q.Arg("redirectStderr", opts[i].RedirectStderr)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ExperimentalPrivilegedNesting) {
q = q.Arg("experimentalPrivilegedNesting", opts[i].ExperimentalPrivilegedNesting)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithFS(id *Directory) *Container {
q := r.q.Select("withFS")
q = q.Arg("id", id)
return &Container{
q: q,
c: r.c,
}
}
type ContainerWithFileOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Permissions int
}
func (r *Container) WithFile(path string, source *File, opts ...ContainerWithFileOpts) *Container {
q := r.q.Select("withFile")
q = q.Arg("path", path)
q = q.Arg("source", source)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithLabel(name string, value string) *Container {
q := r.q.Select("withLabel")
q = q.Arg("name", name)
q = q.Arg("value", value)
return &Container{
q: q,
c: r.c,
}
}
type ContainerWithMountedCacheOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Source *Directory
}
func (r *Container) WithMountedCache(path string, cache *CacheVolume, opts ...ContainerWithMountedCacheOpts) *Container {
q := r.q.Select("withMountedCache")
q = q.Arg("path", path)
q = q.Arg("cache", cache)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Source) {
q = q.Arg("source", opts[i].Source)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithMountedDirectory(path string, source *Directory) *Container {
q := r.q.Select("withMountedDirectory")
q = q.Arg("path", path)
q = q.Arg("source", source)
return &Container{
q: q,
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
c: r.c,
}
}
func (r *Container) WithMountedFile(path string, source *File) *Container {
q := r.q.Select("withMountedFile")
q = q.Arg("path", path)
q = q.Arg("source", source)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithMountedSecret(path string, source *Secret) *Container {
q := r.q.Select("withMountedSecret")
q = q.Arg("path", path)
q = q.Arg("source", source)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithMountedTemp(path string) *Container {
q := r.q.Select("withMountedTemp")
q = q.Arg("path", path)
return &Container{
q: q,
c: r.c,
}
}
type ContainerWithNewFileOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Contents string
Permissions int
}
func (r *Container) WithNewFile(path string, opts ...ContainerWithNewFileOpts) *Container {
q := r.q.Select("withNewFile")
q = q.Arg("path", path)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Contents) {
q = q.Arg("contents", opts[i].Contents)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithRootfs(id *Directory) *Container {
q := r.q.Select("withRootfs")
q = q.Arg("id", id)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithSecretVariable(name string, secret *Secret) *Container {
q := r.q.Select("withSecretVariable")
q = q.Arg("name", name)
q = q.Arg("secret", secret)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithUnixSocket(path string, source *Socket) *Container {
q := r.q.Select("withUnixSocket")
q = q.Arg("path", path)
q = q.Arg("source", source)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithUser(name string) *Container {
q := r.q.Select("withUser")
q = q.Arg("name", name)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithWorkdir(path string) *Container {
q := r.q.Select("withWorkdir")
q = q.Arg("path", path)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithoutEnvVariable(name string) *Container {
q := r.q.Select("withoutEnvVariable")
q = q.Arg("name", name)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithoutLabel(name string) *Container {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q := r.q.Select("withoutLabel")
q = q.Arg("name", name)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithoutMount(path string) *Container {
q := r.q.Select("withoutMount")
q = q.Arg("path", path)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) WithoutUnixSocket(path string) *Container {
q := r.q.Select("withoutUnixSocket")
q = q.Arg("path", path)
return &Container{
q: q,
c: r.c,
}
}
func (r *Container) Workdir(ctx context.Context) (string, error) {
q := r.q.Select("workdir")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Directory struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Directory) Diff(other *Directory) *Directory {
q := r.q.Select("diff")
q = q.Arg("other", other)
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) Directory(path string) *Directory {
q := r.q.Select("directory")
q = q.Arg("path", path)
return &Directory{
q: q,
c: r.c,
}
}
type DirectoryDockerBuildOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Dockerfile string
Platform Platform
BuildArgs []BuildArg
Target string
}
func (r *Directory) DockerBuild(opts ...DirectoryDockerBuildOpts) *Container {
q := r.q.Select("dockerBuild")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Dockerfile) {
q = q.Arg("dockerfile", opts[i].Dockerfile)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Platform) {
q = q.Arg("platform", opts[i].Platform)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].BuildArgs) {
q = q.Arg("buildArgs", opts[i].BuildArgs)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Target) {
q = q.Arg("target", opts[i].Target)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
type DirectoryEntriesOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Path string
}
func (r *Directory) Entries(ctx context.Context, opts ...DirectoryEntriesOpts) ([]string, error) {
q := r.q.Select("entries")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Path) {
q = q.Arg("path", opts[i].Path)
break
}
}
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Directory) Export(ctx context.Context, path string) (bool, error) {
q := r.q.Select("export")
q = q.Arg("path", path)
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Directory) File(path string) *File {
q := r.q.Select("file")
q = q.Arg("path", path)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
return &File{
q: q,
c: r.c,
}
}
func (r *Directory) ID(ctx context.Context) (DirectoryID, error) {
q := r.q.Select("id")
var response DirectoryID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Directory) XXX_GraphQLType() string {
return "Directory"
}
func (r *Directory) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Directory) LoadProject(configPath string) *Project {
q := r.q.Select("loadProject")
q = q.Arg("configPath", configPath)
return &Project{
q: q,
c: r.c,
}
}
type DirectoryPipelineOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Description string
}
func (r *Directory) Pipeline(name string, opts ...DirectoryPipelineOpts) *Directory {
q := r.q.Select("pipeline")
q = q.Arg("name", name)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type DirectoryWithDirectoryOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Exclude []string
Include []string
}
func (r *Directory) WithDirectory(path string, directory *Directory, opts ...DirectoryWithDirectoryOpts) *Directory {
q := r.q.Select("withDirectory")
q = q.Arg("path", path)
q = q.Arg("directory", directory)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type DirectoryWithFileOpts struct {
Permissions int
}
func (r *Directory) WithFile(path string, source *File, opts ...DirectoryWithFileOpts) *Directory {
q := r.q.Select("withFile")
q = q.Arg("path", path)
q = q.Arg("source", source)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type DirectoryWithNewDirectoryOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Permissions int
}
func (r *Directory) WithNewDirectory(path string, opts ...DirectoryWithNewDirectoryOpts) *Directory {
q := r.q.Select("withNewDirectory")
q = q.Arg("path", path)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type DirectoryWithNewFileOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Permissions int
}
func (r *Directory) WithNewFile(path string, contents string, opts ...DirectoryWithNewFileOpts) *Directory {
q := r.q.Select("withNewFile")
q = q.Arg("path", path)
q = q.Arg("contents", contents)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Permissions) {
q = q.Arg("permissions", opts[i].Permissions)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithTimestamps(timestamp int) *Directory {
q := r.q.Select("withTimestamps")
q = q.Arg("timestamp", timestamp)
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithoutDirectory(path string) *Directory {
q := r.q.Select("withoutDirectory")
q = q.Arg("path", path)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
return &Directory{
q: q,
c: r.c,
}
}
func (r *Directory) WithoutFile(path string) *Directory {
q := r.q.Select("withoutFile")
q = q.Arg("path", path)
return &Directory{
q: q,
c: r.c,
}
}
type EnvVariable struct {
q *querybuilder.Selection
c graphql.Client
}
func (r *EnvVariable) Name(ctx context.Context) (string, error) {
q := r.q.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *EnvVariable) Value(ctx context.Context) (string, error) {
q := r.q.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type File struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *File) Contents(ctx context.Context) (string, error) {
q := r.q.Select("contents")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) Export(ctx context.Context, path string) (bool, error) {
q := r.q.Select("export")
q = q.Arg("path", path)
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) ID(ctx context.Context) (FileID, error) {
q := r.q.Select("id")
var response FileID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) XXX_GraphQLType() string {
return "File"
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
func (r *File) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *File) Secret() *Secret {
q := r.q.Select("secret")
return &Secret{
q: q,
c: r.c,
}
}
func (r *File) Size(ctx context.Context) (int, error) {
q := r.q.Select("size")
var response int
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *File) WithTimestamps(timestamp int) *File {
q := r.q.Select("withTimestamps")
q = q.Arg("timestamp", timestamp)
return &File{
q: q,
c: r.c,
}
}
type GitRef struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *GitRef) Digest(ctx context.Context) (string, error) {
q := r.q.Select("digest")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type GitRefTreeOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
SSHKnownHosts string
SSHAuthSocket *Socket
}
func (r *GitRef) Tree(opts ...GitRefTreeOpts) *Directory {
q := r.q.Select("tree")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].SSHKnownHosts) {
q = q.Arg("sshKnownHosts", opts[i].SSHKnownHosts)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].SSHAuthSocket) {
q = q.Arg("sshAuthSocket", opts[i].SSHAuthSocket)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type GitRepository struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *GitRepository) Branch(name string) *GitRef {
q := r.q.Select("branch")
q = q.Arg("name", name)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Branches(ctx context.Context) ([]string, error) {
q := r.q.Select("branches")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *GitRepository) Commit(id string) *GitRef {
q := r.q.Select("commit")
q = q.Arg("id", id)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Tag(name string) *GitRef {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q := r.q.Select("tag")
q = q.Arg("name", name)
return &GitRef{
q: q,
c: r.c,
}
}
func (r *GitRepository) Tags(ctx context.Context) ([]string, error) {
q := r.q.Select("tags")
var response []string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Host struct {
q *querybuilder.Selection
c graphql.Client
}
type HostDirectoryOpts struct {
Exclude []string
Include []string
}
func (r *Host) Directory(path string, opts ...HostDirectoryOpts) *Directory {
q := r.q.Select("directory")
q = q.Arg("path", path)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Host) EnvVariable(name string) *HostVariable {
q := r.q.Select("envVariable")
q = q.Arg("name", name)
return &HostVariable{
q: q,
c: r.c,
}
}
func (r *Host) UnixSocket(path string) *Socket {
q := r.q.Select("unixSocket")
q = q.Arg("path", path)
return &Socket{
q: q,
c: r.c,
}
}
type HostWorkdirOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
Exclude []string
Include []string
}
func (r *Host) Workdir(opts ...HostWorkdirOpts) *Directory {
q := r.q.Select("workdir")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Exclude) {
q = q.Arg("exclude", opts[i].Exclude)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Include) {
q = q.Arg("include", opts[i].Include)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
type HostVariable struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *HostVariable) Secret() *Secret {
q := r.q.Select("secret")
return &Secret{
q: q,
c: r.c,
}
}
func (r *HostVariable) Value(ctx context.Context) (string, error) {
q := r.q.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Label struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Label) Name(ctx context.Context) (string, error) {
q := r.q.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Label) Value(ctx context.Context) (string, error) {
q := r.q.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Project struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Project) Extensions(ctx context.Context) ([]Project, error) {
q := r.q.Select("extensions")
var response []Project
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) GeneratedCode() *Directory {
q := r.q.Select("generatedCode")
return &Directory{
q: q,
c: r.c,
}
}
func (r *Project) Install(ctx context.Context) (bool, error) {
q := r.q.Select("install")
var response bool
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) Name(ctx context.Context) (string, error) {
q := r.q.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) Schema(ctx context.Context) (string, error) {
q := r.q.Select("schema")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Project) SDK(ctx context.Context) (string, error) {
q := r.q.Select("sdk")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Client) CacheVolume(key string) *CacheVolume {
q := r.q.Select("cacheVolume")
q = q.Arg("key", key)
return &CacheVolume{
q: q,
c: r.c,
}
}
type ContainerOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
ID ContainerID
Platform Platform
}
func (r *Client) Container(opts ...ContainerOpts) *Container {
q := r.q.Select("container")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Platform) {
q = q.Arg("platform", opts[i].Platform)
break
}
}
return &Container{
q: q,
c: r.c,
}
}
func (r *Client) DefaultPlatform(ctx context.Context) (Platform, error) {
q := r.q.Select("defaultPlatform")
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
var response Platform
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type DirectoryOpts struct {
ID DirectoryID
}
func (r *Client) Directory(opts ...DirectoryOpts) *Directory {
q := r.q.Select("directory")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
return &Directory{
q: q,
c: r.c,
}
}
func (r *Client) File(id FileID) *File {
q := r.q.Select("file")
q = q.Arg("id", id)
return &File{
q: q,
c: r.c,
}
}
type GitOpts struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
KeepGitDir bool
}
func (r *Client) Git(url string, opts ...GitOpts) *GitRepository {
q := r.q.Select("git")
q = q.Arg("url", url)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].KeepGitDir) {
q = q.Arg("keepGitDir", opts[i].KeepGitDir)
break
}
}
return &GitRepository{
q: q,
c: r.c,
}
}
func (r *Client) Host() *Host {
q := r.q.Select("host")
return &Host{
q: q,
c: r.c,
}
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
func (r *Client) HTTP(url string) *File {
q := r.q.Select("http")
q = q.Arg("url", url)
return &File{
q: q,
c: r.c,
}
}
type PipelineOpts struct {
Description string
}
func (r *Client) Pipeline(name string, opts ...PipelineOpts) *Client {
q := r.q.Select("pipeline")
q = q.Arg("name", name)
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
break
}
}
return &Client{
q: q,
c: r.c,
}
}
func (r *Client) Project(name string) *Project {
q := r.q.Select("project")
q = q.Arg("name", name)
return &Project{
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q: q,
c: r.c,
}
}
func (r *Client) Secret(id SecretID) *Secret {
q := r.q.Select("secret")
q = q.Arg("id", id)
return &Secret{
q: q,
c: r.c,
}
}
type SocketOpts struct {
ID SocketID
}
func (r *Client) Socket(opts ...SocketOpts) *Socket {
q := r.q.Select("socket")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
break
}
}
return &Socket{
q: q,
c: r.c,
}
}
type Secret struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Secret) ID(ctx context.Context) (SecretID, error) {
q := r.q.Select("id")
var response SecretID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Secret) XXX_GraphQLType() string {
return "Secret"
}
func (r *Secret) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Secret) Plaintext(ctx context.Context) (string, error) {
q := r.q.Select("plaintext")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
type Socket struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,434 |
Node SDK reference documentation throws multiple warnings during generation
|
### What is the issue?
When the Node SDK reference documentation is generated, the following warnings are seen:
```
/sdk/nodejs/api/client.gen.ts:277:17 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:20 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:22 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:31 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:33 - warning Encountered an unescaped open brace without an inline tag
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:277:41 - warning Unmatched closing brace
277 * The format is {os}/{platform}/{version} (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
/sdk/nodejs/api/client.gen.ts:537:13 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:18 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:20 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:25 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:27 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:32 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:34 - warning Encountered an unescaped open brace without an inline tag
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:537:38 - warning Unmatched closing brace
537 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/
sdk/nodejs/api/client.gen.ts:676:13 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:18 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:20 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:25 - warning Unmatched closing brace
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:27 - warning Encountered an unescaped open brace without an inline tag
676 Formatted as {host}/{user}/{repo}:{tag} (e.g. docker.io/dagger/dagger:main).
/sdk/nodejs/api/client.gen.ts:676:32 - warning Unmatched closing brace
```
|
https://github.com/dagger/dagger/issues/4434
|
https://github.com/dagger/dagger/pull/4436
|
b11c85d67321f8dbc9d18d0ed7a6ffa859f0c94b
|
a0a27ef7915f4a4564f9d2cedfc47281a285c82e
| 2023-01-24T10:25:20Z |
go
| 2023-01-25T20:30:36Z |
sdk/go/api.gen.go
|
q *querybuilder.Selection
c graphql.Client
}
func (r *Socket) ID(ctx context.Context) (SocketID, error) {
q := r.q.Select("id")
var response SocketID
q = q.Bind(&response)
return response, q.Execute(ctx, r.c)
}
func (r *Socket) XXX_GraphQLType() string {
return "Socket"
}
func (r *Socket) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,458 |
🐞 Error with export function
|
### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destination "C:\\Users\\***\\GolandProjects\\FilesManagement\\build" escapes workdir
### Steps to reproduce
code:
```go
func daggerBuild() error {
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout))
if err != nil {
fmt.Printf("Error connecting to Dagger Engine: %s\n", err)
os.Exit(1)
}
defer client.Close()
src := client.Host().Directory(".")
golang := client.Container().From("golang:latest")
golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
path := "build/"
golang = golang.WithExec([]string{"go", "build", "-o", path})
output := golang.Directory(path)
_, err = output.Export(ctx, path)
if err != nil {
fmt.Printf("Error on export: %s", err)
}
return nil
}
```
### SDK version
Go SDK 0.4.3
### OS version
Windows 11
|
https://github.com/dagger/dagger/issues/4458
|
https://github.com/dagger/dagger/pull/4486
|
0c415b96f3fc86e9087a05fab868b98b3f775f45
|
c257683ca9ea81f75de8c3c9c07804d286ab9087
| 2023-01-26T18:10:41Z |
go
| 2023-01-30T22:46:16Z |
core/host.go
|
package core
import (
"context"
"fmt"
"path/filepath"
"strings"
bkclient "github.com/moby/buildkit/client"
"github.com/moby/buildkit/client/llb"
bkgw "github.com/moby/buildkit/frontend/gateway/client"
specs "github.com/opencontainers/image-spec/specs-go/v1"
)
type Host struct {
Workdir string
DisableRW bool
}
func NewHost(workdir string, disableRW bool) *Host {
return &Host{
Workdir: workdir,
DisableRW: disableRW,
}
}
type HostVariable struct {
Name string `json:"name"`
}
type CopyFilter struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,458 |
🐞 Error with export function
|
### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destination "C:\\Users\\***\\GolandProjects\\FilesManagement\\build" escapes workdir
### Steps to reproduce
code:
```go
func daggerBuild() error {
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout))
if err != nil {
fmt.Printf("Error connecting to Dagger Engine: %s\n", err)
os.Exit(1)
}
defer client.Close()
src := client.Host().Directory(".")
golang := client.Container().From("golang:latest")
golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
path := "build/"
golang = golang.WithExec([]string{"go", "build", "-o", path})
output := golang.Directory(path)
_, err = output.Export(ctx, path)
if err != nil {
fmt.Printf("Error on export: %s", err)
}
return nil
}
```
### SDK version
Go SDK 0.4.3
### OS version
Windows 11
|
https://github.com/dagger/dagger/issues/4458
|
https://github.com/dagger/dagger/pull/4486
|
0c415b96f3fc86e9087a05fab868b98b3f775f45
|
c257683ca9ea81f75de8c3c9c07804d286ab9087
| 2023-01-26T18:10:41Z |
go
| 2023-01-30T22:46:16Z |
core/host.go
|
Exclude []string
Include []string
}
func (host *Host) Directory(ctx context.Context, dirPath string, pipeline PipelinePath, platform specs.Platform, filter CopyFilter) (*Directory, error) {
if host.DisableRW {
return nil, ErrHostRWDisabled
}
var absPath string
var err error
if filepath.IsAbs(dirPath) {
absPath = dirPath
} else {
absPath = filepath.Join(host.Workdir, dirPath)
if !strings.HasPrefix(absPath, host.Workdir) {
return nil, fmt.Errorf("path %q escapes workdir; use an absolute path instead", dirPath)
}
}
absPath, err = filepath.EvalSymlinks(absPath)
if err != nil {
return nil, fmt.Errorf("eval symlinks: %w", err)
}
directoryPipeline := pipeline.Add(Pipeline{
Name: fmt.Sprintf("host.directory %s", absPath),
})
localID := fmt.Sprintf("host:%s", absPath)
localOpts := []llb.LocalOption{
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,458 |
🐞 Error with export function
|
### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destination "C:\\Users\\***\\GolandProjects\\FilesManagement\\build" escapes workdir
### Steps to reproduce
code:
```go
func daggerBuild() error {
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout))
if err != nil {
fmt.Printf("Error connecting to Dagger Engine: %s\n", err)
os.Exit(1)
}
defer client.Close()
src := client.Host().Directory(".")
golang := client.Container().From("golang:latest")
golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
path := "build/"
golang = golang.WithExec([]string{"go", "build", "-o", path})
output := golang.Directory(path)
_, err = output.Export(ctx, path)
if err != nil {
fmt.Printf("Error on export: %s", err)
}
return nil
}
```
### SDK version
Go SDK 0.4.3
### OS version
Windows 11
|
https://github.com/dagger/dagger/issues/4458
|
https://github.com/dagger/dagger/pull/4486
|
0c415b96f3fc86e9087a05fab868b98b3f775f45
|
c257683ca9ea81f75de8c3c9c07804d286ab9087
| 2023-01-26T18:10:41Z |
go
| 2023-01-30T22:46:16Z |
core/host.go
|
directoryPipeline.LLBOpt(),
llb.WithCustomNamef("upload %s", absPath),
llb.SharedKeyHint(localID),
llb.LocalUniqueID(localID),
}
if len(filter.Exclude) > 0 {
localOpts = append(localOpts, llb.ExcludePatterns(filter.Exclude))
}
if len(filter.Include) > 0 {
localOpts = append(localOpts, llb.IncludePatterns(filter.Include))
}
st := llb.Scratch().File(
llb.Copy(llb.Local(absPath, localOpts...), "/", "/"),
directoryPipeline.LLBOpt(),
llb.WithCustomNamef("copy %s", absPath),
)
dir, err := NewDirectory(ctx, st, "", pipeline, platform)
if err != nil {
return nil, err
}
return dir, nil
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,458 |
🐞 Error with export function
|
### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destination "C:\\Users\\***\\GolandProjects\\FilesManagement\\build" escapes workdir
### Steps to reproduce
code:
```go
func daggerBuild() error {
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout))
if err != nil {
fmt.Printf("Error connecting to Dagger Engine: %s\n", err)
os.Exit(1)
}
defer client.Close()
src := client.Host().Directory(".")
golang := client.Container().From("golang:latest")
golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
path := "build/"
golang = golang.WithExec([]string{"go", "build", "-o", path})
output := golang.Directory(path)
_, err = output.Export(ctx, path)
if err != nil {
fmt.Printf("Error on export: %s", err)
}
return nil
}
```
### SDK version
Go SDK 0.4.3
### OS version
Windows 11
|
https://github.com/dagger/dagger/issues/4458
|
https://github.com/dagger/dagger/pull/4486
|
0c415b96f3fc86e9087a05fab868b98b3f775f45
|
c257683ca9ea81f75de8c3c9c07804d286ab9087
| 2023-01-26T18:10:41Z |
go
| 2023-01-30T22:46:16Z |
core/host.go
|
}
func (host *Host) Socket(ctx context.Context, sockPath string) (*Socket, error) {
if host.DisableRW {
return nil, ErrHostRWDisabled
}
var absPath string
var err error
if filepath.IsAbs(sockPath) {
absPath = sockPath
} else {
absPath = filepath.Join(host.Workdir, sockPath)
if !strings.HasPrefix(absPath, host.Workdir) {
return nil, fmt.Errorf("path %q escapes workdir; use an absolute path instead", sockPath)
}
}
absPath, err = filepath.EvalSymlinks(absPath)
if err != nil {
return nil, fmt.Errorf("eval symlinks: %w", err)
}
return NewHostSocket(absPath)
}
func (host *Host) Export(
ctx context.Context,
export bkclient.ExportEntry,
dest string,
bkClient *bkclient.Client,
solveOpts bkclient.SolveOpt,
solveCh chan<- *bkclient.SolveStatus,
buildFn bkgw.BuildFunc,
) error {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,458 |
🐞 Error with export function
|
### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destination "C:\\Users\\***\\GolandProjects\\FilesManagement\\build" escapes workdir
### Steps to reproduce
code:
```go
func daggerBuild() error {
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout))
if err != nil {
fmt.Printf("Error connecting to Dagger Engine: %s\n", err)
os.Exit(1)
}
defer client.Close()
src := client.Host().Directory(".")
golang := client.Container().From("golang:latest")
golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
path := "build/"
golang = golang.WithExec([]string{"go", "build", "-o", path})
output := golang.Directory(path)
_, err = output.Export(ctx, path)
if err != nil {
fmt.Printf("Error on export: %s", err)
}
return nil
}
```
### SDK version
Go SDK 0.4.3
### OS version
Windows 11
|
https://github.com/dagger/dagger/issues/4458
|
https://github.com/dagger/dagger/pull/4486
|
0c415b96f3fc86e9087a05fab868b98b3f775f45
|
c257683ca9ea81f75de8c3c9c07804d286ab9087
| 2023-01-26T18:10:41Z |
go
| 2023-01-30T22:46:16Z |
core/host.go
|
if host.DisableRW {
return ErrHostRWDisabled
}
ch, wg := mirrorCh(solveCh)
defer wg.Wait()
solveOpts.Exports = []bkclient.ExportEntry{export}
_, err := bkClient.Build(ctx, solveOpts, "", buildFn, ch)
return err
}
func (host *Host) NormalizeDest(dest string) (string, error) {
if filepath.IsAbs(dest) {
return dest, nil
}
wd, err := filepath.EvalSymlinks(host.Workdir)
if err != nil {
return "", err
}
dest = filepath.Clean(filepath.Join(wd, dest))
if dest == wd {
return dest, nil
}
if !strings.HasPrefix(dest, wd+"/") {
return "", fmt.Errorf("destination %q escapes workdir", dest)
}
return dest, nil
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
package core
import (
"context"
"encoding/json"
"fmt"
"io"
"io/fs"
"os"
"path"
"path/filepath"
"strconv"
"strings"
"github.com/containerd/containerd/platforms"
"github.com/docker/distribution/reference"
bkclient "github.com/moby/buildkit/client"
"github.com/moby/buildkit/client/llb"
"github.com/moby/buildkit/exporter/containerimage/exptypes"
dockerfilebuilder "github.com/moby/buildkit/frontend/dockerfile/builder"
bkgw "github.com/moby/buildkit/frontend/gateway/client"
"github.com/moby/buildkit/solver/pb"
"github.com/opencontainers/go-digest"
specs "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors"
)
type Container struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
ID ContainerID `json:"id"`
}
func NewContainer(id ContainerID, pipeline PipelinePath, platform specs.Platform) (*Container, error) {
if id == "" {
payload := &containerIDPayload{
Pipeline: pipeline.Copy(),
Platform: platform,
}
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
return &Container{ID: id}, nil
}
type ContainerID string
func (id ContainerID) decode() (*containerIDPayload, error) {
if id == "" {
return &containerIDPayload{}, nil
}
var payload containerIDPayload
if err := decodeID(&payload, id); err != nil {
return nil, err
}
return &payload, nil
}
type containerIDPayload struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
FS *pb.Definition `json:"fs"`
Config specs.ImageConfig `json:"cfg"`
Pipeline PipelinePath `json:"pipeline"`
Mounts ContainerMounts `json:"mounts,omitempty"`
Meta *pb.Definition `json:"meta,omitempty"`
Platform specs.Platform `json:"platform,omitempty"`
Secrets []ContainerSecret `json:"secret_env,omitempty"`
Sockets []ContainerSocket `json:"sockets,omitempty"`
}
type ContainerSecret struct {
Secret SecretID `json:"secret"`
EnvName string `json:"env,omitempty"`
MountPath string `json:"path,omitempty"`
}
type ContainerSocket struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
Socket SocketID `json:"socket"`
UnixPath string `json:"unix_path,omitempty"`
}
func (payload *containerIDPayload) Encode() (ContainerID, error) {
id, err := encodeID(payload)
if err != nil {
return "", err
}
return ContainerID(id), nil
}
func (payload *containerIDPayload) FSState() (llb.State, error) {
if payload.FS == nil {
return llb.Scratch(), nil
}
return defToState(payload.FS)
}
const metaMountDestPath = "/.dagger_meta_mount"
const metaSourcePath = "meta"
func (payload *containerIDPayload) MetaState() (*llb.State, error) {
if payload.Meta == nil {
return nil, nil
}
metaSt, err := defToState(payload.Meta)
if err != nil {
return nil, err
}
return &metaSt, nil
}
type ContainerMount struct {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
Source *pb.Definition `json:"source,omitempty"`
SourcePath string `json:"source_path,omitempty"`
Target string `json:"target"`
CacheID string `json:"cache_id,omitempty"`
CacheSharingMode string `json:"cache_sharing,omitempty"`
Tmpfs bool `json:"tmpfs,omitempty"`
}
func (mnt ContainerMount) SourceState() (llb.State, error) {
if mnt.Source == nil {
return llb.Scratch(), nil
}
return defToState(mnt.Source)
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
type ContainerMounts []ContainerMount
func (mnts ContainerMounts) With(newMnt ContainerMount) ContainerMounts {
mntsCp := make(ContainerMounts, 0, len(mnts))
parent := newMnt.Target + "/"
for _, mnt := range mnts {
if mnt.Target == newMnt.Target || strings.HasPrefix(mnt.Target, parent) {
continue
}
mntsCp = append(mntsCp, mnt)
}
mntsCp = append(mntsCp, newMnt)
return mntsCp
}
func (container *Container) From(ctx context.Context, gw bkgw.Client, addr string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
platform := payload.Platform
pipeline := payload.Pipeline.Add(Pipeline{
Name: fmt.Sprintf("from %s", addr),
})
refName, err := reference.ParseNormalizedNamed(addr)
if err != nil {
return nil, err
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
ref := reference.TagNameOnly(refName).String()
_, cfgBytes, err := gw.ResolveImageConfig(ctx, ref, llb.ResolveImageConfigOpt{
Platform: &platform,
ResolveMode: llb.ResolveModeDefault.String(),
LogName: CustomName{Name: fmt.Sprintf("resolve image config for %s", ref), Pipeline: pipeline}.String(),
})
if err != nil {
return nil, err
}
var imgSpec specs.Image
if err := json.Unmarshal(cfgBytes, &imgSpec); err != nil {
return nil, err
}
dir, err := NewDirectory(ctx,
llb.Image(addr,
llb.WithCustomNamef("pull %s", ref),
pipeline.LLBOpt(),
),
"/", payload.Pipeline, platform)
if err != nil {
return nil, err
}
ctr, err := container.WithRootFS(ctx, dir)
if err != nil {
return nil, err
}
return ctr.UpdateImageConfig(ctx, func(specs.ImageConfig) specs.ImageConfig {
return imgSpec.Config
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
})
}
const defaultDockerfileName = "Dockerfile"
func (container *Container) Build(ctx context.Context, gw bkgw.Client, context *Directory, dockerfile string, buildArgs []BuildArg, target string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
ctxPayload, err := context.ID.Decode()
if err != nil {
return nil, err
}
platform := payload.Platform
opts := map[string]string{
"platform": platforms.Format(platform),
"contextsubdir": ctxPayload.Dir,
}
if dockerfile != "" {
opts["filename"] = path.Join(ctxPayload.Dir, dockerfile)
} else {
opts["filename"] = path.Join(ctxPayload.Dir, defaultDockerfileName)
}
if target != "" {
opts["target"] = target
}
for _, buildArg := range buildArgs {
opts["build-arg:"+buildArg.Name] = buildArg.Value
}
inputs := map[string]*pb.Definition{
dockerfilebuilder.DefaultLocalNameContext: ctxPayload.LLB,
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
dockerfilebuilder.DefaultLocalNameDockerfile: ctxPayload.LLB,
}
res, err := gw.Solve(ctx, bkgw.SolveRequest{
Frontend: "dockerfile.v0",
FrontendOpt: opts,
FrontendInputs: inputs,
})
if err != nil {
return nil, err
}
bkref, err := res.SingleRef()
if err != nil {
return nil, err
}
var st llb.State
if bkref == nil {
st = llb.Scratch()
} else {
st, err = bkref.ToState()
if err != nil {
return nil, err
}
}
def, err := st.Marshal(ctx, llb.Platform(platform))
if err != nil {
return nil, err
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
pipeline := payload.Pipeline.Add(Pipeline{
Name: "docker build",
})
for dgst, metadata := range def.Metadata {
metadata.ProgressGroup = pipeline.ProgressGroup()
def.Metadata[dgst] = metadata
}
payload.FS = def.ToPB()
cfgBytes, found := res.Metadata[exptypes.ExporterImageConfigKey]
if found {
var imgSpec specs.Image
if err := json.Unmarshal(cfgBytes, &imgSpec); err != nil {
return nil, err
}
payload.Config = imgSpec.Config
}
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) RootFS(ctx context.Context) (*Directory, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
return (&directoryIDPayload{
LLB: payload.FS,
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
Platform: payload.Platform,
Pipeline: payload.Pipeline,
}).ToDirectory()
}
func (container *Container) WithRootFS(ctx context.Context, dir *Directory) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
dirPayload, err := dir.ID.Decode()
if err != nil {
return nil, err
}
payload.FS = dirPayload.LLB
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithDirectory(ctx context.Context, gw bkgw.Client, subdir string, src *Directory, filter CopyFilter) (*Container, error) {
return container.updateRootFS(ctx, gw, subdir, func(dir *Directory) (*Directory, error) {
return dir.WithDirectory(ctx, ".", src, filter)
})
}
func (container *Container) WithFile(ctx context.Context, gw bkgw.Client, subdir string, src *File, permissions fs.FileMode) (*Container, error) {
return container.updateRootFS(ctx, gw, subdir, func(dir *Directory) (*Directory, error) {
return dir.WithFile(ctx, ".", src, permissions)
})
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
func (container *Container) WithNewFile(ctx context.Context, gw bkgw.Client, dest string, content []byte, permissions fs.FileMode) (*Container, error) {
dir, file := filepath.Split(dest)
return container.updateRootFS(ctx, gw, dir, func(dir *Directory) (*Directory, error) {
return dir.WithNewFile(ctx, gw, file, content, permissions)
})
}
func (container *Container) WithMountedDirectory(ctx context.Context, target string, source *Directory) (*Container, error) {
payload, err := source.ID.Decode()
if err != nil {
return nil, err
}
return container.withMounted(target, payload.LLB, payload.Dir)
}
func (container *Container) WithMountedFile(ctx context.Context, target string, source *File) (*Container, error) {
payload, err := source.ID.decode()
if err != nil {
return nil, err
}
return container.withMounted(target, payload.LLB, payload.File)
}
func (container *Container) WithMountedCache(ctx context.Context, target string, cache CacheID, source *Directory) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
cachePayload, err := cache.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
mount := ContainerMount{
Target: target,
CacheID: cachePayload.Sum(),
CacheSharingMode: "shared",
}
if source != nil {
srcPayload, err := source.ID.Decode()
if err != nil {
return nil, err
}
mount.Source = srcPayload.LLB
mount.SourcePath = srcPayload.Dir
}
payload.Mounts = payload.Mounts.With(mount)
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithMountedTemp(ctx context.Context, target string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
payload.Mounts = payload.Mounts.With(ContainerMount{
Target: target,
Tmpfs: true,
})
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithMountedSecret(ctx context.Context, target string, source *Secret) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
payload.Secrets = append(payload.Secrets, ContainerSecret{
Secret: source.ID,
MountPath: target,
})
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithoutMount(ctx context.Context, target string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
var found bool
var foundIdx int
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
for i := len(payload.Mounts) - 1; i >= 0; i-- {
if payload.Mounts[i].Target == target {
found = true
foundIdx = i
break
}
}
if found {
payload.Mounts = append(payload.Mounts[:foundIdx], payload.Mounts[foundIdx+1:]...)
}
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) Mounts(ctx context.Context) ([]string, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
mounts := []string{}
for _, mnt := range payload.Mounts {
mounts = append(mounts, mnt.Target)
}
return mounts, nil
}
func (container *Container) WithUnixSocket(ctx context.Context, target string, source *Socket) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
newSocket := ContainerSocket{
Socket: source.ID,
UnixPath: target,
}
var replaced bool
for i, sock := range payload.Sockets {
if sock.UnixPath == target {
payload.Sockets[i] = newSocket
replaced = true
break
}
}
if !replaced {
payload.Sockets = append(payload.Sockets, newSocket)
}
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithoutUnixSocket(ctx context.Context, target string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
for i, sock := range payload.Sockets {
if sock.UnixPath == target {
payload.Sockets = append(payload.Sockets[:i], payload.Sockets[i+1:]...)
break
}
}
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) WithSecretVariable(ctx context.Context, name string, secret *Secret) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
payload.Secrets = append(payload.Secrets, ContainerSecret{
Secret: secret.ID,
EnvName: name,
})
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) Directory(ctx context.Context, gw bkgw.Client, dirPath string) (*Directory, error) {
dir, _, err := locatePath(ctx, container, dirPath, gw, NewDirectory)
if err != nil {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
return nil, err
}
info, err := dir.Stat(ctx, gw, ".")
if err != nil {
return nil, err
}
if !info.IsDir() {
return nil, fmt.Errorf("path %s is a file, not a directory", dirPath)
}
return dir, nil
}
func (container *Container) File(ctx context.Context, gw bkgw.Client, filePath string) (*File, error) {
file, _, err := locatePath(ctx, container, filePath, gw, NewFile)
if err != nil {
return nil, err
}
info, err := file.Stat(ctx, gw)
if err != nil {
return nil, err
}
if info.IsDir() {
return nil, fmt.Errorf("path %s is a directory, not a file", filePath)
}
return file, nil
}
func locatePath[T *File | *Directory](
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
ctx context.Context,
container *Container,
containerPath string,
gw bkgw.Client,
init func(context.Context, llb.State, string, PipelinePath, specs.Platform) (T, error),
) (T, *ContainerMount, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, nil, err
}
containerPath = absPath(payload.Config.WorkingDir, containerPath)
var found T
for i := len(payload.Mounts) - 1; i >= 0; i-- {
mnt := payload.Mounts[i]
if containerPath == mnt.Target || strings.HasPrefix(containerPath, mnt.Target+"/") {
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
if mnt.Tmpfs {
return nil, nil, fmt.Errorf("%s: cannot retrieve path from tmpfs", containerPath)
}
if mnt.CacheID != "" {
return nil, nil, fmt.Errorf("%s: cannot retrieve path from cache", containerPath)
}
st, err := mnt.SourceState()
if err != nil {
return nil, nil, err
}
sub := mnt.SourcePath
if containerPath != mnt.Target {
dirSub := strings.TrimPrefix(containerPath, mnt.Target+"/")
if dirSub != "" {
sub = path.Join(sub, dirSub)
}
}
found, err := init(ctx, st, sub, payload.Pipeline, payload.Platform)
if err != nil {
return nil, nil, err
}
return found, &mnt, nil
}
}
st, err := payload.FSState()
if err != nil {
return nil, nil, err
}
|
closed
|
dagger/dagger
|
https://github.com/dagger/dagger
| 4,085 |
Container From removes existing env vars
|
Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I suppose the correct behavior is not totally obvious, but I'd argue that we should not remove existing env vars because:
1. It can be nice for certain use cases. I was trying to set some env vars that would be shared across all our sdk base containers but I couldn't set them in a common base container because each SDK calls `From`.
2. Other APIs like `WithMountedFile` change the container state but don't get removed by calling `From`, so we should be consistent one way or the other at least
|
https://github.com/dagger/dagger/issues/4085
|
https://github.com/dagger/dagger/pull/4455
|
3c0192e2b9c644ee4a5aad285df94f07a107ccd8
|
b43d267a7f7657017188bec57d7826059475a2f3
| 2022-12-02T23:30:33Z |
go
| 2023-01-31T18:49:32Z |
core/container.go
|
found, err = init(ctx, st, containerPath, payload.Pipeline, payload.Platform)
if err != nil {
return nil, nil, err
}
return found, nil, nil
}
func (container *Container) withMounted(target string, srcDef *pb.Definition, srcPath string) (*Container, error) {
payload, err := container.ID.decode()
if err != nil {
return nil, err
}
target = absPath(payload.Config.WorkingDir, target)
payload.Mounts = payload.Mounts.With(ContainerMount{
Source: srcDef,
SourcePath: srcPath,
Target: target,
})
id, err := payload.Encode()
if err != nil {
return nil, err
}
return &Container{ID: id}, nil
}
func (container *Container) updateRootFS(ctx context.Context, gw bkgw.Client, subdir string, fn func(dir *Directory) (*Directory, error)) (*Container, error) {
dir, mount, err := locatePath(ctx, container, subdir, gw, NewDirectory)
if err != nil {
return nil, err
}
containerPayload, err := container.ID.decode()
if err != nil {
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.