Pushing the initial git code to an Eclipse project (oniro repository) fails on the CLA git hook. This is because history contains contributions from authors that haven't signed an Eclipse CLA. The issue is regarding the people who are not in the team anymore but their contributions are still in the existing git repository.
@agherzan Can we synchronize on a time for you to do this? The ECA is a global configuration, so we can only disable it for short amounts of time. I'm in the Eastern time zone (GMT-5)
@droy you mention that this is a global configuration hence needing to handle this disable manually. If that is the case, what is the process of handling 3rd party code/forks that we would push both initially and regularly - to sync with upstream? Would we need to disable the check manually and temporary with every 3rd party fork pull/push?
As for third party, you would not migrate the repo and its entire history to Gitlab, right? @wbeaton can explain more how Eclipse projects handle 3rd party dependencies.
For the scope of the oniro repository yes. The issue now is about the linux and linux-meta repositories which are also part of the project proposal but are 3rd party code/forks. Could we push them as well?
As for third party, you would not migrate the repo and its entire history to Gitlab, right? @wbeaton can explain more how Eclipse projects handle 3rd party dependencies.
What they're doing may require a longer conversation. What the Oniro team needs to do is similar to what our Eclipse Temurin friends are doing with the OpenJDK. That is, they need to have a means of maintaining clones of third party content to work on forks that they will push upstream. I'll add a background discussion of this to our weekly meeting.
That is exactly the case @wbeaton. These two forks were included as the initial repositories for this project -linux and linux-meta. There are a set of additional ones that we will want to migrate in the very near future so I'd be very happy if we could clarify the process that needs to be followed.
As noted this is a global setting for Gitlab, so we can't disable it just for Oniro. And disabling this instance wide for a day isn't something our processes will allow.
I think the best path forward would be to coordinate a series of times where we can disable the CLA check for a short period(1h-ish) and the project team can push the initial commit.
Our Webdev team came up with a solution to exempt just the above repos based on some other work they've done for Oniro. That change is now live so you should be able to push the initial commits without issue.
Please let us know when your done as I'd like to get things reverted as quickly as I can.
@mward That's odd then, as I'm getting the same error I was getting on the check.
Enumerating objects: 88, done.Counting objects: 100% (88/88), done.Delta compression using up to 20 threadsCompressing objects: 100% (51/51), done.Writing objects: 100% (88/88), 22.88 KiB | 22.88 MiB/s, done.Total 88 (delta 36), reused 88 (delta 36)remote: GL-HOOK-ERR: Unable to validate commit, server error encountered.remote: remote: Please contact the administrator, and retry the commit at a later time.remote: To gitlab.eclipse.org:eclipse/oniro-blueprints/doorlock-zephyr.git ! [remote rejected] main -> main (pre-receive hook declined)error: failed to push some refs to 'git@gitlab.eclipse.org:eclipse/oniro-blueprints/doorlock-zephyr.git'
History wise, nothing is jumping out at me here as being an issue.
Um, shouldn't the push be to "eclipse/oniro-blueprints/doorlock/doorlock-zephyr" and not "eclipse/oniro-blueprints/doorlock-zephyr"(as reported by your commit error)?