Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPT exporter should maybe commit with --allow-empty #31576

Open
Loirooriol opened this issue Mar 8, 2024 · 6 comments
Open

WPT exporter should maybe commit with --allow-empty #31576

Loirooriol opened this issue Mar 8, 2024 · 6 comments
Labels

Comments

@Loirooriol
Copy link
Contributor

Loirooriol commented Mar 8, 2024

In #31534, d5908c9 couldn't be exported to WPT. It worked when I squashed 26eabf7 and d5908c9 together into f840c5b.

I suspect the reason is that the exporter tries to export the commits one by one. So if one of them isn't modifying WPT, the exported commit will be empty. But --allow-empty isn't being used, this might have caused the problem.

"commit", "--message", commit["message"], "--author", commit["author"]

Or possibly the exporter should just squash all the commits together.

@mrobinson
Copy link
Member

I suspect the exporter should do a diff from the main branch and squash all commits together. This should fix issues where it thinks that a change has been made to WPT tests because someone has done a merge from main into their branch.

@mrego mrego added L-python Python is required and removed python labels Mar 12, 2024
@MunishMummadi
Copy link
Contributor

@mrego can I work on this issue. What do u think about the approach I stated above.

@mrobinson
Copy link
Member

@MunishMummadi Can you explain what you mean by the commands pasted above? I'm a bit lost as to what you are proposing.

@mrobinson
Copy link
Member

@MunishMummadi I'm not sure how what you have commented above solves this problem. You've already claimed one or two issues and have posted PRs. Maybe it makes sense to finish up your work on those things before taking on more tasks.

@MunishMummadi
Copy link
Contributor

MunishMummadi commented Mar 22, 2024

Hello @mrobinson . I am really sorry If I have caused my trouble. I am trying to do my best. Right now I am working on ##31571 and I drafted ##31747 . I am genuinely sorry for any trouble and I will try to patch those.

Thank you
Munish Mummadi

@mrobinson
Copy link
Member

Hello @mrobinson . I am really sorry If I have caused my trouble. I am trying to do my best. Right now I am working on ##31571 and I drafted ##31747 . I am genuinely sorry for any trouble and I will try to patch those.

It's no trouble. It was just a bit of advice to focus and not take on too many issues. Time is also a limited resource for reviewers and we don't always have the bandwidth to mentor people on everything they want to work on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants