Skip to content

Commit

Permalink
Bump to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Apr 26, 2022
1 parent bb52082 commit 95f41b2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- [06/2019] **Release**: version 0.8.3
- [05/2020] **Release**: version 0.8.4
- [07/2020] **Release**: version 0.9.0
- [04/2021] **Release**: version 1.0.0

## spark-fits

Expand All @@ -35,20 +36,20 @@ data sources (CSV, JSON, Avro, Parquet, etc). Note that spark-fits follows Apach

```bash
# Scala 2.11
spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.11:0.9.0" <...>
spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.11:1.0.0" <...>

# Scala 2.12
spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.12:0.9.0" <...>
spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.12:1.0.0" <...>
```

or you can link against this library in your program at the following coordinates in your build.sbt

```scala
// Scala 2.11
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.11" % "0.9.0"
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.11" % "1.0.0"

// Scala 2.12
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.12" % "0.9.0"
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.12" % "1.0.0"
```

Currently available:
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import xerial.sbt.Sonatype._
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
version := "0.9.0",
version := "1.0.0",
mainClass in Compile := Some("com.astrolabsoftware.sparkfits.ReadFits")
)),
// Name of the application
Expand All @@ -44,8 +44,8 @@ lazy val root = (project in file(".")).
// assemblyShadeRules in assembly := Seq(ShadeRule.rename("nom.**" -> "new_nom.@1").inAll),
// Put dependencies of the library
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.4.3" % "provided",
"org.apache.spark" %% "spark-sql" % "2.4.3" % "provided",
"org.apache.spark" %% "spark-core" % "2.4.7" % "provided",
"org.apache.spark" %% "spark-sql" % "2.4.7" % "provided",
scalaTest % Test
)
)
Expand Down
4 changes: 2 additions & 2 deletions docs/01_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ You can link spark-fits to your project (either `spark-shell` or `spark-submit`)

```bash
# Scala 2.11
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.11:0.9.0" <...>
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.11:1.0.0" <...>

# Scala 2.12
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.12:0.9.0" <...>
toto:~$ spark-submit --packages "com.github.astrolabsoftware:spark-fits_2.12:1.0.0" <...>
```

It might not contain the latest features though (see *Building from source*).
Expand Down
4 changes: 2 additions & 2 deletions docs/02_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ coordinates in your `build.sbt`:

```scala
// %% will automatically set the Scala version needed for spark-fits
libraryDependencies += "com.github.astrolabsoftware" %% "spark-fits" % "0.9.0"
libraryDependencies += "com.github.astrolabsoftware" %% "spark-fits" % "1.0.0"

// Alternatively you can also specify directly the Scala version, e.g.
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.11" % "0.9.0"
libraryDependencies += "com.github.astrolabsoftware" % "spark-fits_2.11" % "1.0.0"
```

#### Scala 2.10.6 and 2.11.X
Expand Down
8 changes: 4 additions & 4 deletions docs/03_interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ option. For example, to include it when starting the spark shell:

```bash
# Scala 2.11
$SPARK_HOME/bin/spark-shell --packages com.github.astrolabsoftware:spark-fits_2.11:0.9.0
$SPARK_HOME/bin/spark-shell --packages com.github.astrolabsoftware:spark-fits_2.11:1.0.0

# Scala 2.12
$SPARK_HOME/bin/spark-shell --packages com.github.astrolabsoftware:spark-fits_2.12:0.9.0
$SPARK_HOME/bin/spark-shell --packages com.github.astrolabsoftware:spark-fits_2.12:1.0.0
```

Using `--packages` ensures that this library and its dependencies will
be added to the classpath (make sure you use the latest version). In Python, you would do the same

```bash
# Scala 2.11
$SPARK_HOME/bin/pyspark --packages com.github.astrolabsoftware:spark-fits_2.11:0.9.0
$SPARK_HOME/bin/pyspark --packages com.github.astrolabsoftware:spark-fits_2.11:1.0.0

# Scala 2.12
$SPARK_HOME/bin/pyspark --packages com.github.astrolabsoftware:spark-fits_2.12:0.9.0
$SPARK_HOME/bin/pyspark --packages com.github.astrolabsoftware:spark-fits_2.12:1.0.0
```

Alternatively to have the latest development you can download this repo
Expand Down
2 changes: 1 addition & 1 deletion docs/_pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ header:
cta_url: "/docs/installation/"
caption:
intro:
- excerpt: '<p><font size="6">Distribute FITS data with Apache Spark: Binary tables, images and more!</font></p><br /><a href="/astrolabsoftware/spark-fits/releases/tag/0.9.0">Latest release: 0.9.0</a>'
- excerpt: '<p><font size="6">Distribute FITS data with Apache Spark: Binary tables, images and more!</font></p><br /><a href="/astrolabsoftware/spark-fits/releases/tag/1.0.0">Latest release: 1.0.0</a>'
excerpt: '{::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=astrolabsoftware&repo=spark-fits&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=astrolabsoftware&repo=spark-fits&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
feature_row:
- image_path:
Expand Down

0 comments on commit 95f41b2

Please sign in to comment.