Giter Club home page Giter Club logo

Comments (9)

jrfonseca avatar jrfonseca commented on July 23, 2024 1

Unfortunately one can't reliably omit the hyphen, as there's no way to detect when stdin will have a graph: stdin might not be a tty, but still not have pipe, as often is the case when starting xdot from application menu.

But I've fixed the instructions as suggested.

from xdot.py.

jrfonseca avatar jrfonseca commented on July 23, 2024

@zxgio, @coroa, Thanks.

from xdot.py.

mgedmin avatar mgedmin commented on July 23, 2024

@jrfonseca could you make a bugfix release to PyPI please? This bug is very annoying.

from xdot.py.

jrfonseca avatar jrfonseca commented on July 23, 2024

@mgedmin I tagged a new release and pushed. Hopefully it should pop up on PyPI shortly.

from xdot.py.

jrfonseca avatar jrfonseca commented on July 23, 2024

No luck -- https://travis-ci.org/jrfonseca/xdot.py/builds/427718100 -- it will take me a bit longer.

from xdot.py.

mgedmin avatar mgedmin commented on July 23, 2024

Oh yeah, that doesn't look fun!

(I was always curious: people who rely on CI builds out of tags to make releases, how do they deal with release process failures? Bump version and make a new tag? Do the release manually Just This Once(TM)?)

(The way I do releases is I don't push the git tag until after twine upload succeeds, so I can iterate and fix my make release rule in my Makefile.)

from xdot.py.

jrfonseca avatar jrfonseca commented on July 23, 2024

I often do git push -f to force a new tag. Indeed I ended up doing a manual release. The reason I didn't do it immedaitely is that not all my machines are setup with pypi credentials and what not. At any rate it's done now.

from xdot.py.

mgedmin avatar mgedmin commented on July 23, 2024

✨ Thank you! ✨

from xdot.py.

PangLuo avatar PangLuo commented on July 23, 2024

Thank you! I'm new to this library. From the code I can see that even if no input file is given you'll still have to type '-' as the filename, but README says "Usage: xdot.py [file]", which is a bit confusing. Maybe "Usage: xdot.py (filename | - )" is better. Otherwise we can just modify the code so that we don't need the hyphen.

from xdot.py.

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.