|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Welcome to the Eclipse AASX Package Explorer repository. |
| 4 | + |
| 5 | +Whether you're new to the project or joining from the previous repository at admin-shell-io, please see the [Joining Development](#joining-development) section below to get started in the new repository. |
| 6 | + |
| 7 | +The [Development guildelines](#development-guidelines) section includes general guidelines as well as additional quirks specific to Eclipse Foundation projects, so it is definitely worth a read as well. |
| 8 | + |
| 9 | +## Joining Development |
| 10 | + |
| 11 | +### Eclipse Foundation incubated project |
| 12 | + |
| 13 | +AASX Package Explorer is an Eclipse Foundation incubated project and therefore needs to adhere to Eclipse Foundation rules. |
| 14 | +This introduces a slight overhead for every contributor, at least at the very beginning, but it's worth it! |
| 15 | + |
| 16 | +Follow these steps to become a Contributor in Eclipse AASX Package Explorer (and any other project under the Eclipse Foundation umbrella): |
| 17 | + |
| 18 | +1. Create an Eclipse Foundation Account at https://accounts.eclipse.org/ |
| 19 | + |
| 20 | +1. Log in to your Eclipse account and digitally sign the [Eclipse Contributor Agreement](https://www.eclipse.org/projects/handbook/#contributing-eca) |
| 21 | + |
| 22 | +1. Make sure to add your github name (`Edit my account` > `Social Media Links` > `GitHub Username`) |
| 23 | + |
| 24 | +1. Clone or fork the repository and create an initial commit |
| 25 | + - if you have preexisting work that you'd like to include, see [Migrating Development](#migrating-development) |
| 26 | + - ensure that the author credentials on the commit record match the email address and/or GitHub username associated with the Eclipse Foundation Account |
| 27 | + |
| 28 | +1. Create a pull request and work with the project team to merge the contribution |
| 29 | + - your request will need to be reviewed and approved by an Eclipse Contributor (GitHub Maintainer role) |
| 30 | + |
| 31 | +1. Happily develop ever after! |
| 32 | + - or contact a Project Lead or a Committer to be nominated to a Committer yourself (and receive more repository priviledges, such as the ability to merge) |
| 33 | + |
| 34 | +For more details see ["Contributing" in Eclipse Foundation Handbook](https://www.eclipse.org/projects/handbook/#contributing-contributors). |
| 35 | + |
| 36 | +### Migrating development |
| 37 | + |
| 38 | +If you are moving over from admin-shell-io, you can simply clone the repository anew and work on a clean slate. |
| 39 | + |
| 40 | +However, if you have local changes that you want to take over, you will need to update the remotes with the new repository url. |
| 41 | + |
| 42 | +Here is how to |
| 43 | +switch from `https://github.com/admin-shell-io/aasx-package-explorer` |
| 44 | +to `https://github.com/eclipse-aaspe/aaspe` |
| 45 | +from the command line: |
| 46 | + |
| 47 | +1. First, we suggest to `fetch`/`pull` and `commit` all local changes. |
| 48 | + |
| 49 | +2. We can check the current remote anytime with `git remote`: |
| 50 | + |
| 51 | + ``` |
| 52 | + D:\aasx-package-explorer> git remote -vvv |
| 53 | + origin https://github.com/admin-shell-io/aasx-package-explorer (fetch) |
| 54 | + origin https://github.com/admin-shell-io/aasx-package-explorer (push) |
| 55 | + ``` |
| 56 | + |
| 57 | +2. Remove the old remote called "origin" with `git remote rm <remote-name>` |
| 58 | + |
| 59 | + ``` |
| 60 | + D:\aasx-package-explorer> git remote rm origin |
| 61 | + ``` |
| 62 | + |
| 63 | +3. Add the new repository url as a remote, also called "origin", with `git remote add <new-remote-name> <new-remote-url>` |
| 64 | + |
| 65 | + ``` |
| 66 | + D:\aasx-package-explorer> git remote add origin https://github.com/eclipse-aaspe/aaspe |
| 67 | + D:\aasx-package-explorer> git remote -vvv |
| 68 | + origin https://github.com/eclipse-aaspe/aaspe (fetch) |
| 69 | + origin https://github.com/eclipse-aaspe/aaspe (push) |
| 70 | + ``` |
| 71 | + |
| 72 | +4. The git links have been successfully updated. Now you can push a local branch with your work to the new repository using `git push -u <remote-name> <new-remote-branch-name>` |
| 73 | + |
| 74 | + ``` |
| 75 | + D:\aasx-package-explorer> git push -u origin mf/branch |
| 76 | + ``` |
| 77 | + |
| 78 | +> [!note] |
| 79 | +> Please note, it would also work to leave the "origin" untouched and just create a second remote, for example called "aaspe". |
| 80 | +> In this case, you need to specify which remote you want to pull from/push to. |
| 81 | +> It is easier to stick to the usual default remote name "origin". |
| 82 | +
|
| 83 | +## Development guidelines |
| 84 | +
|
| 85 | +tbd: |
| 86 | +
|
| 87 | +- disabled projects |
| 88 | +- dependencies |
| 89 | +- pipelining/admin/configuration |
| 90 | +- releases |
| 91 | +
|
| 92 | +> [!tip] |
| 93 | +> Additional information can be found at the [devdocs](https://admin-shell-io.github.io/aasx-package-explorer/devdoc/) (work-in-progress) |
| 94 | +
|
| 95 | +### How to contribute |
| 96 | +
|
| 97 | +Mechanics of how to actually contribute (e.g., merge/pull requests) are described in [AASX Project Explorer Devdoc](https://admin-shell-io.github.io/aasx-package-explorer/devdoc/getting-started/intro.html). |
| 98 | +
|
| 99 | +To help you familiarize with the concept of Asset Administration Shell we provide the screencasts (both in English and German) at: https://admin-shell-io.com/screencasts/. |
| 100 | +
|
| 101 | +For further information about the Asset Administration Shell, see the publication Details of the Asset Administration Shell by Plattform Industrie 4.0. |
| 102 | +
|
| 103 | +We provide a couple of sample admin shells (packaged as .aasx) for you to test and play with the software at: http://www.admin-shell-io.com/samples/ |
| 104 | +
|
| 105 | +### Terms of Use |
| 106 | +
|
| 107 | +This Eclipse Foundation open project is governed by the Eclipse Foundation |
| 108 | +Development Process and all its source code as well as the released binaries are subject to Eclipse Foundation’s Terms of Use, available at https://www.eclipse.org/legal/termsofuse.php. |
| 109 | +
|
| 110 | +### Communication |
| 111 | +
|
| 112 | +Communication between contributors takes place predominantly through project issues and repository mailing list: TBD |
| 113 | +
|
| 114 | +### Repositories |
| 115 | +
|
| 116 | +Source code is publically available in the https://github.com/eclipse-aaspe/aaspe repository. |
| 117 | +
|
| 118 | +### ECA |
| 119 | +
|
| 120 | +Contributors are required to electronically sign the Eclipse Contributor Agreement (https://www.eclipse.org/legal/ECA.php) to contribute to Eclipse AASX Package Explorer™. |
| 121 | +
|
| 122 | +Commits that are provided by non-committers must contain a Signed-off-by field in |
| 123 | +the footer indicating that the author is aware of the terms by which the |
| 124 | +contribution has been provided to the project. The non-committer must |
| 125 | +additionally have an Eclipse Foundation account and must have a signed Eclipse |
| 126 | +Contributor Agreement (ECA) on file. |
| 127 | +
|
| 128 | +
|
| 129 | +## Appendix: Eclipse sources - useful links |
| 130 | +
|
| 131 | +##### Development process |
| 132 | +
|
| 133 | +https://www.eclipse.org/projects/dev_process/ |
| 134 | +
|
| 135 | +Overview/flowchart of the whole process |
| 136 | +https://www.eclipse.org/projects/dev_process/#6_Development_Process |
| 137 | +
|
| 138 | +##### Project handbook |
| 139 | +
|
| 140 | +https://www.eclipse.org/projects/handbook/ |
| 141 | +
|
| 142 | +Starting an OS project with Eclipse Foundation |
| 143 | +https://www.eclipse.org/projects/handbook/#starting |
| 144 | +
|
| 145 | +User roles (User/Committer/Project Lead/Project Management Committee) |
| 146 | +https://www.eclipse.org/projects/handbook/#roles |
| 147 | +
|
| 148 | +Intellectual property |
| 149 | +https://www.eclipse.org/projects/handbook/#ip |
| 150 | +
|
| 151 | +Releases |
| 152 | +https://www.eclipse.org/projects/handbook/#release |
| 153 | +
|
| 154 | +##### Development resources |
| 155 | +
|
| 156 | +https://wiki.eclipse.org/Development_Resources |
| 157 | +
|
| 158 | +Getting started |
| 159 | +https://wiki.eclipse.org/Development_Resources#Projects:_Getting_Started |
| 160 | +
|
| 161 | +Incubation phase |
| 162 | +https://wiki.eclipse.org/Development_Resources/HOWTO/Incubation_Phase |
| 163 | +
|
| 164 | +##### Eclipsepedia |
| 165 | +
|
| 166 | +https://wiki.eclipse.org/Main_Page |
| 167 | +
|
| 168 | +FAQs |
| 169 | +https://wiki.eclipse.org/The_Official_Eclipse_FAQs |
| 170 | +
|
| 171 | +IP stuff |
| 172 | +https://wiki.eclipse.org/IP_Stuff |
| 173 | +
|
| 174 | +##### Misc |
| 175 | +
|
| 176 | +Legal: committer “due diligence” guidelines |
| 177 | +https://www.eclipse.org/legal/committerguidelines.php |
| 178 | +
|
| 179 | +Project management infrastructure |
| 180 | +https://wiki.eclipse.org/Project_Management_Infrastructure |
| 181 | +
|
| 182 | +Forges (community of communities) |
| 183 | +https://wiki.eclipse.org/Forges |
0 commit comments