Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 04 21:24
    crajah opened #65
  • Feb 04 2021 16:35
    jjmalina opened #64
  • Jan 29 2020 19:15
    pjfanning commented #58
  • Jan 29 2020 17:50
    franchev commented #58
  • Jan 23 2020 22:22
    geraldstanje commented #63
  • Jan 23 2020 15:37
    geraldstanje commented #63
  • Jan 23 2020 15:35
    geraldstanje commented #63
  • Jan 23 2020 15:08
    montpetitg commented #63
  • Jan 23 2020 15:07
    montpetitg commented #63
  • Jan 23 2020 05:22
    geraldstanje commented #63
  • Jan 23 2020 05:22
    geraldstanje commented #63
  • Jan 23 2020 05:21
    geraldstanje commented #63
  • Jan 17 2020 18:57
    montpetitg commented #63
  • Jan 17 2020 18:56
    montpetitg commented #63
  • Jan 02 2020 14:25
    wiktorolko commented #63
  • Dec 21 2019 14:41
    maziyarpanahi commented #63
  • Nov 20 2019 22:05
    tpiron commented #63
  • Nov 19 2019 17:07
    jjmalina opened #63
  • Sep 06 2019 02:35
    kimxogus opened #62
  • May 13 2019 11:38
    schneist commented #58
Nitay Joffe
@nitay
i see yes, i missed that part in the readme... ok i'll play with it see what i can do
Nitay Joffe
@nitay
@laughedelic so I don't know deep internals of sbt plugins, but I tried this one and it seems to work - https://github.com/frugalmechanic/fm-sbt-s3-resolver
there's prob sth from there u can take to make yours work?
Guillaume Breton
@guillaumebreton
HI!
Alexey Alekhin
@laughedelic
hi @guillaumebreton. do you have a question?
Guillaume Breton
@guillaumebreton
Hi @laughedelic, sorry, fixed my problem as I was typing it in the room. I was looking for a way to tell the resolver to use the IvyPattern :smile: ... and I found .withIvyPattern
thx anyway and thx for the plugin :)
Alexey Alekhin
@laughedelic
cool :+1: you’re welcome :wink:
Eduardo Pareja Tobes
@eparejatobes
hey @laughedelic what about #36
would be nice to have
Alexey Alekhin
@laughedelic
sure, I will reply in the issue a bit later
the thing is that @evdokim should review ohnosequences/ivy-s3-resolver#8
Eduardo Pareja Tobes
@eparejatobes
yup
Alexey Alekhin
@laughedelic
and make a release
Alexey Alekhin
@laughedelic
Hey @eparejatobes. I think I’ll just merge those PRs. @evdokim is too busy.
Eduardo Pareja Tobes
@eparejatobes
:+1:
Salman Ahmed
@debugging
Hi. I want to upload my .zip file that is generated when I run "sbt dist" to S3. I'm not sure how to do this, can someone help me out? Also, does it support encryption?
Eduardo Pareja Tobes
@eparejatobes
@debugging sbt dist is coming from where?
Eduardo Pareja Tobes
@eparejatobes
re encryption, server-side encryption should be almost trivial to implement
client-side maybe a bit more tricky, but doable I think
Salman Ahmed
@debugging
sbt dist is a playframework task I am guessing. Actually come to think of it I would probably want a custom task to push to s3. So my build server can first compile, then run the tests, if it passes, run sbt dist, and then sbt publishS3 or something. The sbt dist creates a .zip file in /target/universal/app-name.zip
I'm looking at the README, I don't get how to setup to push a file to S3, or is that not really in scope for this plugin?
Eduardo Pareja Tobes
@eparejatobes
@debugging I'd look at the sbt docs for artifacts; I think you can include basically anything as an artifact and it will get pushed along with the jars
Eduardo Pareja Tobes
@eparejatobes
@laughedelic correct me if I'm wrong but once you define an artifact and include it in publish it will get pushed to S3
?
Alexey Alekhin
@laughedelic
hi @debugging!
@eparejatobes, you’re right. I think this page of sbt docs is relevant: http://www.scala-sbt.org/0.13/docs/Artifacts.html#Artifacts
I think the links referrenced by @eparejatobes can give you an idea how to configure this
then what is left, is to set up credentials for publishing to S3 and set publishTo as it’s written in the plugin’s readme: https://github.com/ohnosequences/sbt-s3-resolver#publishing
By the way, we’re going to release new version this week :wink:
David Roon
@adridadou
Hi everyone, I am trying to deploy my artifact to my S3 bucket but when I load my project I get the error message "Reference to undefined settings" s3resolver
I am using scala 2.11.6 with version 0.12.0
does this plugin work with scala 2.11 ?
Eduardo Pareja Tobes
@eparejatobes
@cubefriendly SBT 0.12?
David Roon
@adridadou
sbt 0.13.7
Alexey Alekhin
@laughedelic
hi @cubefriendly. could you show us your project/plugins.sbt file and build.sbt?
Matthew Stafford
@m-stafford
Hey gang, quick question. I'm seeing the same problem as @cubefriendly with the same sbt version. Does sbt-s3-resolver require explicit enabling in the build.sbt?
Alexey Alekhin
@laughedelic
ah! yes
this: S3Resolver.defaults
sorry, I just updated readme for the upcoming version 0.13.0, but it's not released yet
Matthew Stafford
@m-stafford
Ahhh, gotcha!
Thought it might have been something like that. Thanks!
Alexey Alekhin
@laughedelic
:+1:
Dean Chen
@deanchen
is there a way to use BasicAWSCredentials with the resolver? I'd like to check in my aws creds in to my private repo
Alexey Alekhin
@laughedelic
Hi @deanchen! I don't see an obvios standard way to get a credentials provider from the basic credentials, but it's easy to achieve by just implementing it's interface:
import com.amazonaws.auth._

s3credentials :=  
  new AWSCredentialsProvider {
    def getCredentials(): AWSCredentials = new BasicAWSCredentials("bar", "buh")
    def refresh(): Unit = {}
  }
Dean Chen
@deanchen
ah ok, that's perfect, thanks!
Alexey Alekhin
@laughedelic
:wink: :+1: