Active Topics

 


Reply
Thread Tools
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#31
Originally Posted by fatalsaint View Post
My biggest complaint with py2deb was I couldn't get it to properly maintain a changelog file in the right format.

I never even managed to try the bugtracker and app manager stuff in it because I gave up after wanting to keep my previous changelog stuff while adding new entries. I had a big string with \n's and stuff and it just didn't output right.
I'll play with that this weekend and poke you when it's done if you're interested. My changelog comes out right, but I haven't yet implemented the one that shows up in app manager (Though I suspect it'd only take a few minutes to implement).

BTW, not sure what you were trying, but if you were formating your strings like this:
Code:
changelog = """some info
               some more info, etc
               yet more info"""
Then that could be your issue, as that's going to produce:
Code:
some info
                           some more info, etc
                           yet more info
What I've been doing instead is:
Code:
changelog = ("Some info\n"
             "some more info, etc\n"
             " yet more info")
Which allows me to keep my code pretty but not botch output.

If that wasn't your issue, just ignore me :-)
__________________
aspidites | blog | aspidites@inbox.com

Last edited by aspidites; 2010-06-16 at 17:22.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#32
Originally Posted by aspidites View Post
If that wasn't your issue, just ignore me :-)
Nope, I want the history.

Code:
pyradio (1.3) fremantle; urgency=low

  * Fixed audio while in Silent Profile.

 -- FatalSaint <email>  Tue, 15 Jun 2010 16:30:00 -0700 

pyradio (1.2) fremantle; urgency=low

  * Changed UI to put song title in the label.  Fixed bug relating to FM transmitter state.

 -- FatalSaint <email>  Tue, 15 Jun 2010 00:00:00 -0700 

pyradio (1.1) fremantle; urgency=low

  * Implemented error checking for Pandora communications.  

 -- FatalSaint <email>  Thu, 11 Jun 2010 15:00:00 -0700 

pyradio (1.0) fremantle; urgency=low

  * Initial code and release.  

 -- FatalSaint <email>  Thu, 10 Jun 2010 20:00:00 -0700
I could never figure how to to keep the information from 1.0, 1.1, 1.2, etc as I was adding new versions.

I don't remember specifically my issues, but py2deb seemed to wrap the text I put into "changelog=" with headers or footers to make it "the right" format for a changelog.. but I wanted the changelog to have the whole list.

Before I started managing changelog's myself, I never saw the changelog show up on the repository pages: http://maemo.org/packages/view/pyradio/

Under the "changes" section. So something wasn't working for me.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#33
Strange. It worked fine for me, even without the helper script. Might have missed something.

Here's the one I used for maegym: http://gitorious.org/maegym/maegym/b...aster/setup.py

You can ignore everything after line 67 and remove line 23.
__________________
aspidites | blog | aspidites@inbox.com
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#34
Originally Posted by aspidites View Post
Strange. It worked fine for me, even without the helper script. Might have missed something.

Here's the one I used for maegym: http://gitorious.org/maegym/maegym/b...aster/setup.py

You can ignore everything after line 67 and remove line 23.
Can you show me the resulting changelog? That looks to me like one versions worth of changelog.

Does that produce 3 separate version blocks? One with Package Release, one with I thought I changed..., and one with "menu should now have.."

And how does it (would it) know what version numbers to associate with each of the different sections?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#35
I just looked at maegym in the repository, this is your changelog:

Code:
maegym (0.3.0-3) stable; urgency=low

  Package Release
  	- thought i changed section..not so much
  	- menu should now have icon as well

 -- Name <email>  Sun, 06 Jun 2010 14:33:12 +0000
Which is as I suspected.. it only outputs the latest versions changes into your changelog. This was my complaint.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#36
Originally Posted by andraeseus1 View Post
I totally get that. it makes sense. But its one thing to offer some one advise on how to ask a question or in what areas they should be more specific in order to get the best answers for them
So, your constructive feedback to me is to answer a very broad question with more questions and that way try to read the mind of the original poster?

and its a totally different thing to slam them for asking in the first place and not seeing whats "in front of them". or insult there intelligence and assume they didn't do any research at all.. or maybe they didn't do ENOUGH research in the eyes of the guy or gal slamming them.
The first page on the developer forum has a stickied thread about getting on your feet and write code in 30 minutes. It should be easy to find this. If you start a new thread asking about "how to develop", you most certainly have seen it.

Telling someone that they should have seen this is not an assault on their intelligence. Telling someone that it's so easy to find information that one search, here or with Google, would give heaps of information isn't an assault on their intelligence.

of course some kinda research should go into some questions i mean how would we even know how to interpret the answers to such a question as this one with out getting a basic understanding.
To ask good questions, you need to understand something about the field you're asking about. Everyone is a beginner at some point (me included) but with such easy to access resources, asking uninformed questions comes across as a waste of time for everyone.

but here, may have been his first step in his research. i have read how to's, i have read blogs and forums and all kinda stuff and nothing beats plain old English from some one answering your question.
The ability to read and understand technical documents is a must if you want to get on the road to developing. To be asked to practice doing this shouldn't be seen as "an assault" or "slamming". That's me saying "I know you'll need this.".

If the question is very general then why not give a general answer and see how it plays out. ie: "well in order to develop for the n900 you need to download and install this program or that software. start off with something simple like x,y,z, and get your feet wet. there is a lot more info on basic programing tools at www.whatever"
I did give a very general answer.

Even if they want to be spoon fed and want some one to hold there hand through every step of the progress why cant they come here to politely ask for it?
Now you're implying that I, in some way, can stop people from creating threads here. This I can not. But I still think that a forum littered with "Please help, I'm a noob!" is less helpful and if I can show someone that their question is too broad or too easily answered by a quick search, and they actually do search for information, I think I'm doing something good.

If this is wrong, well, then I'll have to stop.

there is some one out there for every one my mama always said. now, I understand that chances are they wont find some one willing to do that here to any extensive degree but maybe they will. either way what place is it of yours or mines or anyone else to meet a request for information no matter how seemingly under researched in our opinions with sarcasm and demeaning language? especially when the request wasn't made to the slammer specifically and was made with a general respect
Ask in public and expect to be answered in public. Regarding the use of many "noob" threads, see above.

Here is a simple thought. if you don't have something nice to say or something productive why not re consider saying it? Maybe you (and not you specifically) are not the one to persevere hand holding but maybe i am. and maybe we all are to a degree. y not let the information seeker find out what they can and just give criticism (constructive of course) on how to maybe get better answers
Your definition of "nice" isn't the same as mine. Telling someone to actually do some legwork before asking and dropping a new thread in the lap of everyone who is using the forum is not demeaning nor sarcastic.

posts on forums are great to read for info but they don't answer specific questions as the authors can not read the minds of information seekers. So who ever is reading please don't slam me should i come with a question that seems a bit elementary to you rock star developers as i am only trying to learn. know that i did do some research and i would kinda rather you just not comment if it wont be productive and with out the snarky comments
I ask for help too. And I pride myself in trying to use the answers as well as possible as to not have to ask again. Before asking I try to read what documentation I can find (and I fail understanding things too from time to time) but I do try to exhaust what sources there are before asking for help. Me trying to understand the, in my eyes, sub-par gconf documentation and asking for help in #maemo-devel is a good example. So, sometimes I'm the one not getting it.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#37
Originally Posted by daperl View Post
Have you tried:

Code:
apt-get source mafw-test-gui
No, I haven't, because no pointers in the documentation or any Google search turned up this pearl (or I was too stupid to see it). It's looking very helpful though (although a bit too late for me).
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#38
Originally Posted by pycage View Post
No, I haven't, because no pointers in the documentation or any Google search turned up this pearl (or I was too stupid to see it). It's looking very helpful though (although a bit too late for me).
When in doubt, I enable all repositories, update, and do a

Code:
apt-cache search <blah, blah, blah>
These are some of my favorites:

Code:
apt-cache search mafw
apt-cache search rtcom
apt-cache search gles
apt-cache search tele
apt-cache search mafw | grep "\-dev"
apt-cache search rtcom | grep "\-dev"
apt-cache search tele | grep "\-dev"
I'm also a huge fan of:

Code:
dpkg -l | grep -i "<blah, blah, blah>"
and

Code:
dpkg -L <package name>
dpkg -e <deb file>
dpkg -x <deb file> .
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 446 | Thanked: 79 times | Joined on Mar 2010
#39
Awesome thread.. i am learning soooo much!
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#40
@fatalsaint - oh, you meant the actualll changelog file in the deb directory, not the output of the project page. I think I have an idea on how to obtain that kind of changelog. It would involve keeping the old version's tar.gz file, but I think it would work. The alternative is patching py2deb.py and making changelog an iterable object (list) instead of a single mutable string.

I see why you went your route :P
__________________
aspidites | blog | aspidites@inbox.com
 

The Following User Says Thank You to aspidites For This Useful Post:
Reply

Tags
please don't, we're doomed


 
Forum Jump


All times are GMT. The time now is 05:04.