← Back to team overview

libsurl team mailing list archive

Re: Python function?

 

You mean the bzr log to debian changelog? I think you can output your own
format, e.g. "bzr log --short"

You can make a plugin for a custom format as far as I know (but never
attempted to make one, heh), other than that:
bzr log --help
bzr log-formats help

$ bzr log --short -r80..
   87 Propeng    2009-12-21
      Updated ChangeLog (for some reason, the first one wasn't pushed
correctly)

   86 Propeng    2009-12-21 {0.7.0}
      0.7.0

   85 Propeng    2009-12-20
      Updated MANIFEST

   84 Savvas Radevic    2009-12-20
      Fix get_real_path()

   83 Savvas Radevic    2009-12-20
      * Moved read_plugin_lst() in plugins.py
      * Fixed plugin script, final part (I hope!)
      * Added commented debug print commands

   82 Savvas Radevic    2009-12-20
      Fixing the plugin script, part 4

   81 Savvas Radevic    2009-12-20
      Fixing the plugin script, part 3

   80 Savvas Radevic    2009-12-20
      Removing exit, disabling debug line

$ bzr log --gnu-changelog -r80..
2009-12-21  Propeng  <propeng@propeng>

    Updated ChangeLog (for some reason, the first one wasn't pushed
correctly)

2009-12-21  Propeng  <propeng@propeng>

    0.7.0

2009-12-20  Propeng  <propeng@propeng>

    Updated MANIFEST

2009-12-20  Savvas Radevic  <vicedar@...>

    Fix get_real_path()

2009-12-20  Savvas Radevic  <vicedar@...>

    * Moved read_plugin_lst() in plugins.py
    * Fixed plugin script, final part (I hope!)
    * Added commented debug print commands

2009-12-20  Savvas Radevic  <vicedar@...>

    Fixing the plugin script, part 4

2009-12-20  Savvas Radevic  <vicedar@...>

    Fixing the plugin script, part 3

2009-12-20  Savvas Radevic  <vicedar@...>

    Removing exit, disabling debug line

$ bzr --version
Bazaar (bzr) 2.0.0


2010/1/12 Scott Lawrence <bytbox@...>

> * gasp, awe, and admiration *
>
> What needs to be done to convert the changelog to debian's required
> format?  I can't find any good tools for that.
>
> On Tue, Jan 12, 2010 at 11:08, Savvas Radevic <vicedar@xxxxxxxxx> wrote:
> > I managed to upload surl 0.7.0 package in the PPA. :)
> >
> > 2009/12/27 Savvas Radevic <vicedar@xxxxxxxxx>
> >>
> >> I knew there was something I forgot. :P
> >> Seriously though, the PPA was just a starting point for other packagers
> to
> >> take over (e.g. mainline debian and ubuntu). I could make another
> package,
> >> but I'm abroad and away from linux and a lot of tools currently. I'll
> try to
> >> update it in about a month :)
> >>
> >> 2009/12/25 Ahmed Elmahdawy <aa_mahdawy@xxxxxxxxxxx>
> >>>
> >>> I still have no idea how to update a PPA, Savvas was doing that. When I
> >>> tried to read a tutorial, all what I said was "Oh well, that stuff is
> just
> >>> too hard for me." I can try again though :P
> >
>
>
>
> --
> Scott Lawrence
>
> Webmaster
> The Blair Robot Project
> Montgomery Blair High School
>

References