Skip to content

Commit 2d51e2c

Browse files
committed
add dco
Signed-off-by: Stephanie <[email protected]>
1 parent 8774204 commit 2d51e2c

File tree

3 files changed

+55
-6
lines changed

3 files changed

+55
-6
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ This document is a new contributor guide, which outlines the requirements for co
44

55
To get an overview of the project, read the [README](README.md). For more information on devfiles, check the official [devfile docs](https://devfile.io/docs/devfile/2.1.0/user-guide/).
66

7+
## Certificate of Origin
8+
9+
By contributing to this project you agree to the Developer Certificate of
10+
Origin (DCO). This document was created by the Linux Kernel community and is a
11+
simple statement that you, as a contributor, have the legal right to make the
12+
contribution. See the [DCO](./DCO) file for details.
13+
714
## Prerequisites
815

916
The following are required to work on devfile library:

DCO

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
1 Letterman Drive
6+
Suite D4700
7+
San Francisco, CA, 94129
8+
9+
Everyone is permitted to copy and distribute verbatim copies of this
10+
license document, but changing it is not allowed.
11+
12+
13+
Developer's Certificate of Origin 1.1
14+
15+
By making a contribution to this project, I certify that:
16+
17+
(a) The contribution was created in whole or in part by me and I
18+
have the right to submit it under the open source license
19+
indicated in the file; or
20+
21+
(b) The contribution is based upon previous work that, to the best
22+
of my knowledge, is covered under an appropriate open source
23+
license and I have the right under that license to submit that
24+
work with modifications, whether created in whole or in part
25+
by me, under the same open source license (unless I am
26+
permitted to submit under a different license), as indicated
27+
in the file; or
28+
29+
(c) The contribution was provided directly to me by some other
30+
person who certified (a), (b) or (c) and I have not modified
31+
it.
32+
33+
(d) I understand and agree that this project and the contribution
34+
are public and that a record of the contribution (including all
35+
personal information I submit with it, including my sign-off) is
36+
maintained indefinitely and may be redistributed consistent with
37+
this project or the open source license(s) involved.

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ The function documentation can be accessed via [pkg.go.dev](https://pkg.go.dev/g
2020
```go
2121
// ParserArgs is the struct to pass into parser functions which contains required info for parsing devfile.
2222
parserArgs := parser.ParserArgs{
23-
Path: path,
24-
FlattenedDevfile: &flattenedDevfile,
25-
RegistryURLs: registryURLs,
26-
DefaultNamespace: defaultNamespace,
27-
Context: context,
28-
K8sClient: client,
23+
Path: path,
24+
FlattenedDevfile: &flattenedDevfile,
25+
ConvertKubernetesContentInUri: &convertKubernetesContentInUri
26+
RegistryURLs: registryURLs,
27+
DefaultNamespace: defaultNamespace,
28+
Context: context,
29+
K8sClient: client,
30+
ExternalVariables: externalVariables,
2931
}
3032

3133
// Parses the devfile and validates the devfile data
@@ -176,3 +178,6 @@ Issues are tracked in the [devfile/api](https://github.com/devfile/api) repo wit
176178

177179
For devfile/library releases, please check the release [page](https://github.com/devfile/library/releases).
178180

181+
## Contributing
182+
183+
Please see our [contributing.md](./CONTRIBUTING.md).

0 commit comments

Comments
 (0)