Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository for distro #8

Closed
mariobehling opened this issue Dec 25, 2016 · 13 comments
Closed

Repository for distro #8

mariobehling opened this issue Dec 25, 2016 · 13 comments
Labels

Comments

@mariobehling
Copy link
Member

The goal is to keep our files on our own server and have our own repository. What is the simplest model to get this for now?

@mariobehling
Copy link
Member Author

Here is a project that I found, which could be used: https://github.com/krobertson/deb-s3

@mariobehling
Copy link
Member Author

Or: Turn your Apt repo into a git repo http://www.hackgnar.com/2016/01/creating-remote-apt-package.html

@mariobehling
Copy link
Member Author

@abishekvashok
Copy link
Member

I got the solution sir @mariobehling we could easily set up one apt repository; We could run a script with Travis that pushes to a git repo hosted on the server and make a copy and convert it to a apt repository;

But can you @mariobehling have a server for it or should i afford the server, a domain name is also required as we cant host it on github. Sub domains are accepted by apt, so we would require a web server to host the packages what is your view sir @mariobehling

@abishekvashok
Copy link
Member

@mariobehling done it see PR #8

@mariobehling
Copy link
Member Author

mariobehling commented Dec 26, 2016

@Abhi2424shek Preferred solution would be to use GitHub pages. See my earlier comment. We can define a subdomain for this e.g. apt.fossasia.org.

@abishekvashok
Copy link
Member

abishekvashok commented Dec 26, 2016

@mariobehling would follow it up, I saw it the comment but did not go to the link since it states apt to git but it should be git to apt!

@abishekvashok
Copy link
Member

@mariobehling please see PR #10 it resolves this issue

@abishekvashok
Copy link
Member

@mariobehling why was it opened sir?

@yukiisbored
Copy link
Member

For the time being, we can just use launchpad.net as the hosting platform and manager of the repository. The reason why I picked launchpad.net is because it's easy to use and get started. We can do an advanced "real" repository later.

@abishekvashok
Copy link
Member

Hey @yukiisbored, we had a discussion and I too recommended to host on launchpad but we want the sources on our own server hence came to the conclusion to use this repo's gh-pages branch for the repository. Currently my PR #14 initializes the branch and the PR #15 creates a script which updates the sources when a new metapackage added PR is merged! The PR #14 did a lot of deletions and the branch wasn't enabled so after enabling the branch it took some time to finish. So that's why it was not merged as @mariobehling is the one one who presses the green button after reviewing.

Hence, after that PR is merged too we will have our own repository which will host our metapackages!

@yukiisbored
Copy link
Member

yukiisbored commented Dec 29, 2016

I was wondering, isn't better if we leave Debian? Debian has a pretty complicated way of package management, repository, etc and it's too much to handle for a small community. Especially when the fact we don't even have our own server to host these repositories properly. git is pretty terrible at managing binary files (which is also the reason why this repo is pretty large), so I don't recommend setting up a repository with git. I was thinking it's better if we're using something like ports and the git repo is just filled with build/package scripts of various programs (like https://github.com/voidlinux/void-packages, https://github.com/Homebrew/homebrew-games, and https://github.com/6c37/crux-ports-git) and we can have a CI (probably Travis) that builds and deploys these ports into binary packages that the user can just install and download. It still uses git and github but we don't need to build it manually and pushing-pulling a large git repo.

@abishekvashok
Copy link
Member

It's fixed already then why should we have this?

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

No branches or pull requests

3 participants