Comments (9)
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.
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.
@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.
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.
Not yet will update if I see one
from reviews.
Thanks, @waynew for the feedback. I'll work on reproducing this locally and reopen this issue in the meantime.
from reviews.
@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.
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.
This has been fixed and will be released in version 0.1.8: #133
from reviews.
Related Issues (20)
- [Feature] Provide configuration via config files HOT 3
- [FEATURE] Add support for corporate-hosted github HOT 4
- [FEATURE] Add support for inline diffs on pull requests HOT 2
- [BUG] Async isn't actually being used, and prevents ctrl+c from correctly exiting the app HOT 1
- [BUG] Does not seem to work with on premise git enterprise HOT 5
- [BUG] Bad/missing credentials are not handled graciously HOT 2
- [FEATURE] Names of the environment variable are somewhat generic HOT 2
- [Feature] Add flag to dashboard to hide/show authors pull requests HOT 13
- [Feature] Add support for Gitlab HOT 5
- refactor this function for usage with Gitlab
- refactor this function to accept a link
- refactor this function for usage with Gitlab
- refactor this function to accept a link
- replace with pull_request.web_url
- - pass in link
- refactor this function for usage with Gitlab
- refactor this function to accept a link
- Cant get settings file to work HOT 4
- Reviews does not appear to find .env file in current directory? HOT 3
- Request for PAT requirements documentation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reviews.