1
2

maybe move to shithub.sh?

2
4
3
4
Historical GitHub Uptime Charts (damrnelson.github.io)
4
0
5
4
6
1
7
0
8
5
submitted 10 months ago by testman@lemmy.ml to c/everything_git@lemmy.ml
9
4
submitted 10 months ago* (last edited 10 months ago) by HairyHarry@lemmy.world to c/everything_git@lemmy.ml

I'm quite a noob, when it comes to actually work with github, though I used to work with git to version my work since quite a while. So my approach / plan could be totally wrong.

I hope anybody out there could help me, give me the right idea.

What I have:

My Project is hosted on a self hosted forgejo instance on my lan. I have two branches, dev and main. Everytime I push to dev, a forgejo workflow I wrote builds a fresh docker-image and restarts the container. I can test the new Image right away, which is quite neat.

The project has reached a point, where

a) I'm not embarrassed anymore about my code

b) I think, this could be a nice docker image for others

c) I also think it would be cool if maybe others would contribute

Enter Github

I set up mirroring forgejo to github. But since my dev branch has my forgejo ~~workflows~~ workflow file (containing some details about my local server infrastructure) I decided to only mirror the main branch, which has that workflow excluded from the repo.

I also set up a github workflow (action) where, when my commit to main was properly tagged, it will create and register a 'latest'-tagged docker-image for the public.

This can all be done just by using my IDE and has a low manual workflow footprint. (Develop on dev, push, test on local server. When happy, checkout main, merge dev to main, push: image is live)

This all works great.

The only flaw in all of this is, that, even if I'd allow to do PRs from the public main branch on github, forgejo would never see that, means: Nobody may be able to contribute.

I'm at the point, where I think, maybe my whole concept is wrong.

How could I set all this stuff up, to:

  • still build local images
  • still build public images
  • allow github users to do PRs

all of that without building something that requires a tedious amount of manual workflow steps.

10
2

Git is the industry standard for software development, but I thasn’t been fully adopted in Debian packaging yet. Debian development is still based on uploading tarballs via FTP.

I believe that git-based workflows could enhance collaboration, transparency, and productivity for one of the world’s most vital open source projects. Increasing the use of salsa.debian.org, Debian's GitLab instance, would be a good step towards collaborative git usage.

11
2

I trained a TruncatedSVC model on almost all Github stars to create embeddings for all repositories with more than 150 stars. I figured that could be useful so I fed the data to a Qdrant vector store and built an extension on top of it.

It can be downloaded on Firefox or Chrome. Hope you like it!

12
6

cross-posted from: https://lemmy.world/post/32153610

I have just created my accounts for 3 days and Github flagged my account and now requires SMS verification. I haven't posted or commented nothing on github.

Is there a solution for this without SMS verification? Has anyone succeeded with online temporary phone number for SMS verification?

Is there any other platform other than github for submitting issues? I reckon it is time to turn away from github like how we switch from reddit to lemmy

13
4

geteilt von: https://feddit.org/post/10033814

Excellent new tool to learn Git!

14
11
submitted 2 years ago by testman@lemmy.ml to c/everything_git@lemmy.ml
15
9
submitted 2 years ago by testman@lemmy.ml to c/everything_git@lemmy.ml
16
4
submitted 3 years ago* (last edited 3 years ago) by tubbadu@lemmy.kde.social to c/everything_git@lemmy.ml

hello! For University I need to use a remote machine with a very very VERY weak password I cannot change, and I have to use that machine to edit some code with a few other students of my team. All the code should then be pushed to a repo of my personal github. I'd like to be able to grant access to only that repo, so that if someone guesses the password it cannot touch my other stuffs. What options do I have?

[SOLVED] EDIT:
as suggested by @elliot_crane@lemmy.world I created a github fine grained access token setting its only permission as read/write only that repo. Then I cloned the repo on the remote machine and set the url to include the token:

git remote set-url origin https://myusername:MYTOKEN@github.com/myusername/myrepo.git 

I then set the user and email:

git config user.name myusername
git config user.email my@email.com

and voilà! I can now simply push without any password requested! And in case someone gained access to the token (that is stored in plain text inside the .git folder) it would only grant access to that specific repo, limiting the damages

17
3
submitted 3 years ago* (last edited 3 years ago) by Kalcifer@lemmy.world to c/everything_git@lemmy.ml

As far as I understand it, Forgejo is a soft-fork of Gitea, and, as far as I am aware, Gitea includes both the backend and frontend. But then I came across Codeberg, which appears to state:

Self-Hosting Forgejo, the software that powers Codeberg.

This makes it sound like Forgejo is the backend, and Codeberg is the frontend, but I'm not 100% sure. If so, did Forgejo separate Gitea's UI, and just soft-fork the backend?

18
3

Can you not remove "Releases" and "Packages" section from your repository in GitHub?

There is a gear icon on the repository page "Edit repository details" and it seemingly allows you to remove those sections from the page but they don't do anything. Is it just me / is this limited with a free account or just a bug?

Couldn't find anything about this by googling. Any answers much appreciated!

19
1

My account was flagged because I forked and contributed to the project Eaglercraft, and that means my account is basically useless. I have had enough of Microsoft's exploitation of power and want to switch to another alternative.

I tried GitLab, but I need to signup with a credit card and I am not comfortable giving my personal info out.
I tried Gitea and the experience is great, but I am limited to 5 repos. I tried Source Forge, but I cannot verify my phone number when creating a repo. The prompt just returns an API error.

What other alternative should I try?

20
2

cross-posted from: https://programming.dev/post/223663

Hey folks!

I've noticed that it's often difficult for newcomers to git to understand what the heck is happening and how the commands work.

Here's a flowchart that has helped me explain things in the past, and (more than once) folks have asked me for a copy of it to use as a cheat sheet. Hope it's helpful!

21
1
Git man page generator (git-man-page-generator.lokaltog.net)
22
2
Open Letter to Gitea (gitea-open-letter.coding.social)

cross-posted from: https://lemmy.ml/post/568420

In reaction to the surprise announcement of the creation of Gitea Ltd and the transfer of domains and trademark to this company, worried members of the Community have written an Open Letter to the elected Owners of the project.

The request is to return the assets and manage them by a community-led non-profit organization and furthermore improve the community organization, so that the Trust and Health of the project is restored.

The Open Letter can be signed by sending a PR to the Codeberg repository.

23
1
I hate squash merges (beyermatthias.de)
24
1
submitted 4 years ago* (last edited 4 years ago) by dragnucs@lemmy.ml to c/everything_git@lemmy.ml

So I have this exact need:

There is an upstream project doing their own thing over git and I want to build container images locally and commit them to my image repository all while following the same version system as upstream.

To be more precise (perhaps abstract) about my need, what is the best way to apply the same patch when upstream release a new version.

Any input and best practices or lessons learned are welcome.

25
1
submitted 4 years ago by miguel@lemmy.ml to c/everything_git@lemmy.ml
view more: next ›

GIT - Github, Gitea, Gitlabs. Everything git

454 readers
3 users here now

A place to everything git!

Rules

Cross-posts

Sidebar updates soon!

founded 5 years ago
MODERATORS