Julien Jehannet avatar Julien Jehannet committed bb72b94

(mq: checkpoint)

Comments (0)

Files changed (4)

 # HG changeset patch
-# Date 1303086426 -7200
+# Date 1304292456 -7200
 # User Julien Jehannet <julien@smaf.org>
-# Parent c91c1c9a846658ee865216f347afc94fa1c4b189
+# Parent 66f7676097b675433ec4451c55ffdb9a0b042a39
 
 diff --git a/TODOLIST b/TODOLIST
 new file mode 100644
 --- /dev/null
 +++ b/TODOLIST
-@@ -0,0 +1,24 @@
+@@ -0,0 +1,29 @@
 +preparedist
 +-----------
 +
 +build doc if not up to date (-q)
 +close changelog
 +
++check_debsrc
++
++check preparedist ? 
++-s preparedist ?
++
 +
 +templates
 +---------
 +copying
 +announce
-+nexw-project
++new-project
+diff --git a/doc/lgp/bug.rst b/doc/lgp/bug.rst
+new file mode 100644
+--- /dev/null
++++ b/doc/lgp/bug.rst
+@@ -0,0 +1,2 @@
++- no pristine tarball when the first build failed for a same distribution
++- too many logs ?

build-multiprocess.diff

  @LGP.register
  class Builder(SetupInfo):
      """Provides functions to build a debian package for a python package
-@@ -75,18 +58,17 @@ class Builder(SetupInfo):
+@@ -63,7 +46,8 @@ class Builder(SetupInfo):
+                 {'type': 'string',
+                  'default': '', # check if new HOOKS_DIR
+                  'dest' : "hooks",
+-                 'help': "run pbuilder hooks in '%s'" % HOOKS_DIR,
++                 'help': ("run pbuilder hooks from '%s' directory or give "
++                          "'NO' if no hook must be executed" % HOOKS_DIR),
+                  'group': 'Pbuilder'
+                 }),
+                ('post-treatments',
+@@ -75,18 +59,17 @@ class Builder(SetupInfo):
                  }),
                 ('parallel',
                  {'type': 'int',
 +                 'default': cpu_count(),
 +                 'short': 'p',
 +                 'dest' : "processes",
-+                 'help': "run in parallel mode with build processes max limit",
++                 'help': "run in parallel mode with a max limit of processes",
                   'group': 'Build',
                  }),
                ]
  
      def _prune_pkg_dir(self):
          super(Builder, self)._prune_pkg_dir()
-@@ -97,136 +79,114 @@ class Builder(SetupInfo):
+@@ -97,136 +80,114 @@ class Builder(SetupInfo):
  
      def run(self, args):
          Cleaner(None).run(args)
  
      def use_build_series(self, distrib):
          """create a series of binary build command
-@@ -254,6 +214,7 @@ class Builder(SetupInfo):
+@@ -254,6 +215,7 @@ class Builder(SetupInfo):
          series = []
          if utils.is_architecture_independent():
              options = dict()
              options['distrib'] = distrib
              options['buildopts'] = _build_options()
              options['arch'] = self.get_architectures(['current'])[0]
-@@ -263,6 +224,7 @@ class Builder(SetupInfo):
+@@ -263,6 +225,7 @@ class Builder(SetupInfo):
          else:
              for rank, arch in enumerate(self.architectures):
                  options = dict()
                  options['distrib'] = distrib
                  options['buildopts'] = _build_options(arch, rank)
                  options['arch'] = arch
-@@ -271,6 +233,55 @@ class Builder(SetupInfo):
+@@ -271,6 +234,55 @@ class Builder(SetupInfo):
                  series.append(options)
          return series
  

logger-improvements.diff

 # HG changeset patch
 # Date 1304289469 -7200
 # User Julien Jehannet <julien@smaf.org>
-# Parent a8b8be8c9250ee3079e858605c9d6f8002e84fee
-lgp: use internal logger instance when possible
+# Parent cd85d9731261c042aff3f3fff2f76a09c3e6f10e
+lgp: use internal logger instance by default
 
 diff --git a/lgp/__init__.py b/lgp/__init__.py
 --- a/lgp/__init__.py
              self.exitcode = self.run(arguments)
          except LGPException, exc:
 -            if self.config.verbose:
-+            if self.config.verbose == 2:
++            if self.config.verbose >= 2:
                  import traceback
                  logging.critical(traceback.format_exc())
              raise exc
 build-multiprocess.diff
 logger-improvements.diff
 lgp-sign-process.diff
+TODOLIST
 wip-lgp-build-source-improve.diff
-TODOLIST
 wip-login-x11.diff
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.