Skip to content

Commit fecf80d

Browse files
committed
README: simplify a bit, add new website links, add Discord invite
A few sections had extra text which didn't really add much information. The "learning CUE" section can now leverage the new website to give a nice overview of the new content that is available. Finally, include a Discord invite link next to Slack. Discord has been a thing for a few weeks now, and we're up to 50 users compared to Slack's 200 active members. Add a permanent invite link. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I8e9a0f76d175d6d389e62c683d434771be2241e5 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196383 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
1 parent dec1786 commit fecf80d

File tree

2 files changed

+18
-79
lines changed

2 files changed

+18
-79
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,14 @@
1-
21
# Contribution Guide
32

3+
There are many ways to contribute to CUE without writing code!
44

5-
The CUE project welcomes all contributors, and there are many ways that you can
6-
contribute that don't involve writing code!
7-
8-
This document guides you through the process of contributing to the CUE project.
9-
10-
11-
### How can I contribute to the CUE project?
12-
13-
There are many ways that you can contribute to the CUE project
14-
that don't involve writing code.
15-
16-
* Using CUE is a form of contributing! Especially when combined with raising
17-
issues, providing feedback, tell us what works well and what doesn't, pointing
18-
out gaps etc.
19-
* Adding your CUE-based project to [Unity](https://cuelabs.dev/unity/)
20-
helps ensure that we don't create releases that unintentionally break
21-
configurations, but also gives a wide variety of scenarios in which to test bug
22-
fixes, performance improvements and the like.
23-
* Asking questions via GitHub discussions/Slack. This might seem somewhat
24-
counterintuitive, but asking questions helps to identify gaps in
25-
documentation, or poor signposting from the CUE homepage.
26-
* Raising issues with bug reports and feature requests helps us to raise the
27-
quality of future CUE releases. In the case of bug reports not least because
28-
it provides us with real-world test cases.
29-
* Helping to manage issues and answer discussions. Sometimes referred to as
30-
"issue gardening", this helps to share the load of triaging new issues and
31-
feature requests. Having issues presented in a familiar "shape", format and
32-
voice is a _massive_ time saver when it comes to one of the core contributors
33-
fixing a bug, or considering a new feature.
34-
* Code contributions, the main focus of this guide. The CUE project is a little
35-
different from that used by other open source projects so we cover this
36-
process in more detail below.
5+
* Ask or answer questions via GitHub discussions, Slack, and Discord
6+
* Raise issues such as bug reports or feature requests on GitHub
377
* Contributing thoughts and use cases to proposals. CUE can be and is
388
being used in many varied different ways. Sharing experience reports helps
399
to shape proposals and designs.
40-
* Creating content. Whether it be writing blog posts, live streaming,
41-
tweeting... creating content is a great way of growing the CUE community.
42-
Different people have different ways of explaining things, and very often these
43-
different styles appeal to different people. That said, if you think there is
44-
core documentation or guides missing from the https://cuelang.org website
45-
[please raise an issue to let us
46-
know](https://github.com/cue-lang/cue/issues/new/choose): there is not
47-
substitute for good core content, and it means others are then free to write
48-
about more interesting use cases and applications for CUE.
49-
* Holding community events. Whether they be virtual online events or
50-
(COVID-allowing) in-person meetups, sharing experiences about using CUE is a
51-
very valuable way of learning for many.
52-
53-
Thank you to everyone who contributes to the CUE community in whatever form!
54-
Whilst GitHub doesn't have a good means of tracking contributions outside of
55-
code contributions, your contributions are greatly valued!
56-
10+
* Create content: share blog posts, tutorials, videos, meetup talks, etc
11+
* Add your project to [Unity](https://cuelabs.dev/unity/) to help us test changes to CUE
5712

5813
## Before contributing code
5914

README.md

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -97,49 +97,37 @@ Some aspects of this are:
9797

9898
#### Run with Docker
9999

100-
The release binaries are published as a Docker image described by our [Dockerfile](Dockerfile):
101-
102100
docker run cuelang/cue version
103101

104102
#### Install using Homebrew
105103

106-
Using [Homebrew](https://brew.sh), you can install using the CUE Homebrew tap:
107-
108104
brew install cue-lang/tap/cue
109105

110106
#### Install from Source
111107

112-
You need [Go 1.21 or later](https://go.dev/doc/install) to build CUE from source.
113-
114-
To download and install the `cue` command line tool, run:
108+
You need [Go 1.21 or later](https://go.dev/doc/install) to install CUE from source:
115109

116110
go install cuelang.org/go/cmd/cue@latest
117111

118-
You can also build the tool locally from source via `go install ./cmd/cue`.
119-
Note that local release builds [lack version information](https://go.dev/issue/50603),
120-
so they should inject the version string, such as:
112+
You can also clone the repository and build it directly via `go install ./cmd/cue`.
113+
Note that local builds [lack version information](https://go.dev/issue/50603),
114+
so you should inject the version string when building a release, such as:
121115

122116
git switch -d v0.9.0
123117
go install -ldflags='-X cuelang.org/go/cmd/cue/cmd.version=v0.9.0' ./cmd/cue
124118

125119
### Learning CUE
126120

127-
The fastest way to learn the basics is to follow the
128-
[tutorial on basic language constructs](https://cuelang.org/docs/tour/).
121+
The fastest way to learn the basics is to follow the [tour on the website](https://cuelang.org/docs/tour/).
129122

130-
A more elaborate tutorial demonstrating how to convert and restructure
131-
an existing set of Kubernetes configurations is available in
132-
[written form](https://github.com/cue-labs/cue-by-example/tree/main/003_kubernetes_tutorial).
123+
More documentation including various tutorials can be found [on the website](https://cuelang.org/docs/).
133124

134125
### References
135126

136-
- [Language Specification](./doc/ref/spec.md): official CUE Language specification.
137-
138-
- [API](https://pkg.go.dev/cuelang.org/go/cue): the API on pkg.go.dev
139-
140-
- [Builtin packages](https://pkg.go.dev/cuelang.org/go/pkg): builtins available from CUE programs
141-
142-
- [`cue` Command line reference](./doc/cmd/cue.md): the `cue` command
127+
- [Language Specification](https://cuelang.org/docs/reference/spec/): the official CUE Language specification
128+
- [Go API](https://pkg.go.dev/cuelang.org/go/cue): the Go API on pkg.go.dev
129+
- [Builtin packages](https://pkg.go.dev/cuelang.org/go/pkg): builtin functions available from CUE programs
130+
- [`cue` CLI](https://cuelang.org/docs/reference/cli/): the `cue` command line interface
143131

144132
### Go release support policy
145133

@@ -155,19 +143,15 @@ To contribute, please read the [Contribution Guide](CONTRIBUTING.md).
155143
## Code of Conduct
156144

157145
Guidelines for participating in CUE community spaces and a reporting process for
158-
handling issues can be found in the [Code of
159-
Conduct](https://cuelang.org/docs/contribution_guidelines/conduct).
146+
handling issues can be found in the [Code of Conduct](https://cuelang.org/docs/contribution_guidelines/conduct).
160147

161148
## Contact
162149

163-
You can get in touch with the cuelang community in the following ways:
164-
165150
- Ask questions via [GitHub Discussions](https://github.com/cue-lang/cue/discussions)
166-
- Chat with us on our [Slack workspace](https://join.slack.com/t/cuelang/shared_invite/enQtNzQwODc3NzYzNTA0LTAxNWQwZGU2YWFiOWFiOWQ4MjVjNGQ2ZTNlMmIxODc4MDVjMDg5YmIyOTMyMjQ2MTkzMTU5ZjA1OGE0OGE1NmE).
167-
- Subscribe to our [Community Calendar](https://cuelang.org/s/community-calendar) for community calls, demos, office hours, etc
151+
- Chat with us on [Slack](https://join.slack.com/t/cuelang/shared_invite/enQtNzQwODc3NzYzNTA0LTAxNWQwZGU2YWFiOWFiOWQ4MjVjNGQ2ZTNlMmIxODc4MDVjMDg5YmIyOTMyMjQ2MTkzMTU5ZjA1OGE0OGE1NmE) and [Discord](https://discord.gg/Tnf2CdzRjr)
152+
- Subscribe to our [Community Calendar](https://cuelang.org/s/community-calendar) for community updates, demos, office hours, etc
168153

169154
---
170155

171156
Unless otherwise noted, the CUE source files are distributed
172157
under the Apache 2.0 license found in the LICENSE file.
173-

0 commit comments

Comments
 (0)