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

New repository for MLIR vscode extension #49

Closed
River707 opened this issue Jun 15, 2021 · 18 comments
Closed

New repository for MLIR vscode extension #49

River707 opened this issue Jun 15, 2021 · 18 comments

Comments

@River707
Copy link

I (and the MLIR community) would like to add a new repository in the LLVM organization to host an MLIR vscode extension. The extension itself is developed in llvm/llvm-project, but having a unique repository provides an easier integration point into the vscode ecosystem (in terms of publishing to the marketplace and user engagement). There is some amount of prior art for this with clangd, although that repository is not under LLVM and the source code is not developed within the main LLVM monorepo.

Disclaimer: I'm not sure if there is a better way to go about making a proposal like this to the working group, so I apologize in advance if I am posting in the wrong area.

@joker-eph
Copy link
Collaborator

How can you say that?

We presented this in an open-meeting just last week where tens of people attended.
Regardless, do you have specific concerns that makes you believe this isn't aligned with the current direction in the MLIR community?

If you have a better technical suggestion on how to setup this, this will be welcome to hear though.

@ChristianKuehnel
Copy link
Collaborator

I don't know that the normal way of requesting a git repo is. I guess so far it was a discussion/RFC on llvm-dev.
@asl @sqlbyme @tstellar can you help here?

@River707 Off-topic nit picking: It would be great to have some readme.md (or something) in the extension folder explaining what this folder contains and what features the vscode extension supports.

@River707
Copy link
Author

I don't know that the normal way of requesting a git repo is. I guess so far it was a discussion/RFC on llvm-dev.
@asl @sqlbyme @tstellar can you help here?

@River707 Off-topic nit picking: It would be great to have some readme.md (or something) in the extension folder explaining what this folder contains and what features the vscode extension supports.

Not off-topic at all, thanks for asking! During the initial development phase of the language server (one of the main reasons for the extension), all of the documentation has been focused on the mlir website. Now that we are properly publishing the extension for users, a README will added to the extension directory (along with a few other doc cleanups).

@ChristianKuehnel
Copy link
Collaborator

ChristianKuehnel commented Jun 16, 2021 via email

@asl
Copy link

asl commented Jun 16, 2021

We can certainly add repo, yes. I think we need to add some formal prerequisites though :)

  1. README.md
  2. Various additional documents: license, contribution guidelines, etc. Certainly this could be added a bit later or just copied from LLVM itself, so not a big deal

@River707
Copy link
Author

River707 commented Jun 17, 2021

Having formal pre-prerequisites/naming requirements/, would definitely make things a bit easier when proposing a new repo.

As an example, I've currently got a personal repo set up at https://github.com/River707/vscode-mlir. Pretty much all of it (code/License/README/etc.) are all copied or constructed from something in llvm-project/. It uses github workflows to update for changes to llvm-project, in addition to (hopefully soon) publishing to the vscode marketplace.

@sqlbyme
Copy link
Member

sqlbyme commented Jun 17, 2021 via email

@joker-eph
Copy link
Collaborator

joker-eph commented Jun 17, 2021 via email

@sqlbyme
Copy link
Member

sqlbyme commented Jun 17, 2021 via email

@ChristianKuehnel
Copy link
Collaborator

I added an issue to document how people are supposed to set up new repositories: #51
Feel free to pick that up or add more thoughts there.

@asl
Copy link

asl commented Jun 17, 2021

@River707 this is great! Just curious: are you going to preserve the history of changes when migrating? Or just start from scratch?

@xgupta
Copy link

xgupta commented Jun 21, 2021

How can you say that?

We presented this in an open-meeting just last week where tens of people attended.
Regardless, do you have specific concerns that makes you believe this isn't aligned with the current direction in the MLIR community?

If you have a better technical suggestion on how to setup this, this will be welcome to hear though.

🙏

@River707
Copy link
Author

River707 commented Jun 24, 2021

@River707 this is great! Just curious: are you going to preserve the history of changes when migrating? Or just start from scratch?

Thanks for asking! At the moment, I don't think we'll preserve history. We still intend for all of the development to take place within the monorepo, so preserving history isn't as important/interesting. This repo is ideally just a convenient way for us to auto-publish/expose to users/etc.

@ChristianKuehnel
Copy link
Collaborator

Any other concerns around the new repo or can we just create one?

@asl
Copy link

asl commented Jul 1, 2021

Sorry, missed the message. No further concerns / suggestions from me :)

@River707
Copy link
Author

Sorry for any delays in responding (I've been OOO for a few weeks moving). Is there anything else required here?

@ChristianKuehnel
Copy link
Collaborator

I was also our for a while :)

@asl can you please create the repo? Do you need anything?

@joker-eph
Copy link
Collaborator

This is done, the repo is live now. Thanks all!

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

No branches or pull requests

6 participants