]> Savannah Git Hosting - gnulib.git/log
gnulib.git
7 years agoconfig: aggregate all options
Dmitry Selyutin [Fri, 20 Oct 2017 17:24:17 +0000 (20:24 +0300)]
config: aggregate all options

7 years agopygnulib.py: use project VFS
Dmitry Selyutin [Fri, 20 Oct 2017 14:06:07 +0000 (17:06 +0300)]
pygnulib.py: use project VFS

7 years agovfs: split base class into base and project
Dmitry Selyutin [Fri, 20 Oct 2017 14:05:21 +0000 (17:05 +0300)]
vfs: split base class into base and project

7 years agovfs: (stream, path) instead of (path, type)
Dmitry Selyutin [Fri, 20 Oct 2017 07:09:58 +0000 (10:09 +0300)]
vfs: (stream, path) instead of (path, type)

7 years agovfs: fix copy-paste bug
Dmitry Selyutin [Fri, 20 Oct 2017 07:03:06 +0000 (10:03 +0300)]
vfs: fix copy-paste bug

7 years agovfs: per-instance patch binary path
Dmitry Selyutin [Fri, 20 Oct 2017 06:58:06 +0000 (09:58 +0300)]
vfs: per-instance patch binary path

7 years agopygnulib.py: instantiate root and local VFS
Dmitry Selyutin [Thu, 19 Oct 2017 07:11:05 +0000 (10:11 +0300)]
pygnulib.py: instantiate root and local VFS

7 years agovfs: integrate file operations into the base VFS
Dmitry Selyutin [Thu, 19 Oct 2017 07:10:13 +0000 (10:10 +0300)]
vfs: integrate file operations into the base VFS

7 years agopygnulib.py: more file lists; old files <= cache
Dmitry Selyutin [Wed, 18 Oct 2017 07:52:27 +0000 (10:52 +0300)]
pygnulib.py: more file lists; old files <= cache

7 years agovfs: remove strange doc string
Dmitry Selyutin [Wed, 18 Oct 2017 07:51:02 +0000 (10:51 +0300)]
vfs: remove strange doc string

7 years agoconfig: additional checks and better validation
Dmitry Selyutin [Tue, 17 Oct 2017 21:13:50 +0000 (00:13 +0300)]
config: additional checks and better validation

7 years agovfs: normalize paths
Dmitry Selyutin [Tue, 17 Oct 2017 21:09:46 +0000 (00:09 +0300)]
vfs: normalize paths

7 years agovfs: rename 'kwargs' argument to 'table'
Dmitry Selyutin [Tue, 17 Oct 2017 20:44:42 +0000 (23:44 +0300)]
vfs: rename 'kwargs' argument to 'table'

7 years agovfs: simplify code; pure virtual operations
Dmitry Selyutin [Tue, 17 Oct 2017 19:26:03 +0000 (22:26 +0300)]
vfs: simplify code; pure virtual operations

7 years agovfs: remove unused variable inside base VFS
Dmitry Selyutin [Sun, 8 Oct 2017 19:08:56 +0000 (22:08 +0300)]
vfs: remove unused variable inside base VFS

7 years agovfs: simplify table handling
Dmitry Selyutin [Sun, 8 Oct 2017 15:52:52 +0000 (18:52 +0300)]
vfs: simplify table handling

7 years agovfs: use "root" argument instead of "gnulib"
Dmitry Selyutin [Wed, 4 Oct 2017 20:26:22 +0000 (23:26 +0300)]
vfs: use "root" argument instead of "gnulib"

7 years agovfs: discard config module dependency
Dmitry Selyutin [Wed, 4 Oct 2017 20:10:29 +0000 (23:10 +0300)]
vfs: discard config module dependency

7 years agovfs: implement lookup function
Dmitry Selyutin [Wed, 4 Oct 2017 19:58:49 +0000 (22:58 +0300)]
vfs: implement lookup function

7 years agovfs: do not raise error on non-existent files
Dmitry Selyutin [Wed, 4 Oct 2017 19:54:35 +0000 (22:54 +0300)]
vfs: do not raise error on non-existent files

7 years agovfs: rename filesystem to vfs
Dmitry Selyutin [Wed, 4 Oct 2017 18:10:55 +0000 (21:10 +0300)]
vfs: rename filesystem to vfs

7 years agopygnulib.py: fix verbosity level check for notices
Dmitry Selyutin [Tue, 3 Oct 2017 17:59:41 +0000 (20:59 +0300)]
pygnulib.py: fix verbosity level check for notices

7 years agopygnulib.py: old and new files generation
Dmitry Selyutin [Tue, 3 Oct 2017 07:52:48 +0000 (10:52 +0300)]
pygnulib.py: old and new files generation

7 years agopygnulib.py: force cache invocation for some keys
Dmitry Selyutin [Tue, 3 Oct 2017 07:44:38 +0000 (10:44 +0300)]
pygnulib.py: force cache invocation for some keys

7 years agoconfig: ignore non-existent cache files
Dmitry Selyutin [Tue, 3 Oct 2017 07:43:57 +0000 (10:43 +0300)]
config: ignore non-existent cache files

7 years agofilesystem: check if name exists (__contains__)
Dmitry Selyutin [Tue, 3 Oct 2017 07:42:52 +0000 (10:42 +0300)]
filesystem: check if name exists (__contains__)

7 years agopygnulib.py: determine the final file lists
Dmitry Selyutin [Sun, 1 Oct 2017 17:29:47 +0000 (20:29 +0300)]
pygnulib.py: determine the final file lists

7 years agopygnulib.py: fetch ac_version if not present
Dmitry Selyutin [Sun, 1 Oct 2017 17:29:13 +0000 (20:29 +0300)]
pygnulib.py: fetch ac_version if not present

7 years agopygnulib.py: print main and tests modules iff present
Dmitry Selyutin [Sun, 1 Oct 2017 17:28:10 +0000 (20:28 +0300)]
pygnulib.py: print main and tests modules iff present

7 years agomodule: fix dummy_required helper
Dmitry Selyutin [Sun, 1 Oct 2017 17:25:50 +0000 (20:25 +0300)]
module: fix dummy_required helper

7 years agoconfig: fix "local" key
Dmitry Selyutin [Sun, 1 Oct 2017 17:25:06 +0000 (20:25 +0300)]
config: fix "local" key

7 years agomodule: filelist helper
Dmitry Selyutin [Fri, 29 Sep 2017 19:46:51 +0000 (22:46 +0300)]
module: filelist helper

7 years agoconfig: autoconf -> ac_version
Dmitry Selyutin [Fri, 29 Sep 2017 19:46:16 +0000 (22:46 +0300)]
config: autoconf -> ac_version

7 years agoconfig: prefer attributes over items
Dmitry Selyutin [Fri, 29 Sep 2017 19:44:12 +0000 (22:44 +0300)]
config: prefer attributes over items

7 years agopygnulib: deprecate legacy formatting
Dmitry Selyutin [Fri, 29 Sep 2017 16:59:42 +0000 (19:59 +0300)]
pygnulib: deprecate legacy formatting

7 years agomodule: more efficient hash implementation
Dmitry Selyutin [Fri, 29 Sep 2017 15:51:05 +0000 (18:51 +0300)]
module: more efficient hash implementation

7 years agopygnulib.py: show banner notices
Dmitry Selyutin [Fri, 29 Sep 2017 07:16:29 +0000 (10:16 +0300)]
pygnulib.py: show banner notices

7 years agomodule: yet another fix in transitive closure; style changes
Dmitry Selyutin [Thu, 28 Sep 2017 21:51:41 +0000 (00:51 +0300)]
module: yet another fix in transitive closure; style changes

7 years agopygnulib.py: do not call transitive closure twice (copy & paste)
Dmitry Selyutin [Thu, 28 Sep 2017 21:13:18 +0000 (00:13 +0300)]
pygnulib.py: do not call transitive closure twice (copy & paste)

7 years agomodule: multiple statuses support; fixed transitive closure
Dmitry Selyutin [Thu, 28 Sep 2017 21:12:01 +0000 (00:12 +0300)]
module: multiple statuses support; fixed transitive closure

7 years agopygnulib.py: simplify license conflicts detection
Dmitry Selyutin [Thu, 28 Sep 2017 18:08:01 +0000 (21:08 +0300)]
pygnulib.py: simplify license conflicts detection

7 years agomodule: efficient hash implementation
Dmitry Selyutin [Thu, 28 Sep 2017 15:53:30 +0000 (18:53 +0300)]
module: efficient hash implementation

7 years agoparser: cleanup; allow empty options (--import in wget2)
Dmitry Selyutin [Thu, 28 Sep 2017 15:18:21 +0000 (18:18 +0300)]
parser: cleanup; allow empty options (--import in wget2)

7 years agopygnulib.py: inform about license incompatibilities
Dmitry Selyutin [Thu, 28 Sep 2017 14:05:59 +0000 (17:05 +0300)]
pygnulib.py: inform about license incompatibilities

7 years agopygnulib.py: transfer script name
Dmitry Selyutin [Thu, 28 Sep 2017 10:12:08 +0000 (13:12 +0300)]
pygnulib.py: transfer script name

7 years agoconfig: add GPL and LGPL to license sets
Dmitry Selyutin [Thu, 28 Sep 2017 10:10:25 +0000 (13:10 +0300)]
config: add GPL and LGPL to license sets

7 years agomodule: fix typo (is -> in)
Dmitry Selyutin [Thu, 28 Sep 2017 07:46:01 +0000 (10:46 +0300)]
module: fix typo (is -> in)

7 years agomodule: use list on line-by-line iteration
Dmitry Selyutin [Thu, 28 Sep 2017 07:05:15 +0000 (10:05 +0300)]
module: use list on line-by-line iteration

7 years agomodule: add missing argument
Dmitry Selyutin [Thu, 28 Sep 2017 07:03:35 +0000 (10:03 +0300)]
module: add missing argument

7 years agomodule: use sets instead of lists
Dmitry Selyutin [Thu, 28 Sep 2017 07:03:06 +0000 (10:03 +0300)]
module: use sets instead of lists

7 years agopygnulib.py: determine incompatible licenses
Dmitry Selyutin [Thu, 28 Sep 2017 07:00:49 +0000 (10:00 +0300)]
pygnulib.py: determine incompatible licenses

7 years agodeprecate LicenseSet (use a simple set); licenses constants
Dmitry Selyutin [Thu, 28 Sep 2017 06:58:25 +0000 (09:58 +0300)]
deprecate LicenseSet (use a simple set); licenses constants

7 years agouse libtests_required and dummy_required helpers
Dmitry Selyutin [Tue, 26 Sep 2017 19:41:19 +0000 (22:41 +0300)]
use libtests_required and dummy_required helpers

7 years agomodule: libtests_required and dummy_required helpers
Dmitry Selyutin [Tue, 26 Sep 2017 19:40:34 +0000 (22:40 +0300)]
module: libtests_required and dummy_required helpers

7 years agomodule: transform transitive closure back into function
Dmitry Selyutin [Tue, 26 Sep 2017 19:36:56 +0000 (22:36 +0300)]
module: transform transitive closure back into function

7 years agoparser: use LicenseSet.LGPL() dict
Dmitry Selyutin [Tue, 26 Sep 2017 14:46:13 +0000 (17:46 +0300)]
parser: use LicenseSet.LGPL() dict

7 years agoconfig: LGPL license dict; support gl_LGPL values
Dmitry Selyutin [Tue, 26 Sep 2017 14:43:37 +0000 (17:43 +0300)]
config: LGPL license dict; support gl_LGPL values

7 years agofix incorrect initial values for bitwise flags
Dmitry Selyutin [Tue, 26 Sep 2017 14:39:04 +0000 (17:39 +0300)]
fix incorrect initial values for bitwise flags

7 years agomodule: relax type check after the last commit
Dmitry Selyutin [Tue, 26 Sep 2017 07:13:38 +0000 (10:13 +0300)]
module: relax type check after the last commit

7 years agopygnulib: don't use Enums
Mathieu Lirzin [Mon, 25 Sep 2017 19:31:11 +0000 (21:31 +0200)]
pygnulib: don't use Enums

Enums are a recent features of Python. To maximize portability don't
use them.

* pygnulib/parser.py (CommandLine.Option): Don't inherit from enum.Flag.
* pygnulib/config.py (Option): Likewise.

7 years agoparser: support license set
Dmitry Selyutin [Mon, 25 Sep 2017 20:19:03 +0000 (23:19 +0300)]
parser: support license set

7 years agoconfig: use license set instead of lgpl
Dmitry Selyutin [Mon, 25 Sep 2017 20:14:04 +0000 (23:14 +0300)]
config: use license set instead of lgpl

7 years agoerror: split UnknownLicenseError into two classes
Dmitry Selyutin [Sun, 24 Sep 2017 20:08:39 +0000 (23:08 +0300)]
error: split UnknownLicenseError into two classes

7 years agothe pygnulib.py sketch
Dmitry Selyutin [Sun, 24 Sep 2017 19:09:55 +0000 (22:09 +0300)]
the pygnulib.py sketch

7 years agoparser: fix verbosity option
Dmitry Selyutin [Wed, 20 Sep 2017 08:12:40 +0000 (11:12 +0300)]
parser: fix verbosity option

7 years agorefactor transitive closure into module table
Dmitry Selyutin [Tue, 19 Sep 2017 19:40:10 +0000 (22:40 +0300)]
refactor transitive closure into module table

7 years agoerror: GnulibModuleNotFoundError -> UnknownModuleError
Dmitry Selyutin [Tue, 19 Sep 2017 19:38:03 +0000 (22:38 +0300)]
error: GnulibModuleNotFoundError -> UnknownModuleError

7 years agoconfig: support bitwise options
Dmitry Selyutin [Tue, 19 Sep 2017 19:36:59 +0000 (22:36 +0300)]
config: support bitwise options

7 years agomodule: fix applicability
Dmitry Selyutin [Tue, 19 Sep 2017 19:36:08 +0000 (22:36 +0300)]
module: fix applicability

7 years agofilesystem: fix transitive closure
Dmitry Selyutin [Mon, 18 Sep 2017 16:43:02 +0000 (19:43 +0300)]
filesystem: fix transitive closure

7 years agoparser: multiple bug fixes
Dmitry Selyutin [Mon, 18 Sep 2017 16:29:54 +0000 (19:29 +0300)]
parser: multiple bug fixes

7 years agoparser: use true option for --with-tests
Dmitry Selyutin [Mon, 18 Sep 2017 10:18:08 +0000 (13:18 +0300)]
parser: use true option for --with-tests

7 years agoparser: fix const option value
Dmitry Selyutin [Mon, 18 Sep 2017 10:17:39 +0000 (13:17 +0300)]
parser: fix const option value

7 years agofilesystem: remove redundant variable
Dmitry Selyutin [Sun, 17 Sep 2017 09:19:35 +0000 (12:19 +0300)]
filesystem: remove redundant variable

7 years agoimplement transitive_closure sketch
Dmitry Selyutin [Sat, 16 Sep 2017 19:34:26 +0000 (22:34 +0300)]
implement transitive_closure sketch

7 years agoparser: disable modules in update mode
Dmitry Selyutin [Sat, 16 Sep 2017 19:33:12 +0000 (22:33 +0300)]
parser: disable modules in update mode

7 years agomodule: strip empty lines and comments in lists
Dmitry Selyutin [Sat, 16 Sep 2017 19:31:18 +0000 (22:31 +0300)]
module: strip empty lines and comments in lists

7 years agomodule: quick status tests
Dmitry Selyutin [Sat, 16 Sep 2017 19:30:52 +0000 (22:30 +0300)]
module: quick status tests

7 years agoupdate documentation strings
Dmitry Selyutin [Fri, 15 Sep 2017 20:11:14 +0000 (23:11 +0300)]
update documentation strings

7 years agoconfig: regex compile wrapper
Dmitry Selyutin [Fri, 15 Sep 2017 19:51:21 +0000 (22:51 +0300)]
config: regex compile wrapper

7 years agomodule: directives as strings; dict-compatible methods
Dmitry Selyutin [Thu, 14 Sep 2017 16:42:14 +0000 (19:42 +0300)]
module: directives as strings; dict-compatible methods

7 years agoparser: support "extract" options
Dmitry Selyutin [Thu, 14 Sep 2017 16:38:23 +0000 (19:38 +0300)]
parser: support "extract" options

7 years agospecial "module not found" error
Dmitry Selyutin [Thu, 14 Sep 2017 16:37:26 +0000 (19:37 +0300)]
special "module not found" error

7 years agoerror: sort error classes in alphabetical order
Dmitry Selyutin [Thu, 14 Sep 2017 15:14:00 +0000 (18:14 +0300)]
error: sort error classes in alphabetical order

7 years agofilesystem: rename Git into GnulibGit
Dmitry Selyutin [Wed, 13 Sep 2017 19:18:03 +0000 (22:18 +0300)]
filesystem: rename Git into GnulibGit

7 years agoconfig: normalize file system paths
Dmitry Selyutin [Wed, 13 Sep 2017 19:17:26 +0000 (22:17 +0300)]
config: normalize file system paths

7 years agoparser: pass all arguments in one variable
Dmitry Selyutin [Wed, 13 Sep 2017 19:17:10 +0000 (22:17 +0300)]
parser: pass all arguments in one variable

7 years agofix AutoconfVersionError message formatting
Dmitry Selyutin [Wed, 13 Sep 2017 16:28:43 +0000 (19:28 +0300)]
fix AutoconfVersionError message formatting

7 years agocache: simplify parsing; handle m4_base mismatch
Dmitry Selyutin [Wed, 13 Sep 2017 16:26:46 +0000 (19:26 +0300)]
cache: simplify parsing; handle m4_base mismatch

7 years agocache: check for explicit keys upon construction
Dmitry Selyutin [Wed, 13 Sep 2017 15:35:31 +0000 (18:35 +0300)]
cache: check for explicit keys upon construction

7 years agoparser: initialize option values inside namespace
Dmitry Selyutin [Wed, 13 Sep 2017 15:31:14 +0000 (18:31 +0300)]
parser: initialize option values inside namespace

7 years agoparser: return dictionary instead of config
Dmitry Selyutin [Wed, 13 Sep 2017 15:11:31 +0000 (18:11 +0300)]
parser: return dictionary instead of config

7 years agocache: eliminate configure and m4 comments
Dmitry Selyutin [Wed, 13 Sep 2017 12:32:01 +0000 (15:32 +0300)]
cache: eliminate configure and m4 comments

7 years agocache: simplify cache constructor
Dmitry Selyutin [Wed, 13 Sep 2017 12:30:26 +0000 (15:30 +0300)]
cache: simplify cache constructor

7 years agodict improvements: iteration args, dict comprehension
Dmitry Selyutin [Tue, 12 Sep 2017 21:46:58 +0000 (00:46 +0300)]
dict improvements: iteration args, dict comprehension

7 years ago__init__.py, .pylintrc, .gitignore
Dmitry Selyutin [Tue, 12 Sep 2017 21:32:45 +0000 (00:32 +0300)]
__init__.py, .pylintrc, .gitignore

7 years agomiscellaneous bug fixes and improvements
Dmitry Selyutin [Tue, 12 Sep 2017 21:26:34 +0000 (00:26 +0300)]
miscellaneous bug fixes and improvements

7 years agoparser: enable options conflict once again
Dmitry Selyutin [Tue, 12 Sep 2017 18:35:24 +0000 (21:35 +0300)]
parser: enable options conflict once again

When the command-line parser was reworked, a mutually exclusive group
was deleted and check for conflicting options was eliminated as well.
The commit implements the lost feature in a more elegant way than it
has been done before, allowing more flexibility.

7 years agoconfig/cache: use the same keys as base class
Dmitry Selyutin [Tue, 12 Sep 2017 16:55:28 +0000 (19:55 +0300)]
config/cache: use the same keys as base class

7 years agoconfig/cache: simplify regular expressions
Dmitry Selyutin [Tue, 12 Sep 2017 16:47:11 +0000 (19:47 +0300)]
config/cache: simplify regular expressions