Commit Graph

15 Commits

Author SHA1 Message Date
Nate Johnston bba805af02 Retire the Congress project
Recently the TC has worked on determining the criteria for when an
OpenStack project should be retired.  When there was not a PTL nominee
for the Congress project, that triggered the TC to review the project
health per [1], and the TC has determined [2] that development work on
the project has ceased.  This decision was announced in the
openstack-discuss mailing list in April 2020 [3].

This commit retires the repository per the process for governance
removal in the Victoria cycle as specified in the Mandatory Repository
Retirement resolution [4] and detailed in the infra manual [5].

Should interest in developing Congress as part of OpenStack revive,
please revert this commit to have the project rejoin the list of active
projects.

The community wishes to express our thanks and appreciation to all of
those who have contributed to the Congress project over the years.

[1] https://governance.openstack.org/tc/reference/dropping-projects.html
[2] http://eavesdrop.openstack.org/irclogs/%23openstack-tc/latest.log.html#t2020-04-20T15:36:59
[3] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014292.html
[4] https://governance.openstack.org/tc/resolutions/20190711-mandatory-repository-retirement.html
[5] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#retiring-a-project

Change-Id: I21c9ab9820f78cf76adf11c5f0591c60f76372a8
2020-05-28 18:12:16 +02:00
Eric K cdfb121cf4 Remove antlr3 files except Python runtime
The removed files are not needed by users, and some files
are incompatible with free software packaging (e.g. jar)

Drawback: if a developer changes congress grammar, s/he
needs to compile or download the antlr3 file to generate
the Parser/Lexer.

Instructions added to download antlr3 and generate files.

Partial-Bug: 1591763

Change-Id: I716ffe9f651dc48eb513efbb653aadf8f33f604a
2017-01-25 16:05:04 -08:00
gecong1973 71ac0a1fa3 Replace raw_input with input to make PY3 compatible
The raw_input() raises NameError: name 'raw_input' is not defined in
python3. This patch fixes it by replacing raw_input with input to
make PY3 compatible

Change-Id: Ib8ee47730f5358b3929612c5a966bfb56df022f3
2016-08-29 01:13:00 +00:00
venkatamahesh fe0d3a9268 Fix spelling typos and one underline
Change-Id: I7cc2ccea6f27ad4dbaa6117f6648cc22b7fcd657
2016-02-03 21:20:05 +05:30
Eric K 0576d774a4 Python3-readiness for antlr3 pieces
Purpose: Make antlr code Python3-ready while keeping Python2 support

Changes:
- Generated Python3 CongressParser.py and CongressLexer.py placed in
subpackage congress/datalog/Python3/ (using antlr 3.5.2)
- Moved original CongressParser.py and CongressLexer.py into new
subpackage congress/datalog/Python2/
- Changed import section in congress/datalog/compiler.py to import
the appropriate subpackage based on python version used
- Removed original symlink antlr3 to the antlr3-python2 runtime
- Changed setup.py to create the appropriate antlr3 symlink based on
python version
- Changed the error reporting interface of antlr3-python3 runtime to
be compatible with what existing Congress code expects
(thirdparty/antlr3-antlr-3.5/runtime/Python3/antlr3/recognizers.py)

Result: tox -e py34 no longer reports any errors traced to antlr code.

Notes:
- Supporting both Python versions was not straightforward because
neither the antlr runtime nor the antlr generated code is
cross-version compatible.
- Making symlinks via setup.py is not ideal, but the best solution
I came up with among several I considered. If you have better ideas
please suggest.
- Making our own custom changes to antlr3-python3 runtime is not
ideal, but it was necessary because for some reason the
antlr3-python3 runtime broke error reporting interface compatibility
with antlr3-python2 runtime, leading to test failures in
test_compile.py and test_congress.py.
In theory, supporting our custom changes in antlr3 runtime bad, but
because antlr3 is not supported anyway, the situation is really no
worse than before. In addition, the changes are fairly minor.
- antlr4 was not adopted because it does not have support for
abstract syntax trees.

Partially implements blueprint: support-python3

Change-Id: I376aee803c4dc9953c1b5ba9311cf9c4a42f3319
2015-11-19 18:39:07 -08:00
Jenkins 934032366e Merge "Replace local copy of dateutil 1.5, use dependency" 2015-09-28 17:09:35 +00:00
Victor Stinner 5836bf07e0 Remove one local copy of the Python antlr3 module
* Remove the directory thirdparty/antlr3/
* Modify the antlr3 symbolic link to point to
  thirdparty/antlr3-antlr-3.5/runtime/Python/antlr3/

Change-Id: I8104b7352e96d8e282da4e5bd8ff4fb4817aaa32
2015-09-23 16:51:30 +02:00
Victor Stinner ef58545cf6 Replace local copy of dateutil 1.5, use dependency
Having a local copy of a library is a bad practice. Files are
duplicated on the system, it's harder to update it.

For example, the local copy of dateutil 1.5 is not compatible with
Python 3.

Replace the local copy with a dependency to dateutil, at least the
version 2.4.2. dateutil 2.4.2 is compatible with Python 3.

Partially implements blueprint: support-python3
Change-Id: I366c8004e5eb683b41fec2c31cf4a5afdb48180c
2015-09-23 16:25:52 +02:00
Alexander Yip 0e379c2efe Move antlr3 from the front to the back of sys.path
Adding antlr3 to the front of sys.path causes confusion for subsequent
imports.  I ran into a problem where "import extras" imported something from
the antlr3 directory instead of site-packages.  Antlr3 should be at the back
of the sys.path.

Change-Id: I03c4f723236c1b99759fa9d03f6296f4e49f98db
2014-12-12 13:49:52 -08:00
tengqm 569f02c6ba Attemp to fix python34 gating error
The python34 gating is complaining about the 'unicode' parameter when
trying to do its job.  This patch attempts to solve it.

Closes-Bug: 1396969
Change-Id: I16a19f51325285973f37b36aa0469537fca766a7
2014-11-27 23:18:33 +08:00
Conner Ferguson 046516109b Added Plexxi Driver
Change-Id: Iee629b199ce8c4251d7c2aea27877fc88b46990d
2014-11-21 20:07:23 +00:00
Tim Hinrichs cbf05b515f Fix to setup.cfg for dateutil
Previously we had not updated setup.cfg to properly install dateutil.
All the tests ran fine, but 'python setup.py install' did not put
dateutil in the proper place, which made the server fail when installed.

Change-Id: Icc468ff41c0d1a70c5dccb9966ce7ed41207c67e
2014-10-24 08:17:30 -07:00
Tim Hinrichs 62886f3ee6 Add dateutil code
Borrowed (with license) from python-dateutil.  We're copying
code here instead of inserting it as a package.  Because
(1) this package is not supported by OS.
(2) all new OS packages must be python 3 compliant.
(3) this package has a python-3 compliant version and a python-2 version
(4) Congress is not yet python-3 compliant

Change-Id: Idaa29ecd9fc6d12298ca441748f71b6e41262d8f
2014-10-22 16:30:44 -07:00
Rafael Rivero 050499bc0d Fixes docstring typos
Typos found in docstrings.

Change-Id: I35e57e21ce516321a2fceaa85c5694d3282f91b1
2014-09-24 15:06:05 -07:00
Peter Balland 45c9bd71fb Rearrange project directory structure
Change-Id: I16db2bc926158515d0e827358bfc75b5db52a278
2013-08-13 10:34:44 -07:00