Quick Start Guide for building Pisi Packages and contribute Pisi Linux

When you will help to Contribute Pisi Linux all help is very Welcome

Here that what you must do for it.

First of all you need a github account, create one for free over here: https://github.com/

For a GitHub  access write a mail to admin@pisilinux.org

and introduce yourself.

For the GitHub you need rights this rights become you from ertugrul or yusuf.

Then ertugrul or yusuf make you a member of https://github.com/pisilinux

– for the next work you need to install openshh:

Code:

sudo pisi it openssh

– Then create a github ssh-keygen:

Code:

ssh-keygen -t rsa -C “youremailadress“

– Then open the file ~/.ssh/id_rsa.pub and add the text in this file into the ssh key of your github account.

– Then create a local global user name:

Code:

git config –global user.name “yourgithubnickname”

Then create a local global user.email:

Code:

git config –global user.email “yourgithubemailadress”

 

If you are a member  fork the Pisi Linux Repos to your GitHub Account, the fork Button found you on each Repo

it is important for the pull Request and the local work.

Then can you make a map for your github sources when you will work local on it, create in your Home Directory a Folder as Example“Work or Pisi Github.

– Then clone the pisi linux github Repositories that you have forked:

Code:

git clone git@github.com:your name/your forked Repo(example main).git

after that when it runs without a Problem, you can clone any other Repos what you have forked 

Code:

git clone git@github.com:youre name/playground or main or contrib or other.git)

All the pisilinux buildfile sources are now local.

Note: When you will work with the main the contrib or the core Repository for Pisi Linux 2.0 you must make the Repo as remote repository go in the main Directory from your forked Repo and type the command

Code:

git remote add PisiLinux https://github.com/pisilinux/main or contrib or core.git

Before you update the git Repo type:

Code:

git checkout master

to checkout that you are on the master branch

after it type

Code:

git pull PisiLinux master

without it you see on your forked Repo this “This branch is 3 commits behind pisilinux:master.”

The git pull command merging upstream changes into your local repository it is a common task in Git-based collaboration workflows.

Code:

git push origin master

to push the origin files from Pisi Linux repo to your forked Repo. Pushing is how you transfer commits from your local repository to a remote repo.

All Times before you work at your local repository, and give a package to the Pisi Linux Repository type

git checkout master

git pull PisiLinux master

git push origin master

When you have build your pspec.xml and actions.py or you have made a corrction from a package you must add the file to the GitHub

Note: when you have create a new Package or the package what you have build is not in the Repository, you must add a Index file.

Place your Package at the right category, go back to the main Folder where you have place it (as example: you have place the VLC Player in the Folder main/multimedia/video then go back to main and type

Code:

pisi ix –skip-signing

that create a index file for your Pull request

then go further and add you file

Code:

git add filename or git add –all

When you have add your whatever you must commit it the best as example“git commit -m ‘Pisi 1.1 update’ :

Code:

git commit -m ‘describe update’

To upload it to the GitHub or better you Push you‘re commit to the github server type the Following:

Code:

git push origin master

That was all to bring a Pisi Package or another up to the GitHub.

It is not so hard to do it, and you become each Time help at the slack-chat from the Team

 

Advertisements