Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sander Saares
    @sandersaares

    One of our contributors somehow ended up installing Bikeshed anyway, despite the guide never saying to do so :) He ran into trouble at the Python/pip stage pretty fast.

    I really like Go's style of building self-contained executables. I recall in the past seeing some Python apps also distributed as self-contained directories, "just run unzip and run the binary" style. No idea what packaging like that entails, though - I have not touched Python in 10 years - but a distribution model like that would probably be very helpful in making Bikeshed more foolproof to install.

    Tab Atkins Jr.
    @tabatkins
    Hm, interesting. Did the contributor follow the exact instructions in the docs? I can affirm that the Linux instructions work precisely as advertised, as I've done them several times; other people have contributed and followed the Mac/Windows instructions and successfully installed it.
    Most of the time when people have run into problems installing, it's because they're trying to do something that makes sense to them, rather than just following the actual instructions.
    (The reason I'm trying to find other solutions for you is that the web service isn't maintained by me; it's a completely separate project by @plinss.)
    Sander Saares
    @sandersaares
    I know that he was trying to install it on Windows. However, he did not share with me the details of the issue he was facing (at least he has not responded to my questions so far).
    Sander Saares
    @sandersaares
    How do specref updates get distributed to Bikeshed? An entry was added an hour or two ago. The W3C build service currently does not recognize it. What should my expectations be with regard to specref updates in this aspect?
    Tab Atkins Jr.
    @tabatkins
    The bikeshed-data project runs every 10 minutes, polling all of its data sources for updates. (You can check https://github.com/tabatkins/bikeshed-data/commits/master to see what's been picked up.) I'm unsure of exactly how often the online Bikeshed widget updates its data files.
    (I suspect this commit tabatkins/bikeshed-data@cfd18b3, from 6 hours ago, is the one you're talking about.)
    Sander Saares
    @sandersaares
    Yeah. Looks like it is available now, so whatever the update interval of the online service is, it seems to be less than 24 hours.
    Nicolas Rouquette
    @NicolasRouquette
    I am using bikeshed with our internal github enterprise repository. To enable github issue repository support in bikeshed, I made a small patch to parse https://github.<namespace>/<user-org>/<name> here: tabatkins/bikeshed#1421
    Tab Atkins Jr.
    @tabatkins
    Nice, merged. Didn't even know that was possible!
    Nicolas Rouquette
    @NicolasRouquette

    Although I've had no problems including SVG diagrams created with https://draw.io in bikeshed, I've ran into lots of problems w/ SVG created from https://plantuml.com
    I put some comments about this on a related issue: tabatkins/bikeshed#1403
    Basically, the problem is that with the following:

    <pre class=include>
    path: diagram.svg
    </pre>

    bikeshed is parsing diagram.svg as if it was bikeshed source!
    So, I'm wondering about adding a mechanism to allow including raw HTML in bikeshed, i.e., something like this:

    <pre class=include-html>
    path: diagram.svg
    </pre>

    I realize that this could be abused and a source of difficult to figure out problems. However, its clear that we need some way of letting bikeshed include diagram content without parsing it as bikeshed source.
    Has this topic been discussed/addressed before?

    Nicolas Rouquette
    @NicolasRouquette

    See tabatkins/bikeshed#1427
    This handle things like:

    <dfn lt="examplea">Example A</dfn>
    <dfn lt="exampleb">Example B</dfn>
    <xmp highlight=html>
        <pre class=include-svg>
            path: example.svg
        </pre>
    </xmp>

    where example.svg has hyperlinks like this:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
        <svg viewBox="0 0 150 50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
            <defs></defs>
            <rect x="10" y="10" width="40" height="40" style="fill: rgb(216, 216, 216);"></rect>
            <a xlink:href="#examplea">
                <text x="20" y="40" style="white-space: pre; fill: rgb(51, 51, 51); font-size: 24px;">A</text>
            </a>
            <rect x="100" y="10" width="40" height="40" style="fill: rgb(216, 216, 216);"></rect>
            <a xlink:href="#exampleb">
                <text x="110" y="40" style="white-space: pre; fill: rgb(51, 51, 51); font-size: 24px;">B</text>
            </a>
            <line style="stroke: rgb(0, 0, 0);" x1="50" y1="30" x2="100" y2="30"></line>
        </svg>

    This is actually taken from a new clause 5.11.2 in the bikeshed spec.

    Nicolas Rouquette
    @NicolasRouquette
    @tabatkins I needed a Bikeshed docker image to run Bikeshed in CI. There was an issue about this: tabatkins/bikeshed#1354 I proposed a PR w/ a Dockerfile and documentation about this here: tabatkins/bikeshed#1428
    Tab Atkins Jr.
    @tabatkins
    @NicolasRouquette Whoops, I missed these messages when I fell behind on email! Sorry about that.
    Nicolas Rouquette
    @NicolasRouquette
    @tabatkins Ok; there is still the PR for 'include-svg' for you to review: tabatkins/bikeshed#1427
    Now that we can build a docker image for bikeshed, are you going to publish an official image somewhere?
    Yuvraj Manral
    @yuvraaaj
    Hello everyone,
    I am Yuvraj, Computer Engineering sophomore. Would like to contribute to bikeshed.
    I've also went through the project proposal for GSoC 2020, which aims to write Python codebase of bikeshed into Rust.
    Would love to proceed with this task.
    Gunwant Jain
    @WantGuns
    Hello!
    I am aspiring for Google Summer of Code 2020. I came across the idea you are mentoring for, i.e. rewriting bikeshed in Rust, and would want to how I can help. I have some adequate experience with RustLang and Python. But still, I request your guidance with relevant resources in order to make better contributions.
    Uday Mewada
    @udaymewada
    Hello everyone,
    Uday Mewada
    @udaymewada
    I have cloned the bikeshed repo from GitHub. Is it necessary to install docker for contributing in bikeshed
    David Turner
    @dturnerx
    I hope this is the right place to post help questions. I'm getting inconsistent behavior with my status-ED.include and status-RD.include files. They show up properly for some specs, but not for others. I've verified that Status is either ED or RD. Is there another parameter I'm missing?
    Tab Atkins Jr.
    @tabatkins
    Hm, the boilerplate files are included based solely on the Group and Status metadata. Can you point to some examples that don't work?
    David Turner
    @dturnerx
    I thought it was that simple. I'll double-check (again!). I can't point you to examples because they're in private repos (for the FIDO Alliance).
    David Turner
    @dturnerx
    Yeah. There's something funky in my build process. Local build does it right. Auto build doesn't. Grr.
    Tab Atkins Jr.
    @tabatkins
    Is "auto build" using the api.csswg.org endpoint? If so, maybe you're relying on files that aren't committed into the Bikeshed repo?
    David Turner
    @dturnerx
    No. The strange thing is it seems to be working for other bikeshed spes. I'm sure I'm just missing something very small.
    Tab Atkins Jr.
    @tabatkins
    Huh. All right, well, let me know if you find anything - feel free to file an issue in the GH repo if there's actually something I need to fix.
    Benoît Alessandroni
    @balessan
    Hello guys !
    I may be dumb on this one but from : https://tabatkins.github.io/bikeshed I do not get how you build a local .bs file
    I cloned a repository containing multiple .bs files, people pointed me there, I installed bikeshed but I do not get how to build/access my builded files
    Oh ok got it
    It's the spec command
    Ahlala
    Justin Bingham
    @justinwb
    yep
    hi @balessan :slight_smile:
    Tab Atkins Jr.
    @tabatkins
    glad y'all figured it out ^_^
    David Turner
    @dturnerx
    Is there a way to add a release number to "Working Draft"? e.g., I'd like "Working Draft 01", "Working Draft 02", etc.
    justinwb @justinwb tracing the origins of dark mode
    Justin Bingham
    @justinwb
    @tabatkins what’s the appropriate way to color prefers-color-scheme, for the time being would prefer avoiding dark mode until we adjust some extended styles to work with it
    Justin Bingham
    @justinwb
    err s/to color/to toggle/
    Tab Atkins Jr.
    @tabatkins
    @dturnerx Sure. Probably easiest is to make a custom boilerplate, adding a [VERSIONNUMBER] macro to the status subheading. Then use Text Macro: VERSIONNUMBER 1 in your metadata, bumping it as appropriate.
    @justinwb You can add Boilerplate: style-darkmode off to your metadata, which'll exclude the darkmode style block from being added. Adjusting to darkmode is quite quick and easy tho, I recommend doing it!
    Justin Bingham
    @justinwb
    @tabatkins perfect - that works. will be updating to conform to dark mode just need a bit of breathing room to get there
    David Turner
    @dturnerx
    @tabatkins Thanks. I'll take a look at that.
    Jason Kratzer
    @pyoor__twitter
    Hi all. I'm curious, does bikeshed do anything to validate css value syntax definitions? I'm often finding issues like w3c/csswg-drafts#5576 and I'm trying to determine if there's a better way of preventing these issues rather than parsing the spec and filing new issues.
    Tab Atkins Jr.
    @tabatkins
    There's not, no. Definitely something I'd be interested in doing, but it's a good amount of work to implement and been relatively low-value so far.
    Jason Kratzer
    @pyoor__twitter
    @tabatkins understood - thanks for the response
    elf Pavlik
    @elf-pavlik
    howdy :wave: we use bikeshed heavily (and happily) in https://solidproject.org
    i've come across issue with pygments highlighting Turtle syntax, which I reported in pygments/pygments#1553
    i don't work with python but in my last comment of that issue I've linked to commit which I believe takes things in the right direction
    i was wondering if maybe someone in bikeshed community would be interested in helping to fix that pygments issue?