Disable `Clone in VS Code` Button for Codeberg #711

Open
opened 1 month ago by Bubu · 16 comments
Bubu commented 1 month ago

I just noticed there's a (new?) Clone in VS Code Button when downloading a tarball from a repo:

image

VS Code is a proprietary[1] IDE by Microsoft. I think Codeberg should not encourage use of this software by putting a prominent button in the download dropdown menu.

[1] See https://en.wikipedia.org/wiki/Visual_Studio_Code, the source code is MIT licensed, the product is distributed under a proprietary license by Microsoft. You might get a build by your distribution under a different license, but those are often named differently (Archlinux has Code, there's also VS Codium). Additionally the VS Code product comes with a number of proprietary extensions (i.e., the Code Together extension) without an easy way to for the user to tell if they are using non-free software.

I just noticed there's a (new?) `Clone in VS Code` Button when downloading a tarball from a repo: ![image](/attachments/7d84bee0-085f-438b-b311-4060d3bc5519) VS Code is a proprietary[1] IDE by Microsoft. I think Codeberg should not encourage use of this software by putting a prominent button in the download dropdown menu. [1] See https://en.wikipedia.org/wiki/Visual_Studio_Code, the source code is MIT licensed, the product is distributed under a proprietary license by Microsoft. You might get a build by your distribution under a different license, but those are often named differently (Archlinux has `Code`, there's also `VS Codium`). Additionally the VS Code product comes with a number of proprietary extensions (i.e., the Code Together extension) without an easy way to for the user to tell if they are using non-free software.
Collaborator

Yes, definitely a todo IMHO. I don't think we need such a button, or if, it should be an opt-in for each user („I want to have clone buttons for my IDEs“).

Yes, definitely a todo IMHO. I don't think we need such a button, or if, it should be an opt-in for each user („I want to have clone buttons for my IDEs“).
fnetX added the
enhancement
contribution welcome
gitea-related
codeberg
labels 1 month ago
Collaborator

Free/Libre Open Source Software Binaries of VS Code
https://vscodium.com/

I think we should leave it as an option and use this opportunity to tell them who don't know, instead of just removing a useful integration.

Free/Libre Open Source Software Binaries of VS Code https://vscodium.com/ I think we should leave it as an option and use this opportunity to tell them who don't know, instead of just removing a useful integration.

Then change it to "Clone in VS Codium"? :)

Then change it to "Clone in VS Codium"? :)
Owner

@jwildeboer

Hehe, I proposed the same - partly as a joke, but maybe, why not..

@jwildeboer Hehe, I proposed the same - partly as a joke, but maybe, why not..
Poster

Can anyone try if that actually works with vscodium? I tried with the arch foss build and the button did nothing.

But sure renaming the button would also send the right message I think.

Can anyone try if that actually works with vscodium? I tried with the arch foss build and the button did nothing. But sure renaming the button would also send the right message I think.

It doesn't work on MacOS/Safari. And I think it's a bigger problem. The way it is implemented is by an URL scheme, which opens a vscode:// link.

Even if that would open VS Codium, there is a very slight risk that Microsoft will use the trademark argument to at least cause confusion if this scheme can be used by other implementations.

Therefore I change my position to simply remove this entry and stop making free "ads" for a microsoft product :)

It doesn't work on MacOS/Safari. And I think it's a bigger problem. The way it is implemented is by an URL scheme, which opens a `vscode://` link. Even if that would open VS Codium, there is a very slight risk that Microsoft will use the trademark argument to at least cause confusion if this scheme can be used by other implementations. Therefore I change my position to simply remove this entry and stop making free "ads" for a microsoft product :)
Collaborator

I don't understand why we need such a button in the first place. You can clone in Git and open it in literally any text editor. If we have VS Code/ Codium, why not add a button for every other IDE / editor people use on earth? E.g. "Open in Vim" with a tutorial how to exit.

Is VS Code incapable of just opening normal text files, or why is it they can't just work with a Git clone url?

I don't understand why we need such a button in the first place. You can clone in Git and open it in literally any text editor. If we have VS Code/ Codium, why not add a button for every other IDE / editor people use on earth? E.g. "Open in Vim" with a tutorial how to exit. Is VS Code incapable of just opening normal text files, or why is it they can't just work with a Git clone url?
Collaborator

I don't understand why we need such a button in the first place. You can clone in Git and open it in literally any text editor. If we have VS Code/ Codium, why not add a button for every other IDE / editor people use on earth? E.g. "Open in Vim" with a tutorial how to exit.

Is VS Code incapable of just opening normal text files, or why is it they can't just work with a Git clone url?

With this attitude this "community" is going nowhere.

VSCode is the most used IDE by far and even the Eclipse Guys are professional enough to give credits "We believe VS Code is an excellent product. That is why Theia embraces many of the design decisions and even directly supports VS Code extensions."

And I don't want to support any of those big tech either, but if we decide to cancel anything that's somehow related..

just a reminder this is you some months ago: "Dear Codeberg users and fans,
as you know, Codeberg is a collaborative effort and relies on community maintenance."

> I don't understand why we need such a button in the first place. You can clone in Git and open it in literally any text editor. If we have VS Code/ Codium, why not add a button for every other IDE / editor people use on earth? E.g. "Open in Vim" with a tutorial how to exit. > > Is VS Code incapable of just opening normal text files, or why is it they can't just work with a Git clone url? With this attitude this "community" is going nowhere. VSCode is the most used IDE by far and even the Eclipse Guys are professional enough to give credits "We believe VS Code is an excellent product. That is why Theia embraces many of the design decisions and even directly supports VS Code extensions." And I don't want to support any of those big tech either, but if we decide to cancel anything that's somehow related.. just a reminder this is you some months ago: "Dear Codeberg users and fans, as you know, Codeberg is a collaborative effort and relies on community maintenance."
Poster

@redwerkz So maybe you could clarify what this button actually does/is supposed to do? So far we have two reports of it doesn't work and someone asking to what it would actually do.

@redwerkz So maybe you could clarify what this button actually does/is supposed to do? So far we have two reports of it doesn't work and someone asking to what it would actually do.
Collaborator

Can anyone try if that actually works with vscodium? I tried with the arch foss build and the button did nothing.

But sure renaming the button would also send the right message I think.

to make it work with vscodium it needs to be "vscodium-protocol"-handler:
vscodium://vscode.git/clone?url=https%3A%2F%2Fgithub.com%2FVSCodium%2Fvscodium.git

> Can anyone try if that actually works with vscodium? I tried with the arch foss build and the button did nothing. > > But sure renaming the button would also send the right message I think. to make it work with vscodium it needs to be "vscodium-protocol"-handler: vscodium://vscode.git/clone?url=https%3A%2F%2Fgithub.com%2FVSCodium%2Fvscodium.git
Collaborator

@redwerkz So maybe you could clarify what this button actually does/is supposed to do? So far we have two reports of it doesn't work and someone asking to what it would actually do.

> @redwerkz So maybe you could clarify what this button actually does/is supposed to do? So far we have two reports of it doesn't work and someone asking to what it would actually do.

so thats already two entries in the dropdown vscode:// for VS Code and vscodium:// for VS Codium. I'd say no.

so thats already two entries in the dropdown `vscode://` for VS Code and `vscodium://` for VS Codium. I'd say no.
Collaborator

@redwerkz Sorry if I'm too dumb, but my question was serious. I don't understand why we need such a button. I know IDE's where I can literally just copy the URL of the repo and it will be cloned.
I prefer the standard Git CLI and just clone it there and open the first file I want to edit (then I rely on the filebrowser in my IDE).

Honestly, I think stuff like IDE integration is better suited for a browser addon. I still don't get the point of such a button and I don't get it with your explanation either.

@redwerkz Sorry if I'm too dumb, but my question was serious. I don't understand why we need such a button. I know IDE's where I can literally just copy the URL of the repo and it will be cloned. I prefer the standard Git CLI and just clone it there and open the first file I want to edit (then I rely on the filebrowser in my IDE). Honestly, I think stuff like IDE integration is better suited for a browser addon. I still don't get the point of such a button and I don't get it with your explanation either.
Collaborator

FWIW, this was somewhat discussed on a Gitea PR: https://github.com/go-gitea/gitea/pull/20713

My 2 cents is quite simply. I don't use it, it's nicely stiffed away in a dropdown menu, I'm fine with that. Honestly I have no idea why Gitea had such button in the first place, I prefer to not have specific UI elements for an IDE, regardless if it's popular or not. I'm happy to provide a patch to yank this button out of the Gitea.

FWIW, this was *somewhat* discussed on a Gitea PR: https://github.com/go-gitea/gitea/pull/20713 My 2 cents is quite simply. I don't use it, it's nicely stiffed away in a dropdown menu, I'm fine with that. Honestly I have no idea why Gitea had such button in the first place, I prefer to not have specific UI elements for an IDE, regardless if it's popular or not. I'm happy to provide a patch to yank this button out of the Gitea.
Collaborator

My 2 cents is quite simply. I don't use it, it's nicely stiffed away in a dropdown menu, I'm fine with that.

Thank you.

I prefer to not have specific UI elements for an IDE, regardless if it's popular or not.

  • In my opinion forward thinking would be change the feature that is provided to the mentioned FOSS IDE.

  • Then work on making opt-out and/or costomizing (if othe IDEs even support custom protocol handler?)

  • And as we see the choice of the IDE is a very personal and fundamental one. So why instead of fighting make it a topic to 1) promote our blog 2) get all of codeberg users involved is a discussion or a poll for a start..

@fnetX I came here because there was a need of someone for the social media related work, do you remember your call #571

But the whole project can't grow a healhy community if some members narrow mindset is just "if it doesn't fit any of may porpuse, I dont'care" or even worse abuse the community just "to have codeberg the way they personally like to have it to".

See: https://codeberg.org/Codeberg/org/src/branch/main/en/bylaws.md#2-purpose-and-tasks

> My 2 cents is quite simply. I don't use it, it's nicely stiffed away in a dropdown menu, I'm fine with that. Thank you. > I prefer to not have specific UI elements for an IDE, regardless if it's popular or not. * In my opinion forward thinking would be change the feature that is provided to the mentioned FOSS IDE. * Then work on making opt-out and/or costomizing (if othe IDEs even support custom protocol handler?) * And as we see the choice of the IDE is a very personal and fundamental one. So why instead of fighting make it a topic to 1) promote our blog 2) get all of codeberg users involved is a discussion or a poll for a start.. @fnetX I came here because there was a need of someone for the **social** media related work, do you remember your call [#571](https://codeberg.org/Codeberg/Community/issues/571) But the whole project can't grow a healhy community if some members narrow mindset is just "if it doesn't fit any of may porpuse, I dont'care" or even worse **abuse the community** just "to have codeberg the way they personally like to have it to". See: https://codeberg.org/Codeberg/org/src/branch/main/en/bylaws.md#2-purpose-and-tasks

@redwerkz Agree that repurposing it to VSCodium would be best here and would help raise awareness about a non-proprietary fork (and thus underscore the proprietary nature of VSCode at the same time while helping out those who run VSCodium).

@redwerkz Agree that repurposing it to VSCodium would be best here and would help raise awareness about a non-proprietary fork (and thus underscore the proprietary nature of VSCode at the same time while helping out those who run VSCodium).
Sign in to join this conversation.
No Milestone
No Assignees
7 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Community#711
Loading…
There is no content yet.