Git Product home page Git Product logo

Comments (11)

sollidsnake avatar sollidsnake commented on July 19, 2024

Wow. That's a lot of changes. Thanks for taking your time and reporting it!
I'm very busy these days but I'll try to look into it and merge as soon as possible.

from pipman.

n3f4s avatar n3f4s commented on July 19, 2024

At the beginning I was planning to make only few changes but I went a little overboard. I hadn't the reflexes to submit a pull request with the first change and I must admit that my (commit) history may be messy. I'm not used to contribute to open source project.
Don't hesitate to refuse to merge if it's too much work.

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

I didn't mean it's bad that it's a big merge. It was a comment :)

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

I looked at the changes you made and they look awesome! I'll certainly merge them and credit you for them. I pushed them into a new branch called bigupdate where I'll do some changes doing the merge, because there are few issues I saw that need to be fixed:

  • All files have permission to be executed. Only src/pipman/pipman.py should have it.
  • Debug output is displayed twice:
$ ./pipman search potato
>>> debug: Creating venv in /tmp/pipman/pipman-venv <<<
>>> debug: Creating venv in /tmp/pipman/pipman-venv <<<
>>> debug: List of packages : ['potato'] <<<
>>> debug: List of packages : ['potato'] <<<
>>> debug: pip search potato <<<
>>> debug: pip search potato <<<
  • The sintax pipman install package --no-install looks a bit strange. Maybe installing and generating should be different commands, like pipman generate and pipman install. Or using the previous syntax, with the flag --install to actually install it: pipman package --install.

I'll keep this issue open until the changes are merged into master. Thanks again!

from pipman.

n3f4s avatar n3f4s commented on July 19, 2024
  • For the permissions, I didn't give a thought to it...
  • For the debug output, I tried to fix this issue for less than 10 minutes than I gave up, it didn't bothered me since it's debug output and it should be turned of in the release.
  • I find the --install option strange. I (as a user) expect this kind of tool to install (by default) the package (like pacgem do for ruby gems), or to have an install (like, pip, gem, ...) command. So, IMHO, the generate/install commands is the better option.

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

I just pushed some updates on the bigupdate branch. Could test if everything works for you? Then I'll merge it into master.

from pipman.

n3f4s avatar n3f4s commented on July 19, 2024

seems to works. I tried pipman pysixel and it works (I didn't try to install the generated PKGBUILD but it seemed OK). Is there something else to test (automated testing would be nice ^^) ?
Where is this version compared to my fork (I've noticed that there is no commands) ?

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

Yes I should have already done the unit tests from the start. I'll write them as soon as possible.

This version is basically yours with a few fixes and refactoration. I'll merge it later today and put a credit section in the todo with a thanks to you.

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

Sorry, I'm gonna have to step back on this. I'm finding your code structure more complex to maintain than the previous. I believe it will be better to reimplement your features in the previous code structure.

Anyway, thanks for your help and work. I really appreciate it. I'll close this issue once everything is implemented.

from pipman.

n3f4s avatar n3f4s commented on July 19, 2024

no problem, ask if there is any problem with my code.

from pipman.

sollidsnake avatar sollidsnake commented on July 19, 2024

I just pushed the highlight functionality with pipman search, and I believe we covered all the features discussed here. Please open another issue if you think some feature of this issue is still missing.

from pipman.

Related Issues (16)

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.