Giter VIP home page Giter VIP logo

Comments (9)

Nishith-Savla avatar Nishith-Savla commented on May 27, 2024 1

Thanks, that worked. Actually, that wasn't an OS-specific problem because I had tried it on WSL2 (Kali Linux) as well before starting the issue and it didn't work there as well. It may be better to have a look on it as well.

from reviews.

waynew avatar waynew commented on May 27, 2024 1

FWIW that's because cli.py is outside the source directory. A much nicer approach would be to move cli to say, reviews/__main__.py or even reviews/cli.py.

If you move the source into a src folder, it will expose several issues along those lines.

For now, I'm able to work around this by cloning the repo, doing

python -m venv env
python -m pip install -e .
ln -s /path/to/repo/env/bin/reviews ~/.local/bin/reviews

You can see the existing buggy behavior by simply not installing in editable mode (i.e.

python -m pip install .
cd /tmp/
/path/to/repo/env/bin/reviews -h

)

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

@Nishith-Savla thanks for raising the issue.

I don't usually develop on windows outside of WSL2 so I missed this; I've updated the code base in #43 to resolve the issues with building and installing reviews on Windows. You can use the following steps to check if your issue is resolved.

Although I managed to get the dashboard running on Windows, the experience was no on par with running it on a UNIX system. For this reason, I've dropped official support for windows (until such time as the experience improves). I would be happy to review and accept any PRs to add support for Windows (if this is something you would like).

Steps to reproduce

git clone https://github.com/apoclyps/code-review-manager
cd code-review-manager

pip install -e .

set REPOSITORY_CONFIGURATION="apoclyps/my-dev-space"
set GITHUB_TOKEN=your-token

reviews dashboard

# ctrl + pause break to exit

I'll publish a 0.1.2 release with these fixes.

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

A transitive dependency changed which needed to be pinned in https://github.com/apoclyps/code-review-manager/pull/43/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552R8 which why it was breaking cross-platform.

As for window specific issues, the path to an SQLite database (used for a local cache - still being developed) was failing in https://github.com/apoclyps/code-review-manager/pull/43/files#diff-54086b89c0a6d38c0d89a17324d9075c8612308e14b0188014dc75be7ee1dbbbL17 because the paths didn't exist on the host machine. These are no longer loaded by default.

As for running it on windows, I encountered slow rendering/flickering when the screen was being updated - the user experience was quite poor - I'd be interesting to know if you encounter this issue.

from reviews.

Nishith-Savla avatar Nishith-Savla commented on May 27, 2024

Not yet will update if I see one

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

Thanks, @waynew for the feedback. I'll work on reproducing this locally and reopen this issue in the meantime.

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

@waynew I've started work on fixing this in #128 - currently opened as a draft - feel free to provide any feedback you feel is relevant. All opinions and thoughts are welcome.

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

I've refactored the module and how it's run to ensure it's installable without --editable alongside testing other methods for running the module/cli in #128

from reviews.

apoclyps avatar apoclyps commented on May 27, 2024

This has been fixed and will be released in version 0.1.8: #133

from reviews.

Related Issues (20)

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.