chrisdinn / brando

A Redis client written with Akka's IO package
Other
107 stars 24 forks source link

Bump versions for Scala, Akka and Scalatest. #65

Open davidmweber opened 8 years ago

davidmweber commented 8 years ago

This brings the packages up to current versions.

davidmweber commented 8 years ago

Akka 2.4.1 does not support Scala 2.10. Do you still want to support this Scala version?

chrisdinn commented 8 years ago

@damienlevin @gramk

What do you guys think?

damienlevin commented 8 years ago

I really like the cleanups but I'm not a fan of the package change, what's the motivation ? I'm ok to drop 2.10 on master but we should create a 2.10 branch and document it in the README.

davidmweber commented 8 years ago

My package names were somewhat arbitrary (digital-achiever as a "-" so it is a no-go). My primary motivation was to lay things out more conventionally (files in a directory that has the same hierarchy as the package) and with a package name that is OK for Maven. Also, sbt's publishLocal wants the package to match the actual organisation specified in the sbt file.

So really not fussy about the actual name :). Let me know what works for you and I will refactor.

chrisdinn commented 8 years ago

Those package names (and matching directory tree) are Java-isms not required in Scala. Unless this has changed lately in some official way, I'd prefer not to use a fully-qualified package name.

I'm not sure about the impact on publishLocal, but I've never had any problem building/publishing Scala libs this way.

The rest of the cleanup looks good to me. If you want a quick merge you can separate these issues and we can discuss package naming in another PR.

davidmweber commented 8 years ago

I have had some issues with package names not matching organisation in Ivy. sbt publishLocal puts the package in a directory that matches the organisation but the compiler looks for the jar in the heirarchy of the package... I think it is prudent to just pick a package name/heirarchy that matches the organisation and does not offend anyone unduly. The change will take me 5 mins

chrisdinn commented 8 years ago

Are you certain you've correctly identified the source of your problem? If you are correct, libs like Akka also have this problem. I'm assuming they either don't experience it, mitigate it somehow (we could do the same here) or don't deem the limitation worth changing package names for. Is the approach in this library any more offensive?

In Akka's case, the organization is "com.typesafe.akka" but the package names are short and sweet (ie. akka.actor).

davidmweber commented 8 years ago

Brain fart here.... Do you want the package to be just brando? And are you happy to put it in a separate directory?

Tolsi commented 7 years ago

so?

chrisdinn commented 7 years ago

Hey, do you think you can fix the Travis failure?