beta2
|
3rd Nov, 2013, 09:08 AM
Post: #645
|
|||
|
|||
RE: beta2
A feature request i heard of when i was still a dev was that XBian should be able to have multiple repositories for each released version, and a development repository. This way, old versions can still be maintained without getting in conflict with newer packages. I'm currently successfully experimenting with such a setup for pilight.
I updated the apt repo creator to allow for this functionality. What you need to do is the following. 1) Create a folder for each repo version you want to create. In this case they are called devel and stable. Terminal drwxrwxr-x 0 root root 0 nov 2 23:03 debs drwxrwxr-x 0 root root 0 nov 2 23:41 devel drwxrwxr-x 0 root root 0 nov 2 23:35 dists drwxrwxr-x 0 root root 0 nov 2 23:41 .gnupg -rwxrwxr-x 1 root root 15 nov 1 23:54 password drwxrwxr-x 0 root root 0 nov 2 23:35 stable 2) Add the debs you want to add in this specific repo version and with the update.sh Terminal totaal 2048 -rwxrwxr-x 1 root root 198526 nov 2 23:23 pilight1.0.deb -rwxrwxr-x 1 root root 7404 nov 2 23:42 update.sh 3) Edit the update.sh file and especially the APTNAME and APTDESC variable: Terminal NAME="pilight"; LABEL="pilight repository"; APTNAME="devel"; APTDESC="pilight development apt repository"; PASSFILE="../password"; PREFIX="../"; GNULOC="../.gnupg"; 4) Run the update.sh in each folder. 5) In my case, a devel and a stable repository are created: Terminal dists/: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:41 devel drwxrwxr-x 0 root root 0 nov 2 23:35 stable dists/devel: totaal 3072 -rwxrwxr-x 1 root root 1440 nov 2 23:41 InRelease drwxrwxr-x 0 root root 0 nov 2 23:35 main -rwxrwxr-x 1 root root 903 nov 2 23:41 Release -rwxrwxr-x 1 root root 490 nov 2 23:41 Release.gpg dists/devel/main: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:41 binary-armhf dists/devel/main/binary-armhf: totaal 3072 -rwxrwxr-x 1 root root 0 nov 2 23:41 Packages -rwxrwxr-x 1 root root 29 nov 2 23:41 Packages.gz -r-xr-xr-x 1 root root 126 nov 2 23:41 Release dists/stable: totaal 3072 -rwxrwxr-x 1 root root 1436 nov 2 23:35 InRelease drwxrwxr-x 0 root root 0 nov 2 23:34 main -rwxrwxr-x 1 root root 899 nov 2 23:35 Release -rwxrwxr-x 1 root root 490 nov 2 23:35 Release.gpg dists/stable/main: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:35 binary-armhf dists/stable/main/binary-armhf: totaal 3072 -rwxrwxr-x 1 root root 0 nov 2 23:35 Packages -rwxrwxr-x 1 root root 29 nov 2 23:34 Packages.gz -r-xr-xr-x 1 root root 121 nov 2 23:35 Release 6) Also each repository will have his own pool subfolder so packages don't overwrite each other: Terminal pool/: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 devel drwxrwxr-x 0 root root 0 nov 2 23:57 stable pool/devel: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 main pool/devel/main: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 p pool/devel/main/p: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 pilight pool/devel/main/p/pilight: totaal 1024 -rwxrwxr-x 1 root root 199380 nov 2 23:57 pilight_1.1-1_armhf.deb pool/stable: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 main pool/stable/main: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 p pool/stable/main/p: totaal 0 drwxrwxr-x 0 root root 0 nov 2 23:57 pilight pool/stable/main/p/pilight: totaal 1024 -rwxrwxr-x 1 root root 198526 nov 2 23:57 pilight_1.0_armhf.deb 7) If users want to use one of the repositories they can simply use: Code: deb http://apt.xbian.org/ stable main Code: deb http://apt.xbian.org/ devel main However, it would be great if we can have these so users can choose any of them: Code: deb http://apt.xbian.org/ beta1 main In the current situation, you can change: Code: deb http://xbian.brantje.com/ wheezy main Code: deb http://xbian.brantje.com/ beta1.1 main and Code: deb http://xbian.brantje.com/devel wheezy main Code: deb http://xbian.brantje.com/ devel main By using this method, the old repository can always exists next to newer versions which will result in more happy users ![]() pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
RE: beta2 - Uncle_Tubbie - 9th Sep, 2013, 04:12 AM
RE: beta2 - anonimo200 - 10th Sep, 2013, 10:03 AM
RE: beta2 - anonimo200 - 10th Sep, 2013, 05:39 PM
RE: beta2 - anonimo200 - 10th Sep, 2013, 06:21 PM
RE: beta2 - anonimo200 - 11th Sep, 2013, 03:04 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 04:18 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 06:57 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 07:59 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 09:00 AM
RE: beta2 - anonimo200 - 12th Sep, 2013, 12:15 AM
RE: beta2 - wind-rider - 30th Sep, 2013, 08:48 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 04:38 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:46 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:00 PM
Re: RE: beta2 - f1vefour - 28th Sep, 2013, 05:15 PM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:52 PM
RE: beta2 - wind-rider - 28th Sep, 2013, 11:04 PM
RE: beta2 - wind-rider - 29th Sep, 2013, 03:07 AM
Re: RE: beta2 - f1vefour - 29th Sep, 2013, 12:15 AM
Re: RE: beta2 - f1vefour - 29th Sep, 2013, 01:03 AM
RE: beta2 - blackvenom - 29th Sep, 2013, 07:08 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:04 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:38 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:33 AM
RE: beta2 - wind-rider - 2nd Oct, 2013, 06:33 AM
Re: RE: beta2 - f1vefour - 1st Oct, 2013, 12:21 PM
Re: beta2 - rikardo1979 - 3rd Oct, 2013, 09:23 PM
Re: RE: beta2 - rikardo1979 - 3rd Oct, 2013, 09:44 PM
Re: RE: beta2 - f1vefour - 3rd Oct, 2013, 10:35 PM
RE: beta2 - rikardo1979 - 3rd Oct, 2013, 11:49 PM
Re: RE: beta2 - f1vefour - 4th Oct, 2013, 02:15 AM
Re: RE: beta2 - f1vefour - 4th Oct, 2013, 04:09 AM
Re: RE: beta2 - f1vefour - 5th Oct, 2013, 12:21 AM
RE: beta2 - rikardo1979 - 6th Oct, 2013, 05:33 AM
Re: RE: beta2 - f1vefour - 6th Oct, 2013, 02:46 AM
RE: beta2 - rikardo1979 - 6th Oct, 2013, 05:27 AM
Re: RE: beta2 - f1vefour - 11th Oct, 2013, 01:04 PM
RE: beta2 - lordgandhi - 20th Oct, 2013, 06:34 AM
RE: beta2 - lordgandhi - 20th Oct, 2013, 07:29 PM
RE: beta2 - lordgandhi - 1st Nov, 2013, 10:13 PM
boot loop on "starting xbmc" - Darkguy - 19th Oct, 2013, 10:55 PM
boot loop reproducable :( - Darkguy - 20th Oct, 2013, 01:51 AM
RE: beta2 - rikardo1979 - 20th Oct, 2013, 03:24 AM
Re: RE: beta2 - Smultie - 20th Oct, 2013, 03:37 AM
Re: RE: beta2 - f1vefour - 25th Oct, 2013, 10:13 AM
RE: beta2 - thedude459 - 28th Oct, 2013, 12:08 AM
RE: beta2 - adepssimius - 29th Oct, 2013, 10:07 AM
RE: beta2 - rikardo1979 - 29th Oct, 2013, 10:26 AM
RE: beta2 - thedude459 - 30th Oct, 2013, 11:33 PM
RE: beta2 - lordgandhi - 2nd Nov, 2013, 03:02 AM
RE: beta2 - lordgandhi - 2nd Nov, 2013, 03:40 AM
RE: beta2 - rikardo1979 - 2nd Nov, 2013, 12:48 AM
RE: beta2 - CurlyMo - 3rd Nov, 2013 09:08 AM
Re: RE: beta2 - f1vefour - 3rd Nov, 2013, 09:08 AM
RE: beta2 - rikardo1979 - 6th Nov, 2013, 09:34 PM
RE: beta2 - adepssimius - 7th Nov, 2013, 05:00 AM
Re: RE: beta2 - f1vefour - 9th Nov, 2013, 01:02 PM
RE: beta2 - raspberry_pd - 10th Nov, 2013, 10:03 PM
RE: beta2 - theimmortal - 13th Nov, 2013, 10:19 AM
Re: RE: beta2 - f1vefour - 10th Nov, 2013, 11:51 PM
Re: RE: beta2 - f1vefour - 11th Nov, 2013, 12:42 AM
Re: RE: beta2 - f1vefour - 15th Nov, 2013, 10:34 PM
RE: beta2 - rikardo1979 - 15th Nov, 2013, 10:36 PM
Re: RE: beta2 - f1vefour - 15th Nov, 2013, 10:44 PM
Re: RE: beta2 - f1vefour - 16th Nov, 2013, 03:56 AM
Re: RE: beta2 - f1vefour - 16th Nov, 2013, 04:08 AM
RE: beta2 - Uncle_Tubbie - 16th Nov, 2013, 04:24 AM
RE: beta2 - Horrorzilla - 16th Nov, 2013, 12:20 PM
Re: RE: beta2 - f1vefour - 19th Nov, 2013, 11:56 PM
Re: RE: beta2 - f1vefour - 27th Dec, 2013, 04:19 PM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 06:35 AM
RE: Beta 2 Users only [Help needed] - rikardo1979 - 12th Nov, 2013, 06:42 AM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 09:16 AM
RE: Beta 2 Users only [Help needed] - f1vefour - 12th Nov, 2013, 11:15 AM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 11:45 AM
RE: Beta 2 Users only [Help needed] - mzs - 12th Nov, 2013, 01:53 PM
|