|
| 1 | + Title: Migrate to gitlab.com |
| 2 | + TEP: 19 |
| 3 | + State: DRAFT |
| 4 | + Date: 2021-03-08 |
| 5 | + Drivers: Carlos Pascual-Izarra [email protected] |
| 6 | + URL: https://github.com/cpascual/taurus/blob/tep19/doc/source/tep/TEP19.md |
| 7 | + License: http://www.jclark.com/xml/copying.txt |
| 8 | + Abstract: |
| 9 | + Move the project hosting from github.com to gitlab.com |
| 10 | + |
| 11 | +## Introduction & background |
| 12 | + |
| 13 | +Hosting Taurus in [gitlab.com](GL) was already considered when we |
| 14 | +[migrated](TEP16) to [github.com](GH) (GH) from SourceForge. With the |
| 15 | +acquisition of GH by Microsoft, the idea of moving from GH to GL was considered, |
| 16 | +but never acted upon (see https://github.com/taurus-org/taurus/issues/761). |
| 17 | + |
| 18 | +The interest in this proposal was renewed with the announcement that Travis |
| 19 | +would discontinue its unlimited CI support for Free Software Projects (see |
| 20 | +https://github.com/taurus-org/taurus/issues/1139#issuecomment-723565619 ) and |
| 21 | +the resulting decision by the Tango community to move its projects to GL |
| 22 | +( https://github.com/tango-controls/TangoTickets/issues/47 ). |
| 23 | + |
| 24 | +This TEP proposes to take the chance of the forced CI refactoring because of |
| 25 | +discontinued Travis support to do the move to GL. The pros and cons of this |
| 26 | +option versus staying in GH (and refactor the CI to use GH actions) have been |
| 27 | +already discussed (see https://gitlab.com/tango-controls/cppTango/-/issues/812), |
| 28 | +but here we just point the main reasons: |
| 29 | + |
| 30 | +- Freedom: GL is based on Free Software while GH is not. |
| 31 | +- Avoid vendor lock-in: GL free nature implies that in the worst case we could |
| 32 | + move to a self-hosted instance without affecting our project configurations. |
| 33 | +- Homogenizing enviroments: most institutes in the taurus community already run |
| 34 | + their own GL instances locally. Having tango on GL would facilitate |
| 35 | + transferring projects from local GL instances to community-shared projects. |
| 36 | + Also, it would facilitate community learning and cooperating since we would |
| 37 | + be using the same interface and environment both internally and externally. |
| 38 | +- Packaging: Gitlab is already used for debian packaging of taurus. Using it for |
| 39 | + development too helps for integrating the development with the packaging. |
| 40 | +- Tango projects are also migrating to GL |
| 41 | + |
| 42 | +## Scope |
| 43 | + |
| 44 | +The following taurus-org hosted projects are to be moved to gitlab |
| 45 | +(in this order): |
| 46 | + |
| 47 | +- https://github.com/taurus-org/taurus |
| 48 | +- https://github.com/taurus-org/taurus_pyqtgraph |
| 49 | +- https://github.com/taurus-org/taurus_tangoarchiving |
| 50 | +- https://github.com/taurus-org/h5file-scheme |
| 51 | +- https://github.com/taurus-org/pandas-scheme |
| 52 | + |
| 53 | +## Implementation |
| 54 | + |
| 55 | +The proposed migration date is **2021-03-17** |
| 56 | + |
| 57 | +Before the migration date, the following tasks need to be done: |
| 58 | + |
| 59 | +- [ ] Notify the taurus mailing lists about the migration |
| 60 | +- [ ] Notify all participants (commenters, contributors, etc) and ask them to |
| 61 | + log at least once in GL in order to be able to map their GH and GL accounts |
| 62 | + during the migration. The deadline for the log-ins is 1 day before the |
| 63 | + migration date of the taurus project. |
| 64 | +- [ ] Set-up test repositories in GL for preparing the CI migration of taurus and taurus_pyqtgraph |
| 65 | +- [ ] On the migration date, set the GH projects in read-only mode |
| 66 | + (archive them) and proceed to import them using a bot account. |
| 67 | + |
| 68 | + |
| 69 | +After the import in GL, the following tasks need to be done: |
| 70 | + |
| 71 | +- Set-up CI in GL |
| 72 | +- Implement taurus docs build in GL pages (open a separate MR in GL for that) |
| 73 | +- Fix hardcoded links in docs (open a separate MR in GL for that) |
| 74 | +- Redirect taurus-scada.org domains to GL pages |
| 75 | + |
| 76 | + |
| 77 | +## Links to more details and discussions |
| 78 | + |
| 79 | +- Discussions for this TEP are conducted in its associated Pull Request: |
| 80 | +https://github.com/taurus-org/taurus/pull/452 |
| 81 | + |
| 82 | +- Initial proposal and motivation can be found in this issue: |
| 83 | +https://github.com/taurus-org/taurus/issues/761 |
| 84 | + |
| 85 | +- Debate in Tango community about migration to gitlab: |
| 86 | +https://gitlab.com/tango-controls/cppTango/-/issues/812 |
| 87 | + |
| 88 | +- Sardana discussed this same move but decided to wait for now: |
| 89 | +https://github.com/sardana-org/sardana/issues/1433 |
| 90 | + |
| 91 | +- Tools for helping with the migration: |
| 92 | +https://github.com/tango-controls/gitlab-migration-tools |
| 93 | + |
| 94 | + |
| 95 | +## License |
| 96 | + |
| 97 | +Copyright (c) 2021 Carlos Pascual-Izarra |
| 98 | + |
| 99 | +Permission is hereby granted, free of charge, to any person obtaining |
| 100 | +a copy of this software and associated documentation files (the |
| 101 | +"Software"), to deal in the Software without restriction, including |
| 102 | +without limitation the rights to use, copy, modify, merge, publish, |
| 103 | +distribute, sublicense, and/or sell copies of the Software, and to |
| 104 | +permit persons to whom the Software is furnished to do so, subject to |
| 105 | +the following conditions: |
| 106 | + |
| 107 | +The above copyright notice and this permission notice shall be included |
| 108 | +in all copies or substantial portions of the Software. |
| 109 | + |
| 110 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 111 | +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 112 | +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 113 | +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 114 | +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 115 | +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 116 | +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 117 | + |
| 118 | +## Changes |
| 119 | + |
| 120 | + |
| 121 | +- 2021-03-08 [cpascual][]. Initial version |
| 122 | + |
| 123 | + |
| 124 | +[GH]: https://github.com |
| 125 | +[GL]: https://gitlab.com |
| 126 | +[TEP16]: http://www.taurus-scada.org/tep?TEP16.md |
| 127 | +[cpascual]: https://github.com/cpascual |
0 commit comments