Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

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

Open
rehan-dev opened this issue Jul 24, 2014 · 5 comments
Open

Comments

@rehan-dev
Copy link

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
Copy link
Author

Any Buddy here to answer my question please

@nickanderson
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants