#๐Ÿ‘พ-core-development

1 messages ยท Page 63 of 1

austere talon
#

image url

tacit marten
#

Oh, but I can click on the icon you added, and it redirects me to the other mirror already, thankfully?

#

This one.

bleak swift
#

Wait, so that's mean if a pr is merge at codeburg , if will sync with GitHub as well?

austere talon
#

yes

#

they sync both ways

austere talon
#

it's an image inside a markdown hyperlink

tacit marten
#

What do you mean here?

charred monolithBOT
bleak swift
#

Openasar is injected directly into vendetta right?

#

*discord

austere talon
bleak swift
austere talon
#

you can pass text, image etc via query parameter

olive aurora
austere talon
#

YOP

#

i need

olive aurora
#

I wanna check how gh cli does it

#

cuz it doesnt actually add a remote does it

tacit marten
austere talon
#

we already do

tacit marten
#

Then what is the problem? XD

austere talon
#

but you have to &logo=data:image/png;base64,dijsdjshuifdqwi0fdwqokpfijoqwhuifwqehuioftgejiowrfjioqwjioftgwejiofjioqwfjioqwjiogewjiogjioqwfikopwaopikfgwjoikgjioaewrpgpuifweijofjiowejiotgfwqjiotgjiqwrjoiqwjirqwijorjioqwijorwqjiortwqeijo

tacit marten
#

Oh, you can use HTML in markdown.

austere talon
#

what i meant by you can't just an icon url is that this doesn't work: &logo=https://codeberg.org/favicon.ico

austere talon
#

why

#

pointless :P

#

i already tested

#

it dont work

#

https://img.shields.io/static/v1?style=for-the-badge&label=Codeberg Mirror&message=codeberg.org/Ven/cord&color=2185D0&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAKbUlEQVR4nNVae3AV5RX/nW/3Pva+b24e5HHzIICQKGoiYiW8NFBFgohaa6ctglpbFSujSGurzUinohWsOij/gGX6R2fqOK0d1FYTEZXaTrWCBbEikJCEyCvkeXNvkrunf+zdkJDkPnex/c3cmd29+53v/M6e73znnF2Cydj4Tntldzi6qrN/qKqzf2jy6b7BnL4B1dI7oMp9AyoRAIdVsNMqhlxWMZjtspzyK/Jhr036OMsm//bh2vzPzNSPzBD6xFutd7R0Dq758ky4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MhudgesHPzNkA5gKoADADwFRoS8UHQO+x9wLoBNAB4AsAnwM4AOADIjLVxf8L9kdXUOE0IskAAAAASUVORK5CYII=

#

this is the link

tacit marten
#

Oh, you were referring to shields not Markdown, my bad.

#

They explicity stated to use base64.

olive aurora
austere talon
#

@glossy relic hi

#

iirc you made a userscript image, do you still have that? I would like to use it

austere talon
nimble pendantBOT
#
  • fixed, update, up
  • linux, l
  • mac, darwin, m
  • missing features, screenshare, presence, keybinds, mf
  • moreinfo, more info, mi
  • reinstall, redownload
  • windows, w, win
charred monolithBOT
nimble pendantBOT
#
  • fixed, update, up
  • linux, l
  • mac, darwin, m
  • missing features, screenshare, presence, keybinds, mf
  • moreinfo, more info, mi
  • reinstall, redownload
  • windows, w, win
tacit marten
austere talon
#

LOL

#

๐Ÿ™

tacit marten
#
Host github.com
  User git
  IdentityFile %USERPROFILE%/.ssh/github/id_rsa
#

Is this what you meant, Vendi?

olive aurora
#

um do u have a repo where u used git cli rn

#

show me whats in ur .git/refs

austere talon
olive aurora
#

GH CLI

#

horror

tacit marten
austere talon
tacit marten
olive aurora
#

just ls it cuz it apparently creates a folder there

austere talon
olive aurora
#

mm

austere talon
#

heads remotes stash tags

austere talon
olive aurora
#

do all of these show up in ur remotes

austere talon
#

idk why you don't just use what i sent verbatim :P

tacit marten
#

Anyway, Vendi, do I specify the public key folder or the private key folder?

tacit marten
austere talon
#

remotes yes but i added these manually

tacit marten
#

Oh, it does. Wow.

austere talon
#

from before gh pr checkout discovery

olive aurora
#

ah

#

the silly

austere talon
#

its git

austere talon
#

but i checked out way more prs than just those

tacit marten
#
  User git
  IdentityFile ~/.ssh/github```
Happy now?
#

Doesn't work anyway.

austere talon
olive aurora
#

yeah I'm reading that

tacit marten
#

Yes, thankfully.

austere talon
austere talon
tacit marten
austere talon
#

(it's the public key you can share it with anyone)

tacit marten
#

Honestly I have too many trust issues right now.

austere talon
tacit marten
#

General gist of it:
ssh-rsa Some random text titan@Titan-PC

austere talon
#

is it one of the ones listed here

tacit marten
austere talon
#

you can just send it here theyre public bleh

tacit marten
#

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDRzaC1nbR2xi+bR2ULZBwYqwPER5ZwSFLOXMAL5djcx4GKkg6CV070cLz3sG2BKR3ir0Q/b5RX2H3x8fhKrXzzfCfsAJNZGZxOx7arBACz2eLY3wm8m8gBH99OY73PkyIw64WR+lTy76DdSFZB6uTVNwCoDpw/LrOH1CH5qaT3w6b4pJcmWmcIdniWFV5cReRgiB4R0ESwR5/uM4T3DitgrDi6a9oFEnqjD355qaLi79PqdBm1qe+TUBXLogcNsEj6+7bbHSaJk5tOvWOHBZ7LWi3CkFu8QpLfXLYiyUYbXMvu2agWjR3crFPyZUnTQ1WtVMKmkIicGHsnuTiDSX8mQlIrUmXrNWhTBg7jtXcJf8hADmBH4ODrBpxblBjaFuTTAeFF1uIq3iEFRsVDI7ZFHtntBe1SYWbKAFhI1fNrU9T/hbasuipXPcfxCfEIUfaGVxkOZ+8VU5B8e6rCdyNBp40WlER7Z8g9M3CcN8aj3sC8jGrNHjvy9fnnAO+iTI8=

olive aurora
tacit marten
#

Copied from the link you sent, that is the one.

austere talon
#

okay it is on your github

#

are u sure

olive aurora
#

so it could be why there arent as many heads

austere talon
#

just send ~/.ssh/github.pub

tacit marten
#

There is a minor difference.

#
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDRzaC1nbR2xi+bR2ULZBwYqwPER5ZwSFLOXMAL5djcx4GKkg6CV070cLz3sG2BKR3ir0Q/b5RX2H3x8fhKrXzzfCfsAJNZGZxOx7arBACz2eLY3wm8m8gBH99OY73PkyIw64WR+lTy76DdSFZB6uTVNwCoDpw/LrOH1CH5qaT3w6b4pJcmWmcIdniWFV5cReRgiB4R0ESwR5/uM4T3DitgrDi6a9oFEnqjD355qaLi79PqdBm1qe+TUBXLogcNsEj6+7bbHSaJk5tOvWOHBZ7LWi3CkFu8QpLfXLYiyUYbXMvu2agWjR3crFPyZUnTQ1WtVMKmkIicGHsnuTiDSX8mQlIrUmXrNWhTBg7jtXcJf8hADmBH4ODrBpxblBjaFuTTAeFF1uIq3iEFRsVDI7ZFHtntBe1SYWbKAFhI1fNrU9T/hbasuipXPcfxCfEIUfaGVxkOZ+8VU5B8e6rCdyNBp40WlER7Z8g9M3CcN8aj3sC8jGrNHjvy9fnnAO+iTI8= titan@Titan-PC
#

It lists my user and PC's name.

austere talon
#

whats the difference

#

the name at teh end

#

yeah thats normal

tacit marten
#

Yup.

olive aurora
#

its a comment it doesnt rlly change anything

tacit marten
#

Ah.

austere talon
#

it should give you more insight

cunning canyon
olive aurora
#

ah I see the trick

austere talon
#

you're especially looking for these

austere talon
cunning canyon
#

but it should be git@ right

austere talon
#
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH7TluBf0EOjxlL/Hm5X5AzGhCFOTEU9OJg3sUnYUEas vendicated@riseup.net
#

this is my public key

austere talon
#

that's just key name

#

it's irrelevant

#

i love how ed25519 is super compact single line

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH7TluBf0EOjxlL/Hm5X5AzGhCFOTEU9OJg3sUnYUEas vendicated@riseup.net
```then rsa is wall of text jumpscare ```
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDRzaC1nbR2xi+bR2ULZBwYqwPER5ZwSFLOXMAL5djcx4GKkg6CV070cLz3sG2BKR3ir0Q/b5RX2H3x8fhKrXzzfCfsAJNZGZxOx7arBACz2eLY3wm8m8gBH99OY73PkyIw64WR+lTy76DdSFZB6uTVNwCoDpw/LrOH1CH5qaT3w6b4pJcmWmcIdniWFV5cReRgiB4R0ESwR5/uM4T3DitgrDi6a9oFEnqjD355qaLi79PqdBm1qe+TUBXLogcNsEj6+7bbHSaJk5tOvWOHBZ7LWi3CkFu8QpLfXLYiyUYbXMvu2agWjR3crFPyZUnTQ1WtVMKmkIicGHsnuTiDSX8mQlIrUmXrNWhTBg7jtXcJf8hADmBH4ODrBpxblBjaFuTTAeFF1uIq3iEFRsVDI7ZFHtntBe1SYWbKAFhI1fNrU9T/hbasuipXPcfxCfEIUfaGVxkOZ+8VU5B8e6rCdyNBp40WlER7Z8g9M3CcN8aj3sC8jGrNHjvy9fnnAO+iTI8= titan@Titan-PC
tacit marten
#

It displayed errors, renaming it to id_rsa helped and showed me a different error.

#

Lemme send.

austere talon
#

honestly the easiest solution would be to just delete the keys and create a new one

#

likely fixes it

tacit marten
#

Alright.

austere talon
#

ssh-keygen -t ed25519

#

use ed25519 this time

#

it's better

tacit marten
#

Yeah, in git bash or normal Windows terminal?

austere talon
#

normal terminal

tacit marten
#

Should I specify a passphrase or does it not matter?

austere talon
#

it's better for security

#

if you don't set a passphrase, anyone who gets access to your private key can authorise as you

tacit marten
austere talon
#

but it's less convenient

#

i personally don't use a passphrase

#

cause im lazy

#

but optimally you should

olive aurora
#

decapitated

tacit marten
austere talon
#

its not recognising your git config

#

where did you put it

tacit marten
austere talon
#

where is it

olive aurora
#

anyways it basically just fetches the remote, and resets u to FETCH_HEAD

#

and thats why it doesnt actually pollute ur remotes

olive aurora
#

soon

austere talon
#

NOW

#

what language r u gonna make it in

olive aurora
#

I was going to say that

#

lmao

austere talon
#

u will make windows compatible InabaGun

tacit marten
#

~\.gitconfig

olive aurora
#

maybe I'll just typoscript its good enoug

austere talon
#

sorry

#

not git config

#

ssh config

olive aurora
#

what if rust

austere talon
#

go

tacit marten
#

~/.ssh/.config

olive aurora
#

guhhh you'll make me take two years to do this

austere talon
#

.ssh/config

olive aurora
#

I havent used go yet

austere talon
#

lol

tacit marten
#

Oh, @!#$%^.

#

Still fails anyway.

olive aurora
#

plain C trolley

#

sike I'm forbidden from doing C ever again

austere talon
#
debug1: trying private key: C:\\Users\\Titan/.ssh/github
no such identity: C:\\Users\\Titan/.ssh/github: no such file or directory
#

bleh

#

does that file even exist

austere talon
tacit marten
#

NO.

austere talon
#

did you add your new pub key to github

#

you did not

olive aurora
#

swagger jumpscare

austere talon
#

swagger

olive aurora
austere talon
#

but yeah just use what u want

olive aurora
#

rust rocketcrashrocketcrashrocketcrashrocketcrashrocketcrash

tacit marten
austere talon
olive aurora
#

ye

#

forgejo is working on federation still

austere talon
olive aurora
#

kinda real actually

austere talon
olive aurora
#

apparently though

#

the way github actually does it is specific to gh

#

every single pr has its own ref in the remote repo

#

but

#

I can just fetch the actual ref from gitea/forejo's api

umbral hedge
charred monolithBOT
olive aurora
#
curl -X 'GET' \
  'https://codeberg.org/api/v1/repos/ven/cord/git/refs' \
  -H 'accept: application/json'

run

#

you love 745 refs

#

wtf forgejo also does it

#

so easy

tacit marten
olive aurora
#

@austere talon tool name

#

need

#

@austere talon

austere talon
#

WAIT

#

DOES THIS WORK

olive aurora
#

IDK I'M TRYING RN

#

its recommended by codeburger

austere talon
#

SEE YOU IN FIVE YEARS

olive aurora
#

true

#

216 crates to compile ๐Ÿ’”

austere talon
#

I LOVE RUST

olive aurora
#

literally node_modules

austere talon
#

but worse

#

cause node_modules doesn't take 20 minutes to compile

#

oh it has silly name

olive aurora
#

๐Ÿ”ฅ

austere talon
olive aurora
#

lol why doesnt it show the actual progress

austere talon
austere talon
#

jeez that was really quick

#

its already done

olive aurora
#

wt.f

#

mail me ur cpu rq

austere talon
austere talon
#

150โ‚ฌ cpu

#

Caused by: The system cannot find the path specified

olive aurora
#

๐Ÿ’”

#

ancient

austere talon
#
#

virus

olive aurora
#

bleh

#

I could make one that doesnt require u to login

#

for prs only

austere talon
#

no its fine lmao

#

this cli seems rerally broken

#

pull list also broken

olive aurora
#

yop I'm making

austere talon
#

berg doesnt even have pr checkout

#

pointless

olive aurora
#

lol wtf

austere talon
#

useless posttroll

olive aurora
#

tea seems to be able to

austere talon
#

oh its go

olive aurora
#

its in official arch repos ๐Ÿ”ฅ

austere talon
#

is gitea slow

#

its taking so long

#

normal

olive aurora
#

u will

austere talon
#

lol it explodes in bash too

olive aurora
#

virus

austere talon
#

i love windows

olive aurora
#

Set Optional settings: (y/N)

#

would I like Optional settings

austere talon
#

Warning: problem while finding a SSH key: token does not have required scope: read:public_key

#

blehhhh

austere talon
olive aurora
#

it literally just makes one for u lol

austere talon
#

LOL

#

tea login edit

#

just opens yml file with ur editor

olive aurora
austere talon
#

the horror

austere talon
#

i should use this

#

so it makes the right perms

tacit marten
#

Are you guys trying to make a tool to accept/reject/view PRs?

#

Checkout as in do what exactly?

austere talon
#

FUCK YOU MEAN

#

YOU CREATED THE TOKEN

tacit marten
#

Using a bot? Why?

#

Sleep well!

austere talon
#

not bot

#

cli

tacit marten
#

Wow.

#

Wouldn't git cli suffice?

austere talon
#

with git cli

tacit marten
#

Lemme see what errors you guys get, I am a noob.

#

I mean lemme test myself.

austere talon
#

i will comnbust

#

0 results

olive aurora
#

git fetch git@codeberg.org:ven/cord.git refs/pulls/2 && git reset --hard FETCH_HEAD trolley

austere talon
#

fix

olive aurora
#

oh its refs/pull/2 i think

austere talon
#

nuh uh

#

Gitea: Internal error

#

jumpscare

tacit marten
#

git fetch origin pull/2/head:epic-build-scripts
Correct?

austere talon
#
git fetch git@codeberg.org:ven/cord.git pull/2/head
git reset --hard FETCH_HEAD
olive aurora
austere talon
#

but not good enough

olive aurora
#

yeah thats basically what gh cli does

austere talon
#

it does more stuff

#

it also checks out the branch

#

and if you git push it just works

#

without specific remote

olive aurora
grave mangoBOT
# olive aurora https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/checkout/checkout.go#L221-L228

**checkout.go: **Lines 221-228

if missingMergeConfigForBranch(opts.GitClient, localBranch) {
    // .remote is needed for `git pull` to work
    // .pushRemote is needed for `git push` to work, if user has set `remote.pushDefault`.
    // see https://git-scm.com/docs/git-config#Documentation/git-config.txt-branchltnamegtremote
    cmds = append(cmds, []string{"config", fmt.Sprintf("branch.%s.remote", localBranch), remote})
    cmds = append(cmds, []string{"config", fmt.Sprintf("branch.%s.pushRemote", localBranch), remote})
    cmds = append(cmds, []string{"config", fmt.Sprintf("branch.%s.merge", localBranch), mergeRef})
}
olive aurora
#

virus

austere talon
#

nice

olive aurora
#

cmds = append(cmds

austere talon
#
if pr.MaintainerCanModify && pr.HeadRepository != nil {
    headRepo := ghrepo.NewWithHost(pr.HeadRepositoryOwner.Login, pr.HeadRepository.Name, repoHost)
    remote = ghrepo.FormatRemoteURL(headRepo, protocol)
    mergeRef = fmt.Sprintf("refs/heads/%s", pr.HeadRefName)
}
#

so need to somehow get the remote repo

tacit marten
#

Oh well, I should show myself out anyway.

#

I am irrelevant to this convo.

#

Thanks again.

olive aurora
#

just head.repo.ssh_url

austere talon
#

probably check protocol in use

#

and use ssh_url or clone_url as apllicable

olive aurora
#

nope we will force ppl to use ssh

#

is tea broken for you though

austere talon
#

ye

#
[Ven C:\Users\Ven\Coding\Vencord ๎œฅ main]$ tea pr checkout 2
Fetching PR 2 (head ssh://git@codeberg.org/rini/rinicord:epic-build-scripts) from remote 'pulls/rini'
Error: object not found
olive aurora
austere talon
#

might be gitea vs forgejo differences

#

lol does gitea not have searchg

#

will u start working on it? @olive aurora

#

cause i wanna help too

#

or maybe we just force berg dev to add pr checkout

olive aurora
#

ye i wanna do it soon

#

eating rn

austere talon
#

what langg

olive aurora
#

probably rust unless u force me to learn go

austere talon
#

rust horror

#

why not just use ts

#

we will use the node 20 binary maker feature /s

#

i feel like anyone who will use will definitely have node installed

#

so lets just node and put it on npm

#

what do u think

olive aurora
#

are there even any good libraries for making clis

austere talon
#

yeah

#

a lot

#

but like

#

do we even need it

#

if we just have pr checkout and notjhing else

olive aurora
#

yeah maybe not if its just that

austere talon
#

nvm that post sucks

#
#

i think this is most popular

#

100m weekly downloads

quaint sapphire
#

I can make it for u if you don't feel like learning rust.

#

Zig is also love, but zig is still on alpha

olive aurora
#

(they have done rust)

austere talon
#
#

should i set up repo ๐Ÿ”ฅ @olive aurora

#

or will u

olive aurora
#

if u figure out a name first

austere talon
austere talon
#

cobu in short

olive aurora
#

fire

austere talon
#

good?

olive aurora
#

yeah that actually works lmao

austere talon
#

WHO

verbal pumice
#

first step is to read channel names

austere talon
#

UNUSED ACOCUINT

olive aurora
#

crying

austere talon
#

I HATE NAME PARKING

olive aurora
#

cobu trolley

verbal pumice
olive aurora
#

available

austere talon
#

not dead

#

i will stalk this guy and find out his email and FORCE HIM to give me codeburger

austere talon
#

vprune 5 by 1083096032801468416

#

i made cobu org

olive aurora
#

invite

austere talon
#

soon

#

how

#

make codeburger logo

#

oh i found

#

added

#

so are we doing node?

#
jagged cloak
#

code burger is what now

austere talon
#

works

jagged cloak
#

have you seen this wombat

olive aurora
#

inb4 node doesnt let u publish codeburger because its too similar to another package name

olive aurora
jagged cloak
#

I doubt that

#

npm passes malware (unintentionally) all the time I don't think they care about package name similarity

olive aurora
#

they do

verbal pumice
#

they do

olive aurora
#

I got that error before

#

@austere talon u love that theres no confirmation on my side to join ur org

#

you can just add whoever

austere talon
#

LMAO

#

real

#

do we use commander or

#

repo setup speedrun

olive aurora
#

I think we can try making it without any libs for now

#

mm

austere talon
#

eh

#

i wonder how big commander is

#

horror

#

minified 36kb

#

ig its okay

olive aurora
#

so fatt

austere talon
olive aurora
#

u will tsx

olive aurora
austere talon
#

oh

#

u need to run directly

#

HOW DOES IT KNOW

olive aurora
#

insan

austere talon
#

eh

#

how do u run it

#

when i run it it opens in vscode

#

windows moment

olive aurora
#

why would running directly be different cuz #!/usr/bin/env node is literally node <path to script>

olive aurora
austere talon
#

obscure error

#

this error makes no sense

#

HORROR

#

finally

olive barn
#

are you making codeburger cli

austere talon
#

process.env.npm_package_version NOT WORKING @olive aurora

#

only works if u run via npm

olive aurora
#
const bail = (message: string) => {
    console.error(message);
    process.exit(1);
}

const command = (spec: Record<string, (args: string[]) => void>) =>
    ([cmd, ...args]: string[]) =>
        spec[cmd](args) ?? bail(`Unknown command ${cmd}`);

const cli = command({
    pr: command({
        checkout: (args) => { /* */ },
    }),
    // etc
});

cli(process.argv.slice(2))
#

ditch commander NOW

austere talon
#

NUH UH

#

commander so good

#

not really but

#

it is convenient cause it generates everything for us

olive aurora
#

bloatttt

olive aurora
#

or pnpm

#

if its not working on pnpm something's wrong

austere talon
#

soon

austere talon
#

it runs via wrapper script

olive aurora
#

whar

#

what wouldnt run

#

are you talking abt the pr I made or

austere talon
#

nonono

#

this is for cobui

olive aurora
#

hop on define: { COBU_VERSION: process.env.npm_package_version }

austere talon
#

blehhh

#

ig

grave mangoBOT
austere talon
#

this works but we can change it

#

i made it use commander for now, tbh 30kb is fineee

#

and it's really convenient cause

#

pretty good

#

implementing this from scratch would take a bit

olive aurora
#

use a define it makes more sense to include it on the build output rather than it trying to figure out itself

austere talon
olive aurora
austere talon
#

horror

#

i'd seriously just use commander lmao

#

bleh 30kb is nothing

#

i will do silly define tho

olive aurora
#

colors soon too

austere talon
#

lemme do the define nr

#

u go crazy later

olive aurora
#

meow

#

is there a per user /etc/hostname

#

or smth that only works on git ig

austere talon
#

WHAT IS THIS

olive aurora
austere talon
#

whar

#

NO

olive aurora
#

cspell jumpscare

#

ok i wont commit

glossy relic
olive aurora
#

I will add eslint tho

#

alsoo

#

license

austere talon
#

almost done

austere talon
#

giant penis license?

#

or which

#

idc much

olive aurora
#

probably

austere talon
austere talon
olive aurora
#

giamnt penis

austere talon
#

epicest

#

we will probably need something slightly better

#

aka capture stdout and stderr and stuff

#
#

oh wait that uses cli too

#

not bindings

olive aurora
#

mmmm

austere talon
#

okay i will add giant penis license

#

u can do whatever else u want

olive aurora
#

yop

austere talon
#

like eslint and comamnds and stfuffs

olive aurora
#

u will love

austere talon
#

or-later or nah

olive aurora
#

or-later

austere talon
#

doneee

olive aurora
#

merge conflict jumpscare

austere talon
#

OH NO

#

oh yeah cause i edited package dot jason a lot

#

meow

#

okay i go now u go nuts

#

WAIT

olive aurora
#

yea

austere talon
#

im stupid

grave mangoBOT
austere talon
#
clean(user) || user ? "Someone" : ""
#

this means

(clean(user) || user) ? "Someone" : ""
#

when i mean ```js
clean(user) || (user ? "Someone" : "")

charred monolithBOT
verbal pumice
#

makes sense to me tbh

fleet depot
#

That is such a mood. I spent so much time configuring omp one day cuz I had a final project due the next day

fleet depot
#

That's on me

#

Well is it? Interesting that it accepts capital S but but capital F

fleet depot
tacit marten
#

Oh, sorry for not realizing that.

tacit marten
fleet depot
#

oh yeah definitively not

fleet depot
fleet depot
tacit marten
#

It is kinda like impulse purchases.

fleet depot
#

it is

#

so true

#

and now i don't have any deadlines for the summer (until job starts) so im just vibing and have not been motivated to finish installing arch

#

all my motivation comes from deadlines

tacit marten
#

Arch?

fleet depot
#

archlinux

tacit marten
#

I know, I meant in, uh, surprise or something.

fleet depot
#

oh gotcha

#

yeah

tacit marten
#

I kinda have PTSD due to it.

fleet depot
#

lmao

#

same tho???

tacit marten
#

Not medical PTSD, mind you.

fleet depot
#

no i gotchu

#

the colloquial ptsd

tacit marten
#

Lemme go get my tale, I wrote it down.

fleet depot
#

mine is pretty short- i tried to go off script from the installer on the wiki

#

don't go off script

tacit marten
#

XD

#

No installing Arch is the easy part, tbh.

fleet depot
#

lol if you follow it properly yeah

#

or i mean

tacit marten
#

Well, it takes a day or two to get it fully running and install the daily necessities.

fleet depot
#

for me the worst part was me trying to get BTRFS

tacit marten
#

Lemme first apologize to V for misusing this channel before I send my tale.

fleet depot
#

with manjaro the calmari installer just handled all of it

tacit marten
#

Why do I hate Linux now, specifically Arch?
Well, backstory is that I had Ubuntu but it got messed up once or twice so instead of reinstalling I installed Arch Linux which is more customizable and I read that it is a challenge/advanced level stuff, so I wanted to try it out.
Well, Arch is not bad, and is a rolling release OS which means it doesn't need any distro update like Ubuntu (20.04 -> 22.04 and the like).
For Arch, there are two ways to install packages, the official package manager way, (pacman), and from AUR packages which are community maintained repos, and you will probably have to build FROM SOURCE.
Imaginge trying to install ros-noetic-desktop-full and building it. Btw that downloads ~400 MB, so if the source code is 400 MB in size, how long do you think the building will take? Also I had to update the system/packages as well, so I had some AUR package being updated at the same time since yesterday evening, but that one took up a staggering 7-8 GB of storage which made me run out of space and both installations/build processes failed. So I have to re-start the build from where it stopped, but the package being built might need a rebuild, and some of the packages were HUGE.

#

Why do I hate Linux now, specifically Arch? THE SEQUEL:
Now after building, I needed some more packages for a robotics lab. After installing some of them, it turns out there are TWO packages not available in the AUR repo (community repo). Of all the tens of packages, those specific two had to be missing.
What did I do? I installed apt, downloaded the .deb packages, and force installed them ignoring dependencies. Imagine having apt on a non Ubuntu Linux distro. My system is simply a frankenstein monster.

austere talon
#

BRO

fleet depot
#

ven ๐Ÿ’ข

tacit marten
#

But I want you to read the tale too, V, and either tell me I am using Arch very wrongly or whatever. XD

tacit marten
austere talon
tacit marten
austere talon
#

your entire criticism seems based on the result of doing incredibly hacky stuff you're not supposed to lookWhatTheyTookFromUs

tacit marten
#

I recall trying to install deb packages.

#

And failed.

tacit marten
#

It was a must.

austere talon
#

what's a ros

tacit marten
#

ChatGPT's answer:

ROS (Robot Operating System) is an open-source framework for building robotic systems. It provides a collection of software libraries and tools that help developers create and manage robot applications. ROS is not an actual operating system in the traditional sense, but rather a middleware that runs on top of a conventional operating system (such as Linux) and provides a set of functionalities specifically designed for robotics.

#

^ This is just the first few lines of its answer.

#

It mainly handles sending messages between modules and stuff, all for robotics projects.

#

Now can you blame me for installing apt?

#

That one package was actually needed for the project, it wasn't just some unused package.

#

Just my luck that it was one of the only 2 not available in the AUR repositories iirc.

quaint sapphire
#

Although, I'd suggest having smth like debian as ur base distro.

And use arch within distrobox

#

That way you get the stability of debian, with the packages of arch

austere talon
quaint sapphire
#

I'm not a fan of debian, but you look like one

olive aurora
#

insanity

quaint sapphire
tacit marten
tacit marten
quaint sapphire
#

Building from source is why I love the AUR, but when it is a pain (who even builds chromium from source?) there are usually bin versions as well

#

Instead of chromium, you install chromium-bin

Etc

quaint sapphire
tacit marten
quaint sapphire
#

Welp, as ven said, you could unzip the tar.gz from other distros

austere talon
#

now shush

tacit marten
quaint sapphire
#

Since we are on this channel

#

And titan asked whats the purpose of the channel

royal bane
#

noone ever knows what the context of this is

quaint sapphire
#

JS moment

olive barn
#

does the devcompanion not work on vencord desktop? im using pnpm watch to build vencord and pnpm start:watch to run desktop, and its loading my .dev.tsx userplugins just fine

austere talon
#

it works!

#

you will the

olive barn
#

oh i didnt see it

#

sorryy

fringe basalt
#

hello, if I'd like to contribute a plugin can I just pr it? or should I ask someone first?

royal bane
#

what does the plugin do uwu

fringe basalt
#

it hides the ping indicator for incoming friend requests, message requests, and nitro offers

fringe basalt
#

also question, the patcher's find is per webpack module, not per js file, right? so I can't nest multiple replacements under a single find if they're in different 4123: (e,t,n)=>{ thigies

austere talon
#

you can't yeah

#

and yeaa just pr!

austere talon
#

do you want to patch all modules that match a specific find?

fringe basalt
#

nah i was patching 2 things in 1 js file and it turned out they're in 2 different webpack modules

#

which made it a lil harder cuz one of them was small without many unique things

#

but i got it catnod

austere talon
#

yeah the smooool modules are always a bit tricky to find

#

but i have yet to encounter a case where it wasn't possible to unique find a module

#

actually that's wrong, i have, one single time! But that was because deranged Discord somehow had two modules that were 99% identical with a super small difference

austere talon
#

le amazing module

#

uh

fringe basalt
#

dw i patched a different one instead

austere talon
#

do u wanna patch that or?

#

cause that's just a store

fringe basalt
#

ik, i needed to override that function call in 1 specific place

#

(to make the Message Requests tab not auto hide when i spoof count to 0)

#

i got it all to work tho so it's all good catnod

#

was a fun challenge for my first plugin ever

austere talon
austere talon
#

hides from where?

fringe basalt
#

these places

#

and the taskbar icon (i.e. friend requests don't contribute to the count it displays)

charred monolithBOT
austere talon
#

why do u even want those gone

#

how u gonna see whether u have requests

fringe basalt
#

i sometimes want to keep friend requests/message requests lingering there but at the same time ping indicators annoy me

#

and a few of my friends would like it too

#

mobile app does it in a nice way - hidden under notifs tab without eternal ping circle

austere talon
fringe basalt
#

ye

austere talon
#

i see

#

so you always want to hide it on

  • message requests
  • friends
  • pending

and reduce it by those values on the home button

fringe basalt
#

mhm

#

(and in the taskbar)

austere talon
#

i see

#

well u can just do the full hiding ones with css

#

so it's simpler

fringe basalt
#

wellll i guess

#

but i'd probably have to patch the same things for the taskbar/home reduce anyways

#

(and i don't really do css xd backend gang)

#

it's not really complicated imo

austere talon
#
[class|=tabBar] [aria-label="Pending"] [class|=badge] {
    display: none;
}

Here's an example for hiding the pending badge

#

but it only works on english lol

#

so ig a patch is still good here

fringe basalt
#

ye

austere talon
fringe basalt
#

o okay

austere talon
#

it's essentially the same thing just strongly typed and without the Settings.plugins.YourPluginName boilerplate

fringe basalt
#

done

#

ty for the help btw

austere talon
#

:3

fringe basalt
charred monolithBOT
charred monolithBOT
#

This plugin removes the ping count of incoming friend requests, message requests, and nitro offers.
Ping indicators are removed in the following places:

  • Home button (count reduced)
  • Friends tab button
  • Pending tab button
  • Message Requests button
  • Taskbar icon (count reduced)

The visibility logic of the Message Requests tab button is preserved (i.e. still appears when there are message requests, and disappears otherwise).

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping ```
austere talon
#

%c[KeybindsStore]
font-weight: bold;
color: purple;
[kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping

charred monolithBOT
olive barn
#

when making branches we intend to pr on should we go off dev or main

austere talon
#

main

#

they're usually the same thing anyway

#

i just use dev to cummulate a few updates before pushing to main

#

so updates are batched instead of multiple

charred monolithBOT
woeful sable
#

the report and delete button clip in

charred monolithBOT
wide surge
#

re

olive aurora
#

jumpscare

#

we tried

#

but it was broken for ven

charred monolithBOT
lime stone
#

do we still have to pr to github?

olive aurora
lime stone
#

oh, ok i need to read

#

how does it work if you open a pr on codeberg though?

#

surely you can't mirror both ways?

olive aurora
#

you can

austere talon
#

we do

#

i push all my commits to codeberg

lime stone
#

oh that's cool

austere talon
#

it's pretty simple to mirror both ways

lime stone
#

i've never seen that

#

ok time to delete my github account :p /j

austere talon
grave mangoBOT
# austere talon this is needed on github side https://codeberg.org/Ven/cord/src/branch/main/.git...

**codeberg-mirror.yml: **

name: Sync to Codeberg
on:
    push:
    workflow_dispatch:
    schedule:
        - cron: "0 */6 * * *"

jobs:
    codeberg:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
              with:
                  fetch-depth: 0
            - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
              with:
                  target_repo_url: "git@codeberg.org:Ven/cord.git"
                  ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}

olive aurora
#

I did that trolley

#

codeburger best

austere talon
#

mirroring back from github to codeberg is really simple tho i just had to add it in settings

austere talon
# charred monolith
[Ven C:\Users\Ven\Coding\Vencord ๎œฅ main]$ tea pr checkout 2
Fetching PR 2 (head ssh://git@codeberg.org/rini/rinicord:epic-build-scripts) from remote 'pulls/rini'
Error: object not found
#

fix @vestal grove

lime stone
#

wow forking is soo fast

austere talon
#

codeburger is faster than github somehow

#

even cloning and pushing is way faster

olive aurora
#

github so so bloated

lime stone
#

kodecord is real

#

yay!!

vestal grove
austere talon
#

yes somehow

vestal grove
austere talon
#

small indie non profit has considerably faster infrastructure than one of the richest companies in the world

#

that is indeed surprising bleh

vestal grove
#

it really is not

austere talon
#

obviously it's cause shithub soooo bloat

#

but still

#

isn't github in ruby or smth

#

that's probably also part of the problem

#

vs go forgejo

olive aurora
austere talon
#

virus

olive aurora
#
dissoc github-source-code-master % wc -c seed.sql
683853 seed.sql

tiniest github sql query

charred monolithBOT
charred monolithBOT
quaint sapphire
#

Doesn't browser.js depend on the extension or smth?

#

VencordNative where?

olive aurora
#

thats included in browser.js

#

the only extra js the extension has is content.js iirc which just adds the script and css to the page

quaint sapphire
#

But how does it deal with CSP?

olive aurora
#

it has a declarative_net_request thing

quaint sapphire
#

Inline scripts can do that?

olive aurora
#

nop

#

that's a key in manifest.json

quaint sapphire
#

No GM APIs, no browser APIs, how tf does it do it then?

olive aurora
#

whar

quaint sapphire
#

We are talking about js executed on a domain w/o being a userscript/extension

olive aurora
#

shrimply dont care abt csp or fix csp like vencord does in the desktop app since ferdium recipes have access to electron apis

quaint sapphire
#

Yes, but does browser.js already support ferdium?

olive aurora
#

...no?

quaint sapphire
#

Then how would it work?

olive aurora
#

insanity

jagged cloak
#

yop

austere talon
#

what

#

browser.js is platform agnostic

jagged cloak
#

never heard of ferdium or cider or a few others until this client mod existed

austere talon
#

you can load it anywhere and it'll work

olive aurora
#

that

#

im too tired

quaint sapphire
austere talon
#

that's the tradeoff

charred monolithBOT
#

Discord Account

M3T_R3MIX#4529

What happens when the bug or crash occurs?

When a user join, leave or move in another channel the announcer says only "someone" joined/left and not the channel or the the users name as it used to do

What is the expected behaviour?

as mentioned above it used to say the users name and the channel

How do you recreate this bug or crash?

join the call by yourself and drag your nick to another channel or try with a friend

Errors

_No resp...

quaint sapphire
austere talon
#

the tradeoff is that it's fully self contained

#

missing desktop specific features, accessing settings via file isn't possible, etc

charred monolithBOT
charred monolithBOT
austere talon
#

very similar to the userscript

charred monolithBOT
quaint sapphire
#

Me: browser.js can't modify CSP
rini: yes it can

austere talon
charred monolithBOT
olive barn
#

(baby pr)

charred monolithBOT
tacit marten
#

Noob question: if I want to make my own plugin, where should I read/search Discord's code to find stuff to replace?

quaint sapphire
# austere talon

that's no better, rini assumed I was talking about the extension

quaint sapphire
#

actually, dumb question

#

ur question indicates that you know at least some stuff

tacit marten
quaint sapphire
#

nah I won't judge ya

tacit marten
#

I am a beginner in JS and don't know TS, but I won't ask for extensive help, hopefully.

#

I will just try or give up.

tacit marten
quaint sapphire
#

if you know js, then you can use ts
albeit w/o types ig

although ts is really easy to learn (not advanced ts, but casual ts)

#

anyways, we just open the dev tools

#

and go to the sources tab

tacit marten
#

Guess I gotta find a way to waddle through that then, I was hoping it was easier than that.

quaint sapphire
#

press Ctrl + Shift + F and search for keywords that might have what you want

if what you want to patch is about discord's UI, you can use the react dev tools to find the component and jump to it's code

#

since you want to patch stuff, you should also be comfortable with regex

tacit marten
#

I want to play around with how Discord handles AFK.

#

Anyway, thanks!

tacit marten
lament nimbus
#

There's a codeberg mirror now?

#

Based

charred monolithBOT
quaint sapphire
lament nimbus
#

It's easy to write but it gets hard to read fast

#

Depending on how complex you make it

quaint sapphire
#

well, with syntax highligthing it gets easier to read
same with any piece of code

lament nimbus
#

yeah

olive barn
#

just simply .* everything you dont want to put in the effort to match

quaint sapphire
#

.*? most of the time

#

you don't want to overmatch

olive barn
#

true

#

but i do understand it gets pretty hard to read

#

like

#

(?<=(\w{1,2})=window\.DiscordNative;)if\(null!=\1\){.*}(\w{1,2})={os[\s\S]*browser_user_agent=(\w{1,2})\(\)[\s\S]*\w{1,2}\.distro}}

quaint sapphire
#

if your regex gets super long, then you are doing smth wrong

lament nimbus
#

I can understand that if I spend the time to

#

But yeah it's easy when you write it but takes effort to read again later

quaint sapphire
charred monolithBOT
olive barn
#

it didnt look like regex syntax highlighting was working

#

shikicodeblocks pureagony

quaint sapphire
#

cause the detected lang was ReasonML or whatever that is

olive barn
#

oh lmao

quaint sapphire
#

jetbrains IDE have nice regex syntax highlighting

charred monolithBOT
fringe basalt
quaint sapphire
olive barn
#

i personally prefer regexr

#

oooo nicwe

lament nimbus
#

how will prs on codeberg work

#

Will ven just grab the patch and apply it to github or smth

olive barn
#

you just pr it normally and when it gets merged it syncs to github

#

its mirrored

lament nimbus
#

wha

olive barn
#

yep

lament nimbus
#

how

olive barn
#

codeberg syncs on push and every 8h

#

and theres a github action that syncs to codeberg on push

lament nimbus
#

oh

olive barn
grave mangoBOT
# olive barn https://codeberg.org/Ven/cord/src/branch/main/.github/workflows/codeberg-mirror....

**codeberg-mirror.yml: **

name: Sync to Codeberg
on:
    push:
    workflow_dispatch:
    schedule:
        - cron: "0 */6 * * *"

jobs:
    codeberg:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
              with:
                  fetch-depth: 0
            - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
              with:
                  target_repo_url: "git@codeberg.org:Ven/cord.git"
                  ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}

lament nimbus
#

What about conflicts

olive barn
#

its mirrored

#

there wont be any

lament nimbus
#

Huh

olive barn
#

its always the same as the other

lament nimbus
#

Interesting

lime stone
#

is it dirty to patch in an extra class to an element, then add a class to body so you can style it?

body.vc-hide-servers .vc-servers {
    display: none;
}
lament nimbus
#

Just style from js if that's what you want

lime stone
#

for something like collapsible ui

#

otherwise i need to obtain the dom element somehow

#

wait, not necessarily true

olive barn
#

whatre you trying to get

quaint sapphire
#

all panels

#

to collapse them

#

with a plugin

lime stone
quaint sapphire
#

if I understood correctly

lime stone
#

okay, i guess i could grab that with a patch

lament nimbus
#

what happened with pronoun a/b testing btw

lime stone
#

like betterdiscord's collapsibleui plugin

olive barn
tacit marten
lament nimbus
lime stone
#

but i don't think i wanna make buttons to hide everything as some things are so smol

quaint sapphire
#

@lime stone I suggest adding/removing classes to the body, so you only have to toggle a class on the body for a panel to collapse/uncollapse

lime stone
#

that's what i did

#

lol

olive barn
#

22-01

lime stone
#

i was asking whether it's dirty

olive barn
#

prob forgotten about

lime stone
#

and so i didn't have to use a changing class name i added my own to the server sidebar

quaint sapphire
#

not what I said

#

not what you did

lime stone
#

i toggled a class on the body though

lament nimbus
# olive barn prob forgotten about

they did forget about it (I even hijacked the element that was sitting hidden in discord's code for pronoundb) but then they re-enabled the experiment for a bunch of people I think

#

idk discord is weird

quaint sapphire
#

well, its not what you said, and not smth I could infer from your question about it being dirty

lament nimbus
#

they use wayyyyy too much a/b testing

olive barn
#

i enabled it and it shows in profile editor right but i cant find it normally

#

oh wait pronoundb uses the element whorps

quaint sapphire
#

@lime stone you talked about patching an element to add a class to it

lament nimbus
#

yeah it force-shows the experiment element and modifies the text

quaint sapphire
#

i talked about this motherfucker

#

not discord components

olive barn
#

is the [They/Them] part of your about me or the experiment

lime stone
#

but i need to select them as well as the body

#

oh