maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Panucci Podcast and Audiobook Player (https://talk.maemo.org/showthread.php?t=25584)

Helmuth 2011-02-18 16:15

Re: Panucci Podcast and Audiobook Player
 
Okay, I hope I have at Sunday enough time. I have no git at my N900. At least I got a "~sh: git: not found" when entering git at the terminal. I would say wikipedia is now a good reading for me. Very interesting. As a .NET developer (it's only my Job, not my religion) the Linux world impresses me again and again. :)

I will come back to you as soon as I learned the basics.

Helmuth 2011-02-18 16:18

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 949845)
All files must be 7-bit us-ascii or utf8. I don't know what "linux compatible format" are"! :p

:D

The Linefeed only with Ascii[10] and not with Ascii[10+13] like at Windows.
(this piece of s****** took me several hours searching and fiddling why my changed *.py Files are not able to run at the N900!)

xerxes2 2011-02-18 16:20

Re: Panucci Podcast and Audiobook Player
 
No problem man. My three step tutorial was for linux. Dunno how to use git on Windows. But if you install git on your n900 it should work.

Helmuth 2011-02-18 21:03

Re: Panucci Podcast and Audiobook Player
 
Okay, I installed git on my N900. But I got this error:

Code:

~/MyDocs/PyProgramme/Panucci/modified/git $ ls
~/MyDocs/PyProgramme/Panucci/modified/git $ git clone git@github.com:xerxes2/panucci.git
warning: templates not found /home/builder3/maemo-fremantle-armel-extras-devel/work/git-1.6.5.7/debian/git/usr/share/git-core/templates
Initialized empty Git repository in /home/user/MyDocs/PyProgramme/Panucci/modified/git/panucci/.git/
fatal: The remote end hung up unexpectedly

I guess I will see on Sunday how I could use git on Windows...

xerxes2 2011-02-18 21:09

Re: Panucci Podcast and Audiobook Player
 
I would like to help but as I don't got a n900 it's hard. Anyway, for windows I found this:
http://nathanj.github.com/gitguide/tour.html

And the steps are exactly:

1. $ git clone git@github.com:xerxes2/panucci.git
2. $ cd panucci
3. Make your changes.
4. $ git diff HEAD > panucci.patch
5. Give me the patch.

xerxes2 2011-02-20 18:34

Re: Panucci Podcast and Audiobook Player
 
Ok, I talked with nikosapi and it was not possible to empty the playlist so I fixed it. Too bad git doesn't seem to work on n900 though. I also promised him to try and make it work for n800 so if it doesn't just tell me. Nikosapi also had a few suggestions for big changes in Panucci but my current plan is to fix 1.0 quick with a lot of duct tape instead and make the big changes in 2.0. 2.0 will be targeted for Meego and other new distros. I don't know if Meego has already moved to python3 but some day it will, Python 2 and 3 are almost the same but there might (probably) be something that doesn't work. As always patches are very much welcome for my repo.

https://github.com/xerxes2/panucci

thp 2011-02-21 11:12

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 950062)
git@github.com:xerxes2/panucci.git

You are using the wrong URL (that's the SSH one). Try this one instead (anonymous, read-only Git protocol):

git://github.com/xerxes2/panucci.git

xerxes2 2011-02-21 13:13

Re: Panucci Podcast and Audiobook Player
 
Thanks man, as you already know I'm new to git too.

So the steps for submitting a patch should be:

1. $ git clone git://github.com/xerxes2/panucci.git
2. $ cd panucci
3. Make your changes.
4. $ git diff HEAD > panucci.patch
5. Give me the patch.

Helmuth 2011-02-21 14:27

Re: Panucci Podcast and Audiobook Player
 
Hi, I'm currently at work and my mate had different plans for sunday, but I gave git at the N900 a second try. This time with thp's link. Promising at the beginning but in the end still a empty directory.

Code:

~/MyDocs/PyProgramme/Panucci/modified/git $ ls
~/MyDocs/PyProgramme/Panucci/modified/git $ git clone git://github.com/xerxes2/panucci.git
warning: templates not found /home/builder3/maemo-fremantle-armel-extras-devel/work/git-1.6.5.7/debian/git/usr/share/git-core/templates
Initialized empty Git repository in /home/user/MyDocs/PyProgramme/Panucci/modified/git/panucci/.git/
remote: Counting objects: 2062, done.
git: 'index-pack' is not a git-command. See 'git --help'.
fatal: index-pack failed
~/MyDocs/PyProgramme/Panucci/modified/git $ remote: Compressing objects:  0% (remote: Compressing objects: 100% (517/517), done.
ls
~/MyDocs/PyProgramme/Panucci/modified/git $

Is there a module missing?
Why doesn't 'index-pack' work?

I need some time for the Windows trying. And as you know, xerxes2... I'm not only new to git, I'm also new to Linux and Python. :D (so, don't forget to pray and be very patient)

xerxes2 2011-02-21 21:45

Re: Panucci Podcast and Audiobook Player
 
Don't worry. As you know, C# is just a Python ripoff so you'll be doing just fine. And no sorry I don't pray that much nor beeing very patient. :D

And for the git problem I've no idea. :(


All times are GMT. The time now is 03:18.

vBulletin® Version 3.8.8