Page 9 of 12
Configure and clone remote repositories automatically
Posted: Fri 27 Dec 2013, 15:28
by nilsonmorales
Sorry my english is not very good looking
Code: Select all
#!/bin/sh
#Script to configure and clone remote repositories automatically
#27122013 written by D-coy
#27122013, GPL3 (/usr/share/doc/legal)
#28122013 nilsonmorales help lines and English version
# settings for username and email
echo -n 'Enter your Username: '
read username
if git config --global user.name $username 2>/dev/null ; then
git config --global user.name $username
echo -n 'Enter your Email: '
read email
git config --global user.email $email
#General settings
#You can add your own settings here
git config --global core.editor geany
git config --global core.pager ''
git config --global color.ui true
git config --global http.sslVerify false
git config --global push.default matching
git config --global push.default simple
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
echo -n "Do you want to clone a repo? y/n: "
read clone
if [ "$clone" == "y" ]; then
#Enter address repository
#Ex: https://github.com/nilsonmorales/Badass
echo -n "Repo URL: "
read repo
git clone $repo
fi
else
echo 'Need "git" package installed...'
exit
fi
Posted: Fri 27 Dec 2013, 21:57
by mavrothal
Thanks nilsonmorales.
BTW to clone woof-CE at the "Repo URL: " script prompt type:
Code: Select all
https://github.com/puppylinux-woof-CE/woof-CE.git
Posted: Mon 30 Dec 2013, 09:21
by musher0
mavrothal wrote:Thanks nilsonmorales.
BTW to clone woof-CE at the "Repo URL: " script prompt type:
Code: Select all
https://github.com/puppylinux-woof-CE/woof-CE.git
Hi, mavrothal.
That's a URL, not code, isn't it?
Best regards.
musher0
Posted: Mon 30 Dec 2013, 15:38
by mavrothal
musher0 wrote:mavrothal wrote:Thanks nilsonmorales.
BTW to clone woof-CE at the "Repo URL: " script prompt type:
Code: Select all
https://github.com/puppylinux-woof-CE/woof-CE.git
Hi, mavrothal.
That's a URL, not code, isn't it?
Picky, picky...
but is actually code since you must type it in the terminal in the context of a specific script to clone therepo.If you just paste it in your browser instead of cloning the repo you just go to the woof-CE github page.
Posted: Mon 30 Dec 2013, 21:15
by musher0
Ok, mavrothal, I'll be even "picky-er". Which context, please?
See for yourself, it doesn't work!
musher0
Posted: Mon 30 Dec 2013, 22:31
by mavrothal
musher0 wrote:Ok, mavrothal, I'll be even "picky-er". Which context, please?
See for yourself, it doesn't work!
musher0
OK let's try this again
I'm responding to a post from nilsonmorales
above that has a
script to setup your git variables and download a(ny) repo.
The scripts reads 8 lines from the end:
Code: Select all
echo -n "Repo URL: "
read repo
git clone $repo
and I comment
BTW to clone woof-CE at the "Repo URL: " script prompt type:
Code: Select all
https://github.com/puppylinux-woof-CE/woof-CE.git
So in the
context of the script in discussion the url becomes code.
You can find many more lines of code like this in any download script I believe.
Please go ahead and start picking on the authors if you still think that these are URLs and not code.
Happy New Year.
Posted: Tue 31 Dec 2013, 07:02
by musher0
@mavrothal:
Hey man, I'm not picking on anyone. Sorry for any confusion.
I just want to download the Woof git as can be done with pekwm, for example, and
give it a try. I tried to download the packages the way I do with pekwm, and it doesn't
work. That's my context.
Happy New Year to you too.
musher0
Posted: Tue 31 Dec 2013, 08:03
by musher0
Ok now. Got the Woof zip'd package installed and running.
Thanks for scrubbing my ears a little. BFN.
Posted: Tue 31 Dec 2013, 08:16
by mavrothal
musher0 wrote:Ok now. Got the Woof zip'd package installed and running.
Be advised that downloading the zipped file from the woof-CE github page (clicking on the "Download ZIP" button) will get you a static snapshot of the master branch of the repository. Will
not clone the repo. ie you will not be able to track/commit/push any changes you make, see the other branches, update the repo etc.
Posted: Tue 31 Dec 2013, 11:28
by musher0
mavrothal wrote:musher0 wrote:Ok now. Got the Woof zip'd package installed and running.
Be advised that downloading the zipped file from the woof-CE github page (clicking on the "Download ZIP" button) will get you a static snapshot of the master branch of the repository. Will
not clone the repo. ie you will not be able to track/commit/push any changes you make, see the other branches, update the repo etc.
Hello.
Thanks for your "advisory".
At this time, I only wish to study how a Puppy can be built, I do not wish to contribute. (Perhaps in due time.)
Now that I have the full package installed, how do I get the developers' recent edits?
Through the "git clone" command? Thanks in advance.
musher0
Posted: Wed 01 Jan 2014, 07:59
by mavrothal
musher0 wrote:
Now that I have the full package installed, how do I get the developers' recent edits?
Through the "git clone" command? Thanks in advance.
If you have cloned the repository (and not just downloaded the zipped archive)
will get the latest updates. Go to the testing branch by
for the bleading edge changes.
BTW Karl Godt
has 3 posts on using git/github. Take a look.
Is 2014 already...
HAPPY NEW YEAR everyone
Posted: Wed 01 Jan 2014, 08:39
by musher0
Thanks, and Happy New Year to you too!
Posted: Wed 08 Jan 2014, 13:28
by 01micko
Posted: Wed 08 Jan 2014, 13:49
by James C
Posted: Wed 08 Jan 2014, 14:31
by James C
It's alive.....
# report-video
/usr/sbin/report-video: line 133: ddcprobe: command not found
Report Video 1.3 - Wed 8 Jan 2014 on Slacko64 Puppy 5.8.5 - Linux 3.12.6 x86_64
Chip description:
NVIDIA NV4c
X Server: Xorg Driver used: nouveau
X.Org version: 1.12.4
dimensions: 1366x768 pixels (361x203 millimeters)
depth of root window: 24 planes
...the above also recorded in /tmp/root/ as report-video,
and archived with xorg.conf and Xorg.0.log as report-video-full.gz
#
Code: Select all
# uname -a
Linux puppypc12884 3.12.6 #1 SMP Sun Dec 29 07:24:09 EST 2013 x86_64 AMD Athlon(tm) II X4 620 Processor AuthenticAMD GNU/Linux
Code: Select all
# free
total used free shared buffers
Mem: 3796824 689668 3107156 0 70036
-/+ buffers: 619632 3177192
Swap: 0 0 0
#
Posted: Wed 08 Jan 2014, 16:26
by mavrothal
Bummer...
I will not have access to my x86_64 machine for another 10 days
Posted: Wed 08 Jan 2014, 17:13
by jamesbond
Mick,
Congratulations!
mavrothal wrote:
Bummer...
I will not have access to my x86_64 machine for another 10 days
Can try to run it in XO4 under qemu-system-x86_64, though ...
Posted: Wed 08 Jan 2014, 20:50
by Ted Dog
lol Id wait ten days either way.... funny JB.. have not read to much of this thread since I cant get to internet for a git pull. everything phone based and the phone company is starting to corrupt my larger iso downloads.
is there 64bit work underway? not related to fatdog.
oh there it is a few posts up... downloading this now hope the phonecompany is not going to have me burn up my extra data on multiple attempts. Could not get Ubuntu to download without stopping somewhere between 40 to 70 percent..
yeah for small size... finished fine and now to boot windows8 to move it from my phone..
Posted: Sun 12 Jan 2014, 06:28
by James C
New version....
Posted: Sun 12 Jan 2014, 09:26
by Billtoo
Manual frugal install to the hard drive, computer is a gateway desktop
pc.
video-info-glx 1.5.3 Sun 12 Jan 2014 on Slacko64 Puppy 5.8.6 Linux 3.12.7 x86_64
X Server: Xorg Driver: nouveau
X.Org version: 1.12.4
dimensions: 1920x1080 pixels (508x285 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVC8
OpenGL version string: 2.1 Mesa 8.0.4
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Core 0: @1600 1: @1600 2: @1600 3: @1600 4: @1600 5: @1600 6: @1600 7: @1600 MHz
So far:
Installed kdegames from ppm.
Tried compiling proprietary nvidia driver and it compiled successfully
but it couldn't update the xconf (deleted save file and started over)
Hardinfo runs but crashed as soon as it started to generate a report.
Mplayer didn't work so I compiled the mplayer checkout + smplayer.
I changed wallpaper but it didn't stick after rebooting.
Firefox is very slow to connect to any website.