Bulk update: Fixing session PUT (in handler,y), EL v8 compatibility, python 3 based with enhanced code debugging. (#131)

* Update yaml default load second argument yaml.Loader;
Refactor: In handler.py method traceback and use in exception;
Add print statements (as debug hints) in session,py and other modules;
Fix in handler.py by removing bucket (which is no key, value
pair) from setting into session headers as argument for start_response call);
Add __init__py in plugins folder to allow import from makeAccount.py and
remove local KibbleDatabase class there;
Make in database.py *Wrapper classes private;
Add into kibble.yaml configuration key elasticsearch versionHint
(by default 8) to allow for more robust and transparent initialization;
Refactor in setup.py into methods makeIndices and makeAccount();
Fix check for undefined snap in kibble.v1.js.
Improvement: Evaluate result in makeAccount.py;
Remove cgi import (not used) and deprecated since py 3.11;
Use __debug__ to print out more debugging information;
Set cookie httpOnly;
Update setup docs (tested with python 3.9.1 and 3.13.0).

* New _KibbleESWrapperEight class inheriting fro ..Seven using Nestedicts to replace interval with calendar_interval in body lists.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals
Fix NPE err.message in handler.py and use traceback_output (needs more filtering to not expose stacktraces pathes)

* Fixed: Removed overriding scroll method in ..Eight class as no body argument is never set
18 files changed
tree: 2c9b3f6768d280f777ac4e909035ea4e978240b5
  1. .github/
  2. api/
  3. docs/
  4. setup/
  5. ui/
  6. .asf.yaml
  7. .gitignore
  8. .pre-commit-config.yaml
  9. BUILDING.md
  10. CODE_OF_CONDUCT.md
  11. CONTRIBUTING.md
  12. LICENSE
  13. NOTICE
  14. README.md
README.md

This is old version of Apache Kibble

This repo contains archived code for Kibble v1. The current development for Apache Kibble happens at https://github.com/apache/kibble.

Apache Kibble

Apache Kibble is a tool to collect, aggregate and visualize data about any software project that uses commonly known tools. It consists of two components:

  • Kibble Server (this repository) - main database and UI Server. It serves as the hub for the scanners to connect to, and provides the overall management of sources as well as the visualizations and API end points.
  • Kibble scanners (kibble-scanners) - a collection of scanning applications each designed to work with a specific type of resource (git repo, mailing list, JIRA, etc) and push compiled data objects to the Kibble Server.

Documentation

For information about the Kibble project and community, visit our web site at https://kibble.apache.org/.

Live demo

If you would love to try Kibble without installing it on your own machine try the online demo of the Kibble service: https://demo.kibble.apache.org/.

Installation

For installation steps see the documentation.

Contributing

We welcome all contributions that improve the state of the Apache Kibble project. For contribution guidelines check the CONTRIBUTING.md.