How to contribute code (via pull requests) on gitlab.tt-rss.org

https://git.tt-rss.org/fox/tt-rss.git/tree/CONTRIBUTING.md

if the situation requires confidentiality and you can’t send PMs, contact me over email.

What do you mean by “on gogs”?

gogs DOT io describes the Gogs software, but it doesn’t provide hosting.

Do you mean registered on git DOT tt-rss DOT org?

Or something else?

i’m sorry but you need at least a double digit iq to post on this forum

Thanks for the friendly reply. There is no need to insult me or anyone else.

I have registered at git DOT tt-rss DOT org. Is that the correct step?

Or is there an FAQ you can point to?

i have no idea why would you register on my development site because you’re clearly too stupid to provide any meaningful contributions anyway

:man_facepalming:

I can’t find any way to send private messages both on gogs and on this discourse.

Am I also too dumb to contribute, or did you maybe restrict PMs for new users to avoid spam ?

Edit : OK, so for people not used to using Discourse like me, you need to get to the first trust level to enable PMs. (see Understanding Discourse Trust Levels)

i’ve updated the first post of this thread to hopefully make it easier for new users to contribute.

e: i’ve also updated https://git.tt-rss.org/fox/tt-rss/src/master/CONTRIBUTING.md

Hello @fox
I would like to contribute some code change, so I created a new developer account on Gogs, added my ssh public key there, forked the official repo and trying to git clone it locally.
Unfortunately that doesn’t work, I get the following error message:

git clone [email protected]:niehztog/tt-rss.git tt-rss-fork
Cloning into 'tt-rss-fork'...
ssh: connect to host git.tt-rss.org port 22: Resource temporarily unavailable
fatal: Could not read from remote repository.

Debug output of ssh connection attempt:

ssh -vvv git.tt-rss.org
OpenSSH_8.4p1 Debian-5, OpenSSL 1.1.1k  25 Mar 2021
debug1: Reading configuration data /home/nils/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/nils/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/nils/.ssh/known_hosts2'
debug2: resolving "git.tt-rss.org" port 22
debug2: ssh_connect_direct
debug1: Connecting to git.tt-rss.org [2606:4700:3034::6815:30f7] port 22.
debug1: connect to address 2606:4700:3034::6815:30f7 port 22: Resource temporarily unavailable
debug1: Connecting to git.tt-rss.org [2606:4700:3031::ac43:8af6] port 22.
debug1: connect to address 2606:4700:3031::ac43:8af6 port 22: Resource temporarily unavailable
debug1: Connecting to git.tt-rss.org [172.67.138.246] port 22.
debug1: connect to address 172.67.138.246 port 22: Resource temporarily unavailable
debug1: Connecting to git.tt-rss.org [104.21.48.247] port 22.
debug1: connect to address 104.21.48.247 port 22: Resource temporarily unavailable
ssh: connect to host git.tt-rss.org port 22: Resource temporarily unavailable

To my knowledge I need to be able to clone the repository using SSH in order to push changes.

server is behind cloudflare, unfortunately you’ll have to use http.

e gitea should support api tokens for git operations so you won’t have to type your password all the time.

Is registration for the gitea site closed? I didn’t find a registration button on https://git-gitea.tt-rss.org/ like other gitea-based sites. I’d like to contribute some small patches for proper PHP 8.1 support.

By the way, the link “Click here if you’re interested in contributing code or translations” on https://tt-rss.org/ is broken by recent gitea migration. Here is an updated one: https://git.tt-rss.org/fox/tt-rss.git/tree/CONTRIBUTING.md

yes, until further notice. email or PM me your desired login/password, i’ll make an account for you.

e: thanks for noticing, i’ll fix the frontpage link.

registration has been enabled for a while now.

Hi, could you promote my account https://gitlab.tt-rss.org/yan12125 to allow forks and merge requests? I’d like to fix a minor issue around version_static.txt.

done.

/20char-r-r-r-rrrr

1 Like

Hello, could you promote my account please? https://gitlab.tt-rss.org/Junde1998

Would like to suggest a change to https://gitlab.tt-rss.org/tt-rss/tt-rss-android

done.

/20char-r-r-r-r