Skip to content

Commit 93c9ae8

Browse files
authored
Add support for release-plz (#531)
* Add support for release-plz Signed-off-by: Moritz Hoffmann <antiguru@gmail.com> * Only publish differential-dataflow and differential-dogs3 Signed-off-by: Moritz Hoffmann <antiguru@gmail.com> * Separate changelogs Signed-off-by: Moritz Hoffmann <antiguru@gmail.com> * Fix tests Signed-off-by: Moritz Hoffmann <antiguru@gmail.com> --------- Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
1 parent 15544db commit 93c9ae8

File tree

19 files changed

+85
-24
lines changed

19 files changed

+85
-24
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
# Check for updates every Monday
6+
schedule:
7+
interval: "weekly"
8+

.github/workflows/release-plz.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release-plz
2+
3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
12+
jobs:
13+
release-plz:
14+
name: Release-plz
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Install Rust toolchain
22+
uses: actions-rust-lang/setup-rust-toolchain@v1
23+
- name: Run release-plz
24+
uses: MarcoIeni/release-plz-action@v0.5
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
CARGO_REGISTRY_TOKEN: ${{ secrets.DIFFERENTIAL_RELEASE_PLZ }}

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ fnv="1.0.2"
4646
timely = {workspace = true}
4747

4848
[workspace.dependencies]
49-
#timely = { version = "0.12", default-features = false }
50-
timely = { git = "https://github.com/TimelyDataflow/timely-dataflow", default-features = false }
49+
timely = { version = "0.13", default-features = false }
5150
#timely = { path = "../timely-dataflow/timely/", default-features = false }
5251

5352
[features]

advent_of_code_2017/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name = "advent_of_code_2017"
33
version = "0.1.0"
44
authors = ["Frank McSherry <fmcsherry@me.com>"]
5+
publish = false
56

67
[dependencies]
78
differential-dataflow = { path = "../" }
8-
timely = { git = "https://github.com/frankmcsherry/timely-dataflow" }
9+
timely = { git = "https://github.com/frankmcsherry/timely-dataflow" }

dogsdogsdogs/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "dogsdogsdogs"
2+
name = "differential-dogs3"
33
version = "0.1.0"
44
authors = ["Frank McSherry <fmcsherry@me.com>"]
55
license = "MIT"
@@ -8,8 +8,7 @@ edition = "2021"
88
[dependencies]
99
timely = { workspace = true }
1010
differential-dataflow = { path = "../", default-features = false }
11-
serde = "1"
12-
serde_derive = "1"
11+
serde = { version = "1.0", features = ["derive"]}
1312

1413
[dev-dependencies]
1514
graph_map = "0.1"

dogsdogsdogs/examples/delta_query.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use differential_dataflow::input::Input;
44
use differential_dataflow::operators::JoinCore;
55
use graph_map::GraphMMap;
66

7-
use dogsdogsdogs::altneu::AltNeu;
8-
use dogsdogsdogs::calculus::{Differentiate, Integrate};
7+
use differential_dogs3::altneu::AltNeu;
8+
use differential_dogs3::calculus::{Differentiate, Integrate};
99

1010
fn main() {
1111

@@ -74,8 +74,8 @@ fn main() {
7474
let key1 = |x: &(u32, u32)| x.0;
7575
let key2 = |x: &(u32, u32)| x.1;
7676

77-
use dogsdogsdogs::operators::propose;
78-
use dogsdogsdogs::operators::validate;
77+
use differential_dogs3::operators::propose;
78+
use differential_dogs3::operators::validate;
7979

8080
// Prior technology
8181
// dQ/dE1 := dE1(a,b), E2(b,c), E3(a,c)

dogsdogsdogs/examples/delta_query2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn main() {
3333
let changes1 = edges1.inner.map(|((k,v),t,r)| ((k,v,t.clone()),t,r)).as_collection();
3434
let changes2 = edges2.inner.map(|((k,v),t,r)| ((k,v,t.clone()),t,r)).as_collection();
3535

36-
use dogsdogsdogs::operators::half_join;
36+
use differential_dogs3::operators::half_join;
3737

3838
// pick a frontier that will not mislead TOTAL ORDER comparisons.
3939
let closure = |time: &Product<usize, usize>, antichain: &mut timely::progress::Antichain<Product<usize, usize>>| {

dogsdogsdogs/examples/delta_query_wcoj.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use timely::dataflow::operators::probe::Handle;
33
use differential_dataflow::input::Input;
44
use graph_map::GraphMMap;
55

6-
use dogsdogsdogs::{CollectionIndex, altneu::AltNeu};
7-
use dogsdogsdogs::{ProposeExtensionMethod};
6+
use differential_dogs3::{CollectionIndex, altneu::AltNeu};
7+
use differential_dogs3::{ProposeExtensionMethod};
88

99
fn main() {
1010

@@ -107,4 +107,4 @@ fn main() {
107107
}
108108

109109
}).unwrap();
110-
}
110+
}

dogsdogsdogs/examples/dogsdogsdogs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use differential_dataflow::{Collection, AsCollection};
44
use differential_dataflow::input::Input;
55
use graph_map::GraphMMap;
66

7-
use dogsdogsdogs::{CollectionIndex, PrefixExtender};
7+
use differential_dogs3::{CollectionIndex, PrefixExtender};
88

99
fn main() {
1010

@@ -86,4 +86,4 @@ fn main() {
8686
}
8787

8888
}).unwrap();
89-
}
89+
}

dogsdogsdogs/src/altneu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! element of the second lattice, if neither first element equals
1212
//! the join.
1313
14-
use serde_derive::{Deserialize, Serialize};
14+
use serde::{Deserialize, Serialize};
1515

1616
/// A pair of timestamps, partially ordered by the product order.
1717
#[derive(Debug, Hash, Default, Clone, Eq, PartialEq, Ord, PartialOrd, Serialize, Deserialize)]

0 commit comments

Comments
 (0)