09-28-2013, 06:07 AM | #1 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Git
Last edited by twobob; 09-28-2013 at 01:38 PM. |
09-28-2013, 09:42 AM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
Advert | |
|
09-28-2013, 09:46 AM | #3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
root@kindle:/usr/local/src/git-1.7.10.4# ./configure --disable-jsmin --disable-cssmin --with-shell=/bin/sh --without-tcltk --prefix=/mnt/us/extensions/git/usr --with-gitconfig=/mnt/us/extensions/git/usr/etc/gitconfig --with-gitattributes=/mnt/us/extensions/git/usr/etc/gitattributes --with-sane-tool-path=/mnt/us/extensions/git/build/
I was envisioning the /mnt/us/extensions/git/build/ might have to be a mounted ext3 loop so I may have screwed up there. perhaps it should have been: /mnt/base-us/extensions/git/build/ ?? lord only knows if that will work... input would be nice... |
09-28-2013, 10:23 AM | #4 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
I was thinking if we could store all kual button apps on github or something like that, then write a script that uses git to update all the user's extensions. Add a kual button to that, and we have ourself a pretty good looking update system.
|
09-28-2013, 10:24 AM | #5 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Oh and, hold the ext3 images, this has got to be noob proof.
|
Advert | |
|
09-28-2013, 10:25 AM | #6 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Maybe install as standard with kual.
Maybe we could write a java app store as well. And maybe have postinst scripts. |
09-28-2013, 10:51 AM | #7 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
(Well, several of them for different parts of the user addins.) No update and/or distribution mechanism (yet). Are you volunteering? |
|
09-28-2013, 10:54 AM | #8 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle root]# /mnt/us/extensions/git/usr/bin/git
Quote:
I'll try to use it Last edited by twobob; 09-28-2013 at 01:58 PM. |
|
09-28-2013, 11:03 AM | #9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
um maybe I should haven't built all the docs...
222MB zipped up HAHAHAHAHAHAHA. Thought the touch was running a bit slow... Let me try to clean this mess up |
09-28-2013, 11:12 AM | #10 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Nah. it's what I said before.
The symlinks have all been unrolled to 100 copies of the 4.6 MB git file. So. As mentioned above... will think about some clever - dumbwit-resistant - loop solution. Thinking.... |
09-28-2013, 12:34 PM | #11 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
222 MB. Bring on the loopfiles!!!. We could have a script that mounts it, then recursively git pull the latest stuff. Should be within about a 100 lines of bash. Maybe could use your osd stuff. Then umounts it.
|
09-28-2013, 12:35 PM | #12 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
|
09-28-2013, 12:53 PM | #13 |
Guru
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Code:
#/bin/sh GIT_LOOP="/mnt/us/extensions/git.img" cd /mnt/us/extensions function notifyUser(){ #TODO } function mountGit() { mkdir -p /mnt/us/extensions/mountpoint-git mount -o loop $GIT_LOOP /mnt/us/extensions/mountpoint-git notifyUser "Mount success..." } function umountGit(){ umount $GIT_LOOP notifyUser "Unmount success" } function updateExtensions() { for ext in ./* do cd "${ext}" /mnt/us/extensions/mountpoint-git/bin/git pull notifyUser "Successfully got ${ext} from git" done } mountGit updateExtensions umountGit |
09-28-2013, 12:56 PM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
09-28-2013, 01:22 PM | #15 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
okay. done it.
some sacrifices were made. have to type git add rather than git-add live with it. [root@kindle GIT]# alias \ git='LD_LIBRARY_PATH=/mnt/us/extensions/git/usr/lib/:$LD_LIBRARY_PATH /mnt/us/extensions/git/usr/bin/git' [root@kindle GIT]# mkdir /mnt/us/GIT; cd /mnt/us/GIT; [root@kindle GIT]# git clone https://github.com/bfabiszewski/kterm kterm-on-FAT Quote:
I'm no git expert.. so yeah. I /think/ it works. Oh I managed to get it down to like 15ish Mb Last edited by twobob; 09-28-2013 at 05:11 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching to git | kovidgoyal | Development | 24 | 08-23-2014 11:24 PM |
Common official git for kobo dev | rekrek | Kobo Developer's Corner | 2 | 09-01-2013 02:23 PM |
Compiling from git, Ubuntu 12.04 | varlog | Sigil | 16 | 01-24-2013 04:27 AM |
EPUB for GIT User manual | miwie | Conversion | 2 | 07-20-2011 01:19 AM |
HowTo: Use git under Windows to track calibre development | siebert | Development | 0 | 02-26-2011 05:27 PM |