Compare commits

...

11 Commits

8 changed files with 133 additions and 1 deletions

View File

@ -1,3 +1,14 @@
2024-02-16 Mert Gör <mertgor@masscollabs.xyz>
* multiple-forge.tr.md: Multiple Forge yani birden fazla forge Türkçe çevirisi eklendi
2024-02-15 Mert Gör <mertgor@masscollabs.xyz>
* multiple-forge.md: Multiple forge addresses explained and added to ChangeLog for the new release
* README.md: typo fix and It will be the source for the new release
2024-02-01 Mert Gör <mertgor@masscollabs.xyz>
* hacker.tr.md: The Turkish version of how to become a committer

View File

@ -1,5 +1,7 @@
# A Guide for Hackers who wants to become a committer
![Free Software](img/freesoftware1024x768.png)
This repository includes the path to become a committer with any kind of git oriented workflow to push commits to any kind of forge.
# Setting SSH Keys

View File

@ -1,5 +1,7 @@
# Bir git tabanlı projede yazma iznine sahip olmak isteyen Hackerlar(Yazılımcılar) için Kılavuz
![Free Software](img/freesoftware1024x768.png)
Bu makale, içerik üretme ile ilgili her türlü forge'ye(yazılım depo platformuna) içerikleri göndermek için her türlü git odaklı iş akışına sahip bir yazılımcı olmanın yolunu anlatır.
# SSH Anahtarlarını Ayarlama
@ -57,7 +59,7 @@ Lütfen aşağıdaki bağlantıları okuyunuz :
* SSH Key'i oluşturduk ve public SSH Key'imizi GitHub hesabımıza ekledik.
* Bu örnekte GPG Anahtarını oluşturduk, gizli anahtarı dışa aktardık, iptal sertifikasını dışa aktardık, genel anahtarımızı bir sunucuya gönderdik ve ardından secret.key ve revoke.asc'mizi harici bir diske taşıdık. Daha sonra GPG anahtarımızı GitHub hesabına ekledik.
* Bu örnekte GPG Anahtarını oluşturduk, genel anahtarımızı bir sunucuya gönderdik ve ardından secret.key ve revoke.asc'mizi harici bir diske taşıdık. Daha sonra GPG genel anahtarımızı GitHub hesabına ekledik.
* Yazdığımız içeriği imzalamak için git hesabımızı yapılandırdık.

BIN
img/freesoftware.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

BIN
img/freesoftware.xcf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

58
multiple-forge.md Normal file
View File

@ -0,0 +1,58 @@
# Multiple Git repositories to push at once
First we create remote repositories on the related forge web user interfaces.
For this repository they are :
* [GitHub](https://github.com/hwpplayer1/hacker-how-to)
* [GitLab](https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to)
* [sr.ht](https://git.sr.ht/~mertgor/hacker-how-to)
* [vern.cc](https://git.vern.cc/hwpplayer1/hacker-how-to)
* [Disroot](https://git.disroot.org/hwpplayer1/hacker-how-to)
* [Codeberg](https://codeberg.org/hwpplayer1/hacker-how-to)
and your local forge (for me it is forgejo)
We add SSH addresses but you may add the https addresses
Here it is step by step
```git clone git@github.com:hwpplayer1/hacker-how-to.git```
Then ```cd hacker-how-to```
After this change the ```origin``` with ```github``` and add ```git remote add all git@github.com:hwpplayer1/hacker-how-to.git```
This will make the GitHub all address to lead all repositories
After this add GitLab ```git remote add gitlab git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
sr.ht ```git remote add sr.ht git@git.sr.ht:~mertgor/hacker-how-to```
vern.cc ```git remote add vern.cc ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
disroot ```git remote add disroot git@git.disroot.org:hwpplayer1/hacker-how-to.git```
and codeberg ```git remote add codeberg git@codeberg.org:hwpplayer1/hacker-how-to.git```
After this we will execute ```git remote set-url --add --push all``` command for each git ssh address
They are :
```git remote set-url --add --push all git@github.com:hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
```git remote set-url --add --push all git@git.sr.ht:~mertgor/hacker-how-to```
```git remote set-url --add --push all ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@git.disroot.org:hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@codeberg.org:hwpplayer1/hacker-how-to.git```
and for my local forge as forgejo it is ```git remote set-url --add --push all git@127.0.0.1:hwpplayer1/hacker-how-to.git```
Then run ```git add .``` for your files ```git commit -S -m "Your Commit Message"``` and run ```git push -uv all``` to push your commits to remote.
**happy hacking!...**

59
multiple-forge.tr.md Normal file
View File

@ -0,0 +1,59 @@
# Birden fazla forge(kod barındırma ortamına) içerik göndermek
Öncelikle ilgili forge web kullanıcı arayüzlerinde uzaktaki adres arayüzünden depolar oluşturuyoruz.
Bunun için aşağıdaki gibi adreslere erişiyoruz :
* [GitHub](https://github.com/hwpplayer1/hacker-how-to)
* [GitLab](https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to)
* [sr.ht](https://git.sr.ht/~mertgor/hacker-how-to)
* [vern.cc](https://git.vern.cc/hwpplayer1/hacker-how-to)
* [Disroot](https://git.disroot.org/hwpplayer1/hacker-how-to)
* [Codeberg](https://codeberg.org/hwpplayer1/hacker-how-to)
ve yerel kod ortamımız ( forge ) benim için bu forgejo'dur.
Biz SSH adreslerini ekliyoruz ancak siz https adreslerini ekleyebilirsiniz.
Adım adım anlatımı aşağıdaki gibidir :
```git clone git@github.com:hwpplayer1/hacker-how-to.git```
Sonra ```cd hacker-how-to```
Ve bundan sonra ```origin``` adres ismini ```github``` ile değiştirin ve ```git remote add all git@github.com:hwpplayer1/hacker-how-to.git``` adresini all olarak ekleyin.
Bu, GitHub'ın all olarak ilk ve lider olarak tüm depoları kapsayacak şekilde bizim içerik göndermemizi sağlaycaktır.
Bundan sonra ```git remote add gitlab git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git``` GitLab adresini ekleyelim.
sr.ht için ```git remote add sr.ht git@git.sr.ht:~mertgor/hacker-how-to```
vern.cc için ```git remote add vern.cc ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
disroot için ```git remote add disroot git@git.disroot.org:hwpplayer1/hacker-how-to.git```
ve Codeberg için ```git remote add codeberg git@codeberg.org:hwpplayer1/hacker-how-to.git```4
Bu aşamadan sonra her adres için bu komutu çalıştıracağız ```git remote set-url --add --push all```
Bunlar :
```git remote set-url --add --push all git@github.com:hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
```git remote set-url --add --push all git@git.sr.ht:~mertgor/hacker-how-to```
```git remote set-url --add --push all ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@git.disroot.org:hwpplayer1/hacker-how-to.git```
```git remote set-url --add --push all git@codeberg.org:hwpplayer1/hacker-how-to.git```
ve benim local forge(forgejo'm)'um için ```git remote set-url --add --push all git@127.0.0.1:hwpplayer1/hacker-how-to.git```
Sonra kodumuzu veya içeriğimizi göndermek için sırasıyla ```git add .``` dosyalarımızı eklemek için, ```git commit -S -m "Your Commit Message"``` dosyalarımızı işlemek için, ve ```git push -uv all``` dosyalarımızı ilgili uzak depolara(forge ortamlarına) göndermek için çalıştırılacaktır.
**mutlu hacklemeler!...**