Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jonbullock
    @jonbullock:matrix.org
    [m]
    JBake v2.7.0-rc.1 has been released to GitHub and Maven Central.
    jonbullock
    @jonbullock:matrix.org
    [m]
    Still need to do some admin on the GitHub issues/milestone to reflect but that'll have to be done later
    ancho
    @ancho:matrix.cirk2.de
    [m]
    amazing
    🎊
    ancho
    @ancho:matrix.cirk2.de
    [m]
    i started to cherry pick my concurrent branch on top of master. still works. from around 22 sec. build time for optaplanner down to around 16 sec.
    if i find some time today i will also start a cleanup of the crawler code. we now have a little bit of code duplication for the data folder crawling part.
    if you are interested in the experimental concurrent stuff: https://github.com/ancho/jbake/tree/experiment/2-7-0-cuncurrent
    ancho
    @ancho:matrix.cirk2.de
    [m]
    we should also think about a move to jdk11 at least which will also give better memory performance and support for the docker image.
    jonbullock
    @jonbullock:matrix.org
    [m]
    25% quicker is a hell of an improvement! If I end up taking my laptop with me next week I'll try and have a look at your branch.
    I've come to the conclusion recently I need to review code changes direct in an IDE so I can see all of the code as a whole.
    Yeah moving to jdk11 is a good idea and I'm onboard. Do it as part of the next release (2.8.0)?
    jonbullock
    @jonbullock:matrix.org
    [m]
    I say 2.8.0 as the next release but we should probably discuss that. Should 2.8.0 be the next release? Or should it be 3.0.0? Whatever we go for I was thinking it would be prudent to create a 2.7.x branch to hold bug fixes/tweaks while work towards the next release can carry on in master.
    jonbullock
    @jonbullock:matrix.org
    [m]
    Ah I completely forgot the upgrade to commons-config2 requires changes in the build plugins
    1 reply
    ancho
    @ancho:matrix.cirk2.de
    [m]
    jep. pretty cool. and it's just a spike. i will note down some other restructuring steps i have in mind. like pre initializing the parserengines and stuff like that.
    we can discuss after your vacation. take your time and relax a bit.
    nee to take a longer break now. talk to you later.
    jonbullock
    @jonbullock:matrix.org
    [m]
    Ah great, I'll have a look at the maven plugin. Be a good step to remove that dependency from the build plugins. Yeah speak to you later.
    ancho
    @ancho:matrix.cirk2.de
    [m]
    jonbullock: i have some additions to your pr #702. do you mind if i directly push them?
    jonbullock
    @jonbullock:matrix.org
    [m]
    No problem at all, go for it.
    ancho
    @ancho:matrix.cirk2.de
    [m]
    all right....done ;)
    ancho
    @ancho:matrix.cirk2.de
    [m]
    hi jonbullock looks like you need to add the commons configuration dep to the plugin again. for some reasons the inner call to the library is not covered. maybe some transitive dependency issue because the exception is still used in an catch clause. interesting problem.
    jonbullock
    @jonbullock:matrix.org
    [m]
    Yeah the exception caught my eye as well.
    jonbullock
    @jonbullock:matrix.org
    [m]
    I had a feeling some part of the TomEE project used JBake, wasn't sure if it was the whole website or just some docs.
    I keep thinking maybe we should reach out to the ASF to see if there is anything we could to help how they use JBake (from a centralisation perspective).
    ancho
    @ancho:matrix.cirk2.de
    [m]
    currently playing around updating to 2.7.0-rc.2 :p
    jonbullock
    @jonbullock:matrix.org
    [m]
    Nice :)
    ancho
    @ancho:matrix.cirk2.de
    [m]
    funny stuff. consumes external repos. produces some aggregated adoc files with jbake headers and renders the stuff together
    ancho
    @ancho:matrix.cirk2.de
    [m]
    INFORMATION: Copying [target/jbake/content/tomee-9.0/examples/struts.txt]... done!
    Mai 26, 2021 12:41:49 VORM. org.jbake.app.Asset copyFile
    INFORMATION: Copying [target/jbake/content/tomee-9.0/examples/telephone-stateful.txt]... done!
    Mai 26, 2021 12:41:49 VORM. org.jbake.app.Oven bake
    INFORMATION: Baking finished!
    Mai 26, 2021 12:41:49 VORM. org.jbake.app.Oven bake
    INFORMATION: Baked 2549 items in 62038ms
    Mai 26, 2021 12:41:49 VORM. com.orientechnologies.common.log.OLogManager log
    INFORMATION: - shutdown storage: cache...
      > done :)
    Mai 26, 2021 12:41:49 VORM. com.orientechnologies.common.log.OLogManager log
    INFORMATION: Orient Engine is shutting down...
    Mai 26, 2021 12:41:49 VORM. com.orientechnologies.common.log.OLogManager log
    INFORMATION: Clearing byte buffer pool
    Mai 26, 2021 12:41:49 VORM. com.orientechnologies.common.log.OLogManager log
    INFORMATION: OrientDB Engine shutdown complete
    o.O
    jonbullock
    @jonbullock:matrix.org
    [m]
    Ah just noticed what methods they are using. Changes in 2.7.0 are a breaking change. Need to check if we can keep a deprecated method to satisfy this use.
    ancho
    @ancho:matrix.cirk2.de
    [m]

    there is some strange behaviour with appveyor.
    This build failed: https://ci.appveyor.com/project/jbake-org/jbake/builds/39380251
    But for my local branch it passed: https://ci.appveyor.com/project/ancho/jbake/builds/39380250

    I don't have permissions to rebuild or clear the cache.

    jonbullock
    @jonbullock:matrix.org
    [m]
    I see a lot of file locked errors related to OrientDB, and I do wonder if it's an inherent problem running on Windows.
    I've just logged in and triggered a re-build
    jonbullock
    @jonbullock:matrix.org
    [m]
    Release candidate for JBake v2.7.0 is available: https://jbake.org/news/jbake-v2.7.0-release-candidate.html
    ancho
    @ancho:matrix.cirk2.de
    [m]
    I wonder if the federation to gitter is broken. my "Thanks" message from may 31 is not present on gitter.
    just this one message. nevermind. seems to work.
    mhberger
    @mhberger
    Hi. First time here. Long time user of JBake, but had hassles trying to get it to run or build on Apple Silicon. I have raised an issue jbake-org/jbake#709 to track. In a nutshell, it is related to use of OrientDB. I have started hacking around looking at using JDBC and a SQLIte implementation.
    Manik Magar
    @manikmagar
    Hi @mhberger, I don’t have Air but does docker work on it? There is a docker image now available - jbake/jbake- https://jbake.org/download.html. Is that an option?
    And welcome here! :)
    mhberger
    @mhberger
    Hi @manikmagar Thanks for reply. Yep, I am a big docker fan. I did a jbake run using the docker image and. generated output to current output, but the post dates were different. I have not investigated extensively yet. And once i have done so will raise a bug report.
    Manik Magar
    @manikmagar
    Interesting, Post dates were different! Let us know. I don’t recall seeing that but might check again later.
    mhberger
    @mhberger
    So running in docker the updated datetime had the incorrect timezone offset. There is probably a way to set the timezone when building/running the docker image. Snippet of the git diff output below:
    -                <time class="entry-date published" datetime="2003-07-29T12:00:00+1200">29 July 2003</time>
    -                <time class="updated" datetime="2003-07-29T12:00:00+1200">29 July 2003</time>
    +                <time class="entry-date published" datetime="2003-07-29T12:00:00+0000">29 July 2003</time>
    +                <time class="updated" datetime="2003-07-29T12:00:00+0000">29 July 2003</time>
    Manik Magar
    @manikmagar
    @mhberger try setting TZ env variable when running docker - eg TZ=America/New_York
    Manik Magar
    @manikmagar
    oh, nvm. Looks like we are not setting timezone in base image.
    Manik Magar
    @manikmagar
    jbake-org/jbake#711 - FYI @jonbullock:matrix.org
    That PR allows changing timezone when running the image. See change to README.
    mhberger
    @mhberger
    Thanks for that. I had a quick go at building image on M1 using docker build -t jbake/jbake ., but it failed. I suspect that this is more docker/M1 issue. FYI error is below. When I get a moment, I will try on an intel box.
    jbake_manikmagar_gh (fix/jbake-710) $ docker build -t jbake/jbake .
    [+] Building 3.1s (4/4) FINISHED
     => [internal] load build definition from Dockerfile                                                                               0.0s
     => => transferring dockerfile: 938B                                                                                               0.0s
     => [internal] load .dockerignore                                                                                                  0.0s
     => => transferring context: 73B                                                                                                   0.0s
     => ERROR [internal] load metadata for docker.io/adoptopenjdk/openjdk11:alpine-jre                                                 3.1s
     => CANCELED [internal] load metadata for docker.io/library/gradle:6.8-jdk11                                                       3.1s
    ------
     > [internal] load metadata for docker.io/adoptopenjdk/openjdk11:alpine-jre:
    ------
    failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:7474d38a191425854a9915af528d75b0e38e6b5ad384b7ed95949eabc5a1367d: not found
    mhbmacxiv jbake_manikmagar_gh (fix/jbake-710) $