Skip to content

Commit f05a1cd

Browse files
dependabot[bot]ericwenn
authored andcommitted
chore(deps): bump go.einride.tech/sage from 0.201.1 to 0.314.0 in /.sage
Bumps [go.einride.tech/sage](https://github.com/einride/sage) from 0.201.1 to 0.314.0. - [Release notes](https://github.com/einride/sage/releases) - [Commits](einride/sage@v0.201.1...v0.314.0) --- updated-dependencies: - dependency-name: go.einride.tech/sage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 775d4c1 commit f05a1cd

File tree

11 files changed

+140
-103
lines changed

11 files changed

+140
-103
lines changed

.goreleaser.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod download
@@ -10,14 +11,6 @@ builds:
1011
- windows
1112
- darwin
1213

13-
archives:
14-
- replacements:
15-
darwin: Darwin
16-
linux: Linux
17-
windows: Windows
18-
386: i386
19-
amd64: x86_64
20-
2114
checksum:
2215
name_template: "checksums.txt"
2316

.sage/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module sage
22

33
go 1.17
44

5-
require go.einride.tech/sage v0.201.1
5+
require go.einride.tech/sage v0.314.0

.sage/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
go.einride.tech/sage v0.201.1 h1:O5ydNh3UbSjklu+2fGzztFNSVLmHd8T5snoTt7phzdQ=
2-
go.einride.tech/sage v0.201.1/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
1+
go.einride.tech/sage v0.314.0 h1:PcJQD7yk+U9+nvGDOGXNV91cywzoHn540MxJRpu+w+E=
2+
go.einride.tech/sage v0.314.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=

.sage/sagefile.go

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import (
99
"go.einride.tech/sage/tools/sggo"
1010
"go.einride.tech/sage/tools/sggolangcilint"
1111
"go.einride.tech/sage/tools/sggoreleaser"
12-
"go.einride.tech/sage/tools/sggoreview"
13-
"go.einride.tech/sage/tools/sgmarkdownfmt"
12+
"go.einride.tech/sage/tools/sgmdformat"
1413
"go.einride.tech/sage/tools/sgyamlfmt"
1514
)
1615

@@ -30,7 +29,7 @@ func main() {
3029
}
3130

3231
func All(ctx context.Context) error {
33-
sg.Deps(ctx, ConvcoCheck, GoLint, GoReview, GoTest, FormatMarkdown, FormatYAML)
32+
sg.Deps(ctx, ConvcoCheck, GoLint, GoTest, FormatMarkdown, FormatYAML)
3433
sg.SerialDeps(ctx, Proto.All, TypescriptLint)
3534
sg.SerialDeps(ctx, GoModTidy, GitVerifyNoDiff)
3635
return nil
@@ -51,19 +50,14 @@ func GoTest(ctx context.Context) error {
5150
return sggo.TestCommand(ctx).Run()
5251
}
5352

54-
func GoReview(ctx context.Context) error {
55-
sg.Logger(ctx).Println("reviewing Go files...")
56-
return sggoreview.Command(ctx, "-c", "1", "./...").Run()
57-
}
58-
5953
func GoLint(ctx context.Context) error {
6054
sg.Logger(ctx).Println("linting Go files...")
6155
return sggolangcilint.Run(ctx)
6256
}
6357

6458
func FormatMarkdown(ctx context.Context) error {
6559
sg.Logger(ctx).Println("formatting Markdown files...")
66-
return sgmarkdownfmt.Command(ctx, "-w", ".").Run()
60+
return sgmdformat.Command(ctx).Run()
6761
}
6862

6963
func ConvcoCheck(ctx context.Context) error {
@@ -94,7 +88,7 @@ func GoReleaser(ctx context.Context, snapshot bool) error {
9488
}
9589
args := []string{
9690
"release",
97-
"--rm-dist",
91+
"--clean",
9892
}
9993
if len(sggit.Tags(ctx)) == 0 && !snapshot {
10094
sg.Logger(ctx).Printf("no git tag found for %s, forcing snapshot mode", sggit.ShortSHA(ctx))

CODE_OF_CONDUCT.md

Lines changed: 87 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,128 @@
1-
Contributor Covenant Code of Conduct
2-
====================================
1+
# Contributor Covenant Code of Conduct
32

4-
Our Pledge
5-
----------
3+
## Our Pledge
64

7-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
811

9-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
1014

11-
Our Standards
12-
-------------
15+
## Our Standards
1316

14-
Examples of behavior that contributes to a positive environment for our community include:
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
1519

16-
- Demonstrating empathy and kindness toward other people
17-
- Being respectful of differing opinions, viewpoints, and experiences
18-
- Giving and gracefully accepting constructive feedback
19-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
20-
- Focusing on what is best not just for us as individuals, but for the overall community
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
- Focusing on what is best not just for us as individuals, but for the overall
26+
community
2127

2228
Examples of unacceptable behavior include:
2329

24-
- The use of sexualized language or imagery, and sexual attention or advances of any kind
25-
- Trolling, insulting or derogatory comments, and personal or political attacks
26-
- Public or private harassment
27-
- Publishing others' private information, such as a physical or email address, without their explicit permission
28-
- Other conduct which could reasonably be considered inappropriate in a professional setting
30+
- The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
- Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
2938

30-
Enforcement Responsibilities
31-
----------------------------
39+
## Enforcement Responsibilities
3240

33-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
3445

35-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
3650

37-
Scope
38-
-----
51+
## Scope
3952

40-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
4158

42-
Enforcement
43-
-----------
59+
## Enforcement
4460

45-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at open-source@einride.tech.
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
open-source@einride.tech.
4664

4765
All complaints will be reviewed and investigated promptly and fairly.
4866

49-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
67+
All community leaders are obligated to respect the privacy and security of the
68+
reporter of any incident.
5069

51-
Enforcement Guidelines
52-
----------------------
70+
## Enforcement Guidelines
5371

54-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
72+
Community leaders will follow these Community Impact Guidelines in determining
73+
the consequences for any action they deem in violation of this Code of Conduct:
5574

5675
### 1. Correction
5776

58-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
77+
**Community Impact**: Use of inappropriate language or other behavior deemed
78+
unprofessional or unwelcome in the community.
5979

60-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
80+
**Consequence**: A private, written warning from community leaders, providing
81+
clarity around the nature of the violation and an explanation of why the
82+
behavior was inappropriate. A public apology may be requested.
6183

6284
### 2. Warning
6385

64-
**Community Impact**: A violation through a single incident or series of actions.
86+
**Community Impact**: A violation through a single incident or series of
87+
actions.
6588

66-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
89+
**Consequence**: A warning with consequences for continued behavior. No
90+
interaction with the people involved, including unsolicited interaction with
91+
those enforcing the Code of Conduct, for a specified period of time. This
92+
includes avoiding interactions in community spaces as well as external channels
93+
like social media. Violating these terms may lead to a temporary or permanent
94+
ban.
6795

6896
### 3. Temporary Ban
6997

70-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
98+
**Community Impact**: A serious violation of community standards, including
99+
sustained inappropriate behavior.
71100

72-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
101+
**Consequence**: A temporary ban from any sort of interaction or public
102+
communication with the community for a specified period of time. No public or
103+
private interaction with the people involved, including unsolicited interaction
104+
with those enforcing the Code of Conduct, is allowed during this period.
105+
Violating these terms may lead to a permanent ban.
73106

74107
### 4. Permanent Ban
75108

76-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
109+
**Community Impact**: Demonstrating a pattern of violation of community
110+
standards, including sustained inappropriate behavior, harassment of an
111+
individual, or aggression toward or disparagement of classes of individuals.
77112

78-
**Consequence**: A permanent ban from any sort of public interaction within the community.
113+
**Consequence**: A permanent ban from any sort of public interaction within the
114+
community.
79115

80-
Attribution
81-
-----------
116+
## Attribution
82117

83-
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
118+
This Code of Conduct is adapted from the
119+
[Contributor Covenant](https://www.contributor-covenant.org), version 2.0,
120+
available at
121+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
84122

85-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
123+
Community Impact Guidelines were inspired by
124+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
86125

87-
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sagefile := $(abspath $(cwd)/.sage/bin/sagefile)
1010
go := $(shell command -v go 2>/dev/null)
1111
export GOWORK ?= off
1212
ifndef go
13-
SAGE_GO_VERSION ?= 1.18.4
13+
SAGE_GO_VERSION ?= 1.20.2
1414
export GOROOT := $(abspath $(cwd)/.sage/tools/go/$(SAGE_GO_VERSION)/go)
1515
export PATH := $(PATH):$(GOROOT)/bin
1616
go := $(GOROOT)/bin/go
@@ -78,10 +78,6 @@ ifndef snapshot
7878
endif
7979
@$(sagefile) GoReleaser "$(snapshot)"
8080

81-
.PHONY: go-review
82-
go-review: $(sagefile)
83-
@$(sagefile) GoReview
84-
8581
.PHONY: go-test
8682
go-test: $(sagefile)
8783
@$(sagefile) GoTest

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
protoc-gen-typescript-aip
2-
=========================
1+
# protoc-gen-typescript-aip
32

4-
Generates Typescript helpers for Protobuf APIs conforming to [AIP](https://aip.dev).
3+
Generates Typescript helpers for Protobuf APIs conforming to
4+
[AIP](https://aip.dev).
55

66
### Install the plugin
77

88
```bash
99
go get go.einride.tech/protoc-gen-typescript-aip
1010
```
1111

12-
Or download a prebuilt binary from [releases](https://github.com/einride/protoc-gen-typescript-aip/releases).
12+
Or download a prebuilt binary from
13+
[releases](https://github.com/einride/protoc-gen-typescript-aip/releases).
1314

1415
### Invocation
1516

@@ -45,14 +46,15 @@ exclude_resource_definitions
4546
in the file scope, only on messages. Default: false.
4647
```
4748
48-
---
49+
______________________________________________________________________
4950
50-
Features
51-
--------
51+
## Features
5252
5353
### Resource names
5454
55-
Generates helpers for working with resource names, based on [ResourceDescriptor](https://github.com/googleapis/googleapis/blob/master/google/api/resource.proto) annotations.
55+
Generates helpers for working with resource names, based on
56+
[ResourceDescriptor](https://github.com/googleapis/googleapis/blob/master/google/api/resource.proto)
57+
annotations.
5658
5759
#### Example
5860

SECURITY.md

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,40 @@
1-
Security Policy
2-
===============
1+
# Security Policy
32

4-
Einride welcomes feedback from security researchers and the general public to help improve our security. If you believe you have discovered a vulnerability, privacy issue, exposed data, or other security issues in relation to this project, we want to hear from you. This policy outlines steps for reporting security issues to us, what we expect, and what you can expect from us.
3+
Einride welcomes feedback from security researchers and the general public to
4+
help improve our security. If you believe you have discovered a vulnerability,
5+
privacy issue, exposed data, or other security issues in relation to this
6+
project, we want to hear from you. This policy outlines steps for reporting
7+
security issues to us, what we expect, and what you can expect from us.
58

6-
Supported versions
7-
------------------
9+
## Supported versions
810

9-
We release patches for security issues according to semantic versioning. This project is currently unstable (v0.x) and only the latest version will receive security patches.
11+
We release patches for security issues according to semantic versioning. This
12+
project is currently unstable (v0.x) and only the latest version will receive
13+
security patches.
1014

11-
Reporting a vulnerability
12-
-------------------------
15+
## Reporting a vulnerability
1316

14-
Please do not report security vulnerabilities through public issues, discussions, or change requests.
17+
Please do not report security vulnerabilities through public issues,
18+
discussions, or change requests.
1519

16-
Please report security issues via [oss-security@einride.tech](mailto:oss-security@einride.tech). Provide all relevant information, including steps to reproduce the issue, any affected versions, and known mitigations. The more details you provide, the easier it will be for us to triage and fix the issue. You will receive a response from us within 2 business days. If the issue is confirmed, a patch will be released as soon as possible.
20+
Please report security issues via
21+
[oss-security@einride.tech](mailto:oss-security@einride.tech). Provide all
22+
relevant information, including steps to reproduce the issue, any affected
23+
versions, and known mitigations. The more details you provide, the easier it
24+
will be for us to triage and fix the issue. You will receive a response from us
25+
within 2 business days. If the issue is confirmed, a patch will be released as
26+
soon as possible.
1727

18-
For more information, or security issues not relating to open source code, please consult our [Vulnerability Disclosure Policy](https://www.einride.tech/vulnerability-disclosure-policy).
28+
For more information, or security issues not relating to open source code,
29+
please consult our
30+
[Vulnerability Disclosure Policy](https://www.einride.tech/vulnerability-disclosure-policy).
1931

20-
Preferred languages
21-
-------------------
32+
## Preferred languages
2233

2334
English is our preferred language of communication.
2435

25-
Contributions and recognition
26-
-----------------------------
36+
## Contributions and recognition
2737

28-
We appreciate every contribution and will do our best to publicly [acknowledge](https://einride.tech/security-acknowledgments.txt) your contributions.
38+
We appreciate every contribution and will do our best to publicly
39+
[acknowledge](https://einride.tech/security-acknowledgments.txt) your
40+
contributions.

example/proto/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sagefile := $(abspath $(cwd)/../../.sage/bin/sagefile)
1010
go := $(shell command -v go 2>/dev/null)
1111
export GOWORK ?= off
1212
ifndef go
13-
SAGE_GO_VERSION ?= 1.18.4
13+
SAGE_GO_VERSION ?= 1.20.2
1414
export GOROOT := $(abspath $(cwd)/../../.sage/tools/go/$(SAGE_GO_VERSION)/go)
1515
export PATH := $(PATH):$(GOROOT)/bin
1616
go := $(GOROOT)/bin/go

0 commit comments

Comments
 (0)