cfengine / design-center

CFEngine community-contributed content
http://cfengine.com/
Other
80 stars 68 forks source link

how to add 4 to 9 repository urls in one repository with custom name? #445

Open rehan-dev opened 10 years ago

rehan-dev commented 10 years ago

Below are some repository

Ubuntu Main Repos

deb http://us.archive.ubuntu.com/ubuntu/ trusty main deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main

Ubuntu Update Repos

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main

and i need to do all above repo's in one repo like deb http:/github.com/abclinux/ abclinux main so if i going to update my system only one repo exist in my etc/apt/sources.list
deb http:/github.com/abclinux/ abclinux main

and during update use all above repository HOW?

rehan-dev commented 10 years ago

Any Buddy here to answer my question please

nickanderson commented 10 years ago

HI @Rehankhan100, I don't understand your question. Questions are usually best asked on the cfengien help list and any issues you find should be reported in our issue tracker at dev.cfengine.com.

rehan-dev commented 10 years ago

Hey @nickanderson i am build my OWN operating system from scratch so i need my own software repository server in github it is possible or not like ubuntu repository server

nickanderson commented 10 years ago

I dont know that github would be a great place to host a package repository. Its probably possible by using their raw content URLs. For example take this URL: https://raw.githubusercontent.com/cfengine/masterfiles/master/.gitignore It maps to https://raw.githubusercontent.com/<USERNAME>/<GIT REPO NAME>/<BRANCH>/.gitignore

So after constructing your package repo in a git repository comiting and pushing I guess your apt config lines would look like this: deb https://raw.githubusercontent.com/<USERNAME>/<GIT REPO NAME>/<BRANCH> abclinux main So assuming that you called your git repo that your package repo is stored in abclinuxpackagerepo, and assuming you want to be pointed to the master branch I guess it would look like this. deb https://raw.githubusercontent.com/Rehankhan100/abclinuxpackagerepo/master abclinux main.

This would be a good discussion for the cfengine-help list. Lots of debian people who could help you validate what you want to do. Its still not clear to me.

rehan-dev commented 10 years ago

Thanks @nickanderson for your support if i need your help i will comment here