Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To.safe #3767

Draft
wants to merge 56 commits into
base: main
Choose a base branch
from
Draft

To.safe #3767

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
54d9016
Scala3 port IsJavaBean
jto Dec 1, 2020
5b0ca6e
WIP: Upgrade scio-core to Scala 3
jto Dec 2, 2020
b587518
Make scio-avro compile
jto Dec 9, 2020
b4b6f95
Make scio-sql compile
jto Dec 9, 2020
455d974
Make scio-cassandra3 compile
jto Dec 9, 2020
3f56f37
Make scio-elasticsearch{6|7} compile
jto Dec 9, 2020
0f1d1ea
Make scio-redis compile
jto Dec 9, 2020
3bc9044
More support for scala3 in build
jto Dec 10, 2020
191bf15
Support scala3 in scio-parquet
jto Dec 10, 2020
e8f2c79
Support scala3 in scio-smb
jto Dec 10, 2020
d683ccc
Support scala3 in scio-google-cloud-platform
jto Dec 10, 2020
a195df4
Support scala3 in scio-tensorflow
jto Dec 10, 2020
20bf67c
fallback coder ?
jto Dec 10, 2020
628bfbe
Annotate Scala3 work to be done
jto Dec 10, 2020
835bb5d
bigquery/types/SchemaUtil.scala Scala 3
jto Dec 10, 2020
adc7ad3
Set up CI for Scala 3 migration (#1)
MaximeKjaer Mar 11, 2021
a8f4c3c
Fix Scala 3 compilation
vincenzobaz Mar 29, 2021
b99348c
Enable core compilation
vincenzobaz Mar 31, 2021
1d7a02f
Upgrade sbt
vincenzobaz Apr 6, 2021
09dc7e7
Upgrade scala
vincenzobaz Apr 6, 2021
dacbcbc
Use another form of type annotation to keep both 2.13 and 3 versions …
vincenzobaz Apr 7, 2021
e3ce7c7
Remove widen
vincenzobaz Apr 7, 2021
285640b
Adapt slash syntax everywhere and start translating withDottyCompat t…
vincenzobaz Apr 7, 2021
a6ddf9b
Upgrade ci to rc2
vincenzobaz Apr 7, 2021
e54b55d
Fix migration warnings in scio-core (#9)
MaximeKjaer Apr 15, 2021
84cb877
Add first implementation of macro interpreter
vincenzobaz Mar 29, 2021
a3186d6
Correct syntax
vincenzobaz Mar 29, 2021
e55b1a1
Continue To.safe macro implementation
MaximeKjaer Mar 30, 2021
ccf83a8
Update implicit parameter to Scala 3 syntax
MaximeKjaer Mar 30, 2021
55a9393
Remove withDottyCompath from scio-macros. Add withDottyCompat to over…
vincenzobaz Mar 19, 2021
b40e626
Fix compilatin issue
vincenzobaz Apr 1, 2021
7c4c7e4
Make Scala 3 To.safe macro compile
MaximeKjaer Apr 1, 2021
d90ed49
Make To.safe take implicit parameters in Scala 3
MaximeKjaer Apr 7, 2021
3a9c506
Add To.safe test
MaximeKjaer Apr 9, 2021
7d87a58
Relace expr-based schema interpreter with a reflection-based one
vincenzobaz Apr 12, 2021
bb323dc
Add simple tests
vincenzobaz Apr 16, 2021
2556de8
Enable scio-core tests in ci
vincenzobaz Apr 16, 2021
91b6f0d
Use scalatest it in To.safe tests
MaximeKjaer Apr 19, 2021
78dfc9d
Add missing cases to To.safe
MaximeKjaer Apr 19, 2021
e227e8c
Add tests for To.safe conversions of Java types
MaximeKjaer Apr 19, 2021
fa5c956
Prototype a compile time schema generation for java beans
vincenzobaz Apr 27, 2021
6658e8b
Simplify test
vincenzobaz Apr 27, 2021
afb37aa
Specify versions
vincenzobaz Apr 26, 2021
4aa8e57
Drop .tree usage in javabean schema derivation
vincenzobaz Apr 28, 2021
232995b
Drop usage of .tree in IsJavaBean macro
vincenzobaz Apr 28, 2021
47044fe
Add JavaBeans
vincenzobaz Apr 28, 2021
d4b9f8c
Disable Scala 2 test
vincenzobaz Apr 28, 2021
75c4d4e
Reorder cases in To.safe interpreter
MaximeKjaer May 5, 2021
c49e5e9
Update to Scala 3
vincenzobaz Jun 7, 2021
93d192f
Fix IsJavaBean
vincenzobaz Jun 7, 2021
e082144
Update scalatest
vincenzobaz Jun 7, 2021
997be91
Update sbt
vincenzobaz Jun 7, 2021
26f5857
Disable scoverage plugin to compile in Scala 3
vincenzobaz Jun 7, 2021
63f0dcc
Migrate ci to 3.0.0
vincenzobaz Jun 7, 2021
1004f2d
Fix typo
vincenzobaz Jun 7, 2021
1ec8f25
Use transparent to whitebox isjavabean
vincenzobaz Jun 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
GOOGLE_APPLICATION_CREDENTIALS: scripts/gha-it.json
GOOGLE_PROJECT_ID: data-integration-test

on: push
on: release

jobs:
it-test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ci

on: [push, pull_request]
on: release

jobs:
checks:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ env:
GOOGLE_APPLICATION_CREDENTIALS: scripts/gha-it.json
GOOGLE_PROJECT_ID: data-integration-test

on:
push:
tags: ["*"]
on: release

jobs:
publish-repl:
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/migration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Migration
on: push

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task:
# - scio-sql/compile
# - scio-sql/test
# - scio-parquet/compile
# - scio-parquet/test
# - scio-elasticsearch7/compile
# - scio-elasticsearch7/test
# - scio-repl/compile
# - scio-repl/test
# - scio-jmh/compile
# - scio-jmh/test
# - scio-jdbc/compile
# - scio-jdbc/test
# - scio-extra/compile
# - scio-extra/test
- scio-core/compile
- scio-core/test
# - scio-examples/compile
# - scio-examples/test
# - scio-redis/compile
# - scio-redis/test
# - scio-schemas/compile
# - scio-schemas/test
# - scio-cassandra3/compile
# - scio-cassandra3/test
# - scio-tensorflow/compile
# - scio-tensorflow/test
- scio-macros/compile
- scio-macros/test
# - scio-test/compile
# - scio-test/test
# - scio-avro/compile
# - scio-avro/test
# - scio-google-cloud-platform/compile
# - scio-google-cloud-platform/test
# - scio-elasticsearch6/compile
# - scio-elasticsearch6/test
# - scio-smb/compile
# - scio-smb/test
# - steps/compile
# - steps/test
steps:
- uses: actions/checkout@v2.3.4
- name: cache SBT
uses: coursier/cache-action@v5
- name: java 8 setup
uses: olafurpg/setup-scala@v10
# - name: Scala 2
# run: sbt "++2.13.5;${{ matrix.task }}"
- name: Scala 3
run: sbt "++3.0.0;${{ matrix.task }}"
5 changes: 1 addition & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Release Drafter

on:
push:
branches:
- main
on: release

jobs:
update_release_draft:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: release
on:
push:
branches: [main]
tags: ["*"]
on: release
jobs:
publish:
runs-on: ubuntu-latest
Expand Down
Loading