by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 26 11:53

    magnolia-k on master

    deleted sudo Since travis has … Merge pull request #107 from ma… (compare)

  • Jul 26 11:53
    magnolia-k closed #107
  • Jul 26 11:52

    magnolia-k on 2.7.x

    deleted sudo Since travis has … Merge pull request #1030 from m… (compare)

  • Jul 26 11:52
    magnolia-k closed #1030
  • Jul 26 11:47
    magnolia-k opened #107
  • Jul 26 11:44
    magnolia-k opened #1030
  • Jul 15 05:44
    takezoe milestoned #1013
  • Jul 15 05:44
    takezoe milestoned #1012
  • Jul 15 05:44
    takezoe milestoned #1011
  • Jul 15 05:44
    takezoe milestoned #1009
  • Jul 15 05:44
    takezoe milestoned #1008
  • Jul 15 05:44
    takezoe milestoned #1004
  • Jul 15 05:30
    takezoe milestoned #1029
  • Jul 15 05:30
    takezoe milestoned #1027
  • Jul 15 05:29
    takezoe milestoned #1026
  • Jul 15 05:28
    takezoe milestoned #1028
  • Jul 15 05:28
    takezoe labeled #1028
  • Jul 14 06:05

    magnolia-k on 2.7.x

    Deleted unused code The 'Scala… Merge pull request #1029 from m… (compare)

  • Jul 14 06:05
    magnolia-k closed #1029
  • Jul 14 05:57
    magnolia-k opened #1029
Horia Constantin
@treaz
@takezoe, regarding the scalatra-website 2.7 docs. Should we have a new branch for the 2.7 and merge it into master once 2.7 is out, or just create the 2.7 directory, work in it and it will get published on the website when 2.7 is out?
Horia Constantin
@treaz
how does this look? scalatra/scalatra-website#195
Naoki Takezoe
@takezoe
@treaz Since we already published 2.7-RC, I think we can publish 2.7 docs anytime. Maybe the process should be below:
  • Create 2.7 branch, then create 2.7 directory and copy 2.6 docs to 2.7 directory on 2.7 branch
  • Update 2.7 docs on 2.7 branch, then create a pull request
  • Merge into master, then publish the website
Naoki Takezoe
@takezoe
And scalatra/scalatra-website#195 looks good! Thanks!
Horia Constantin
@treaz
@takezoe do you have a couple of minutes to checkout why hugo serve is not showing me anything when I click on the scalatra-website top links (master branch)?
Horia Constantin
@treaz
hugo version: v0.62.2/extended darwin/amd64
Naoki Takezoe
@takezoe
@treaz I tried Huge v0.36.1, but it didn't work too. Hugo v19.0 is used for building the website on TravisCI: https://github.com/scalatra/scalatra-docbuild/blob/dcb75b67d83d1a4498c837c1242aa89dbef9ccf6/.travis.yml#L17
It's too old. We might have to upgrade Huge.
Horia Constantin
@treaz
I'll look into it these days... in the meanwhile, I'll raise an issue on scalatra website.
Steve Fosdal
@sfosdal
Is there an idea when 2.7.0 will be fully released?
(i.e. not an RC)
Naoki Takezoe
@takezoe
I think we can release 2.7.0 GA. We have a plan to support Swagger 3.0 in Scalatra 2.7 but there is no progress so far. It won't come in Scalatra 2.7 anyway. A rest task is creating documentation for 2.7. It will take a little while.
Horia Constantin
@treaz
@takezoe docs for 2.7: scalatra/scalatra-website#202
Horia Constantin
@treaz
@takezoe can you also check this one out? scalatra/scalatra-website-examples#77
Naoki Takezoe
@takezoe
@treaz Sorry for my late response. I will take a look at them on weekend. Great thanks!!
Naoki Takezoe
@takezoe
Hmm, I deployed Scalatra website after merging scalatra/scalatra-website#202, then many existing files were deleted and the doc site is now almost unavailable. I don't have time to fix it today. Will check on next weekend or later :bow:
Horia Constantin
@treaz
@takezoe I could look into it, if you tell me where to look and you give me some sort of access?
Horia Constantin
@treaz

@takezoe

Hmm, I deployed Scalatra website after merging scalatra/scalatra-website#202, then many existing files were deleted and the doc site is now almost unavailable. I don't have time to fix it today. Will check on next weekend or later :bow:

that's my bad... I tried to use shortcodes somewhere where it was not allowed and I didn't test locally. Fix: scalatra/scalatra-website#205

Naoki Takezoe
@takezoe
@treaz Thanks! We use this project (https://github.com/scalatra/scalatra-docbuild) for deploying the website. Deployment process runs on TravisCI. I will invite you to Scalatra organization so that you can get permission to write to GitHub repos and manage TravisCI jobs.
Naoki Takezoe
@takezoe
@treaz Sent an invitation as a committer.
Naoki Takezoe
@takezoe
We need to run the website deployment by running the above Travis job by hand. Now it's running after merging scalatra/scalatra-website#205
Naoki Takezoe
@takezoe
The website got back. Thanks @treaz! http://scalatra.org/
Horia Constantin
@treaz

The website got back. Thanks @treaz! http://scalatra.org/

I wish it wouldn't get broken in the first place. I've created an issue to check if there's anything that can be done about this (some tests&rollback)

Horia Constantin
@treaz
@takezoe the scalatra website is currently running on HTTP. Switching to https is just clicking a checkbox, but only an admin can do it. https://help.github.com/en/github/working-with-github-pages/securing-your-github-pages-site-with-https
Naoki Takezoe
@takezoe
I enabled Enforce HTTPS option.
Miguel Silvestre
@msilvestre
Hi! I've imported the hadoop-common into my project and now I'm having a lot of warnings from library incompatibilities due to the scalatra plugin. scalatra plugini is importing jetty version 9.4.8 and hadoop has 9.4.6. How can I resolve this?
Thanks
Horia Constantin
@treaz
@takezoe whohoo! HTTPS ftw!
@msilvestre I don't want to be unwelcoming, but when I read your question, I'm thinking "what does this have to do with scalatra?". I'll help out this time, so I'm curious if you already tried to exclude the jetty library from hadoop-common (libraryDependencies += "foo" % "bar" % "0.7.0" exclude("org.baz", "bam") ).
Andrius Bentkus
@txdv
hi, I am using the scalatra base example and I have written a failing ScalatraFunSuite test with 500, is there a way to see the output of the jetty server or a stack trace
i am using sbt test
Miguel Silvestre
@msilvestre
@treaz Well it's related, because the errors disappeared as soon as I removed scalatra plugin.
Daniel Sali
@DanielSali9_twitter
Hi all,
I'm having a hard time setting Jetty's http idleTimeout in a basic Scalatra project (pretty much the g8 template). Has anyone managed to change the default idleTimeout from the default 30s somehow?
Emmanuel Sarsah
@small-petit_gitlab
Please, does scalatra 2.7 support scala 2.13?
I am new to Scala and scala web development.
I searched earlier messages in the room, but I couldn't find out if this question has been asked before.
Thank you.
Naoki Takezoe
@takezoe
@small-petit_gitlab Yeah, Scala 2.13 support is the main topic of Scalatra 2.7 :-)
Emmanuel Sarsah
@small-petit_gitlab

Oh OK. I see.
But I tried creating a new project with sbt new scalatra/scalatra.g8. After answering the few project questions, I get java.io.IOException: Unable to delete file: C:\Users\gerol\AppData\Local\Temp\giter8......

Please, any help?

Naoki Takezoe
@takezoe
Naoki Takezoe
@takezoe
Rob Knapen
@robknapen
:+1: :balloon:
Benoit George
@sharkgua
Hi everyone!
I'm having trouble adding the swagger example field introduced in scalatra 2.7.0
For example
parameters pathParam[String]("pathPath").description("a description").example("John Doe")
does not add
"example": "John Doe"
to the generated swagger.json document
I see here scalatra/scalatra@b17bc7e that the example was removed from the tests, so I guess I'm not using the correct way to add example value to my Swagger API.
Do you know what's the proper way?
Thank you.
Gunnar Lilleaasen
@heksesang
I noticed you wrote on your site for the 2.6.5 release that "We have a plan to move http4s in Scalatra 3.0.0", does that mean you are planning to build Scalatra 3.0.0 on top of http4s?
Naoki Takezoe
@takezoe
@heksesang That was our original plan for Scalatrra 3. We have a branch which has been partially migrated to http4s, but this branch is not maintained any more. Actually, the vision of Scalatra 3 is not clear now.
Gunnar Lilleaasen
@heksesang
I see. Why did you choose to abandon the migration to http4s?
Naoki Takezoe
@takezoe
It's simply lack of development resource.
Nils Kilden-Pedersen
@nilskp
I would be sad to see Scalatra depend on http4s, as would lead to FS2 and Cats dependencies. A general open-source library, like Scalatra, should really try to avoid this, particularly on rapidly evolving libraries, as the chance of incompatible dependencies from other projects is almost unavoidable.
I can see that this approach has been abandoned, but for other reasons.
Naoki Takezoe
@takezoe
@nilskp Actually, a creator of Scalatra was a creator of http4s. So, Scalatra and http4s had a connection. One good point of http4s was that it supports Servlet based backend not only Netty based non-blocking I/O backend. Anyway, I think migration to http4s would never happen on Scalatra due to the lack of our development resources.
My Nguyen
@nguyenmv2
Hi guys, I'm brand new to both Scalatra and Scala. Following the "First Step" tutorial. Run into a weird issue when I run sbt on a fresh scalatra app, instead of binding to a normal network ( localhost:8000 ) it binds to a unix socket. How would I change the port binding? I mistook sbt server with the jetty server
Naoki Takezoe
@takezoe
I found a video of the presentation about Scalatra + Slick + ZIO at ScalaUA conference!
https://www.youtube.com/watch?v=mAQAxh-K14g
Alexis Côté
@popojargo
@sharkgua I've made some PR to fix that