Giter Club home page Giter Club logo

nepthys's Introduction

Nepthys

GitHub tag (latest by date)

Quay - Build

This simple bot iterates over Thoth repositories and updates documentation.

Just run create_docs.sh script, it will produce documentation for all the libraries inside thoth directory.

nepthys's People

Contributors

bissenbay avatar codificat avatar fridex avatar goern avatar harshad16 avatar khebhut[bot] avatar kpostoffice avatar sesheta avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nepthys's Issues

No dependency management found

No dependency management found for this repository. If you want to keep your dependencies managed, please submit Pipfile or requirements.in or requirements-dev.in file.

To generate a Pipfile, use:"

$ pipenv install --skip-lock --code ./
$ git add Pipfile
$ git commit -m 'Add Pipfile for dependency management'

Make sure your Pipfile or requirements.in or requirements-dev.in is placed in the root of your Git repository.

container image creation fails in local system

Describe the bug
while trying to build container image in local system with podman build, the dockerfile build is failing and responding with following error.

STEP 1: FROM fedora:31
STEP 2: ENV USER=nepthys     PIPENV_CACHE_DIR=/home/user/.cache/pipenv     HOME=/home/user/     LANG=en_US.UTF-8     GITHUB_COMMIT=1
--> Using cache 14cfe489a45ac65a12df49ddfa3416c27bf8f2690921e8a56d1a4c4897132acf
STEP 3: WORKDIR
 /home/user
--> Using cache 83d817736f5c26153a03b91f6d771c1118c87165449dc660df88a470105be024
STEP 4: COPY docker_entrypoint.sh /home/user
--> Using cache 208558d34eb01c5665ccbf0740938b91d42e37b9130cc5a119f01aa38a394081
STEP 5: COPY create_docs.sh /home/user
--> Using cache 5cd94f7d0d78cf1946742561301cad907549c79b989f9091537fc24b0227394e
STEP 6: COPY _templates /home/user/_templates
Error: error building at STEP "COPY _templates /home/user/_templates": "/home/hnalla/.local/share/containers/storage/overlay/5bc58a9373977548b1755961c1efe09eb6c72ade883a5f6b63424c569c0588ac/merged/home/user" already exists, but is not a subdirectory)

To Reproduce
Steps to reproduce the behavior:

  1. Go to clone repository of nepthys in local system.
  2. Execute 'podman build -t nepthys -f Dockerfile .'
  3. Scroll down to 'error results'
  4. See error

Expected behavior
container image builds without any interruption.

Make the automatic docs on thoth-station.github.io work with with jekyll

Describe the bug

As we generate part of the web page with jekyll (automatically on each puth to https://github.com/thoth-station/thoth-station.github.io), the documentation generated using sphinx stopped working.

One of the issues that were spotted was CSS/JS placement that was ignored based on Jekyll logic. Unfortunatelly include directive in jekyll _config.yaml did not work on GitHub (locally it worked). The fix to address this was introduced in 56b63dd.

Another issue comes with images and modules that are placed into _images and _modules directory. As all the files prefixed with underscore are ignored by Jekyll, these static files do not show up in the documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://thoth-station.ninja/docs/developers/adviser/introduction.html

  2. See no images rendered

  3. Go to https://thoth-station.ninja/docs/developers/adviser/thoth.adviser.html#module-thoth.adviser.exceptions

  4. Click on "source" for any Python object

  5. See 404 reported

Expected behavior

Images and module source code should be rendered and available.

With few repo moved to pyproject.toml the sphinx docs generation needs modification

Is your feature request related to a problem? Please describe.

We build sphinx docs using the setup.py build_sphinx command, however as we have moved a few repositories to use pyproject.toml . we have to accommodate the new changes, so we can build sphinx docs using pyproject.toml.

+ pipenv run python3 setup.py build_sphinx
/home/user/.local/share/virtualenvs/analyzer-KKVhO2re/bin/python3: can't open file 'setup.py': [Errno 2] No such file or directory

Additional context

nepthys execution is failing for past few days

Describe the bug
The nepthys execution is failing:

+ [[ thamos = \s\t\o\r\a\g\e\s ]]
+ pipenv run python3 setup.py build_sphinx
running build_sphinx
Running Sphinx v2.2.2
making output directory... done
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 6 source files that are out of date
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 16%] index
reading sources... [ 33%] openapi

Exception occurred:
  File "/home/user/.local/share/virtualenvs/thamos-GDdX_RUK/lib64/python3.8/site-packages/yaml/constructor.py", line 427, in construct_undefined
    raise ConstructorError(None, None,
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:merge'
  in "/home/user/clones/user-api/openapi/openapi.yaml", line 2210, column 19
The full traceback has been saved in /tmp/sphinx-err-mtv94r12.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

log: nepthys-27375840-8fw6m-nepthys.log

nepthys app runs are failing due host resolve issues.

Describe the bug
git clone step in the nepthys , is having github.com host resolve issue.

+ for repo in thamos adviser analyzer common lab package-extract python solver storages
+ git clone --depth 1 https://github.com/thoth-station/thamos.git clones/thamos
Cloning into 'clones/thamos'...
fatal: unable to access 'https://github.com/thoth-station/thamos.git/': Could not resolve host: github.com

Expected behavior
A successful run of nepthys without any issues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.