Skip to content

Commit 7f08549

Browse files
committed
feat: more new content, updates to existing pages
1 parent b59ac93 commit 7f08549

File tree

10 files changed

+122
-10
lines changed

10 files changed

+122
-10
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ header_pages:
4343
- publishing/working_with_repos.md
4444
header_links:
4545
-
46-
img: assets/images/DevRel_Logo.png
46+
img: /assets/images/DevRel_Logo.png
4747
img_alt: Oracle Developer Relations Logo
4848
url: /
4949
style: "width: 30px; height: 30px;"
@@ -52,7 +52,7 @@ header_links:
5252
url: https://developer.oracle.com
5353
-
5454
title: Repositories
55-
url: https://github.com/oracle-devrel
55+
url: https://github.com/orgs/oracle-devrel/repositories
5656

5757
minima:
5858
social_links:

_data/projects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
- name: RedBull Honda Racing and Oracle Analytics Hands-on-Lab
22
link: https://github.com/oracle-devrel/redbull-analytics-hol
33
desc: Learn machine learning the fun way, with Oracle and RedBull Honda Racing.
4-
- name: Cloud Car
5-
link: https://github.com/oracle-devrel/cloud-car
4+
- name: Eff Uno Racer
5+
link: https://github.com/oracle-devrel/eff-uno-racer
66
desc: Build an Oracle Cloud Infrastructure-controlled Raspberry Pi and Arduino powered open-wheel race car made with plastic bricks.
77
- name: Using Open Policy Agent with OCI
88
link: https://github.com/oracle-devrel/oci-pac-opa

home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h2>Featured Projects</h2>
1515
</ul>
1616

1717
<h2>Getting Started</h2>
18-
<p>Can't wait to get started? Check out our <a href="/publishing">publishing section</a> which will step you through how to get a repository, how to work with DevRel repositories, and more.</p>
18+
<p>Can't wait to get started? Check out our <a href="/publishing">publishing section</a> which will step you through how to get a repository, how to work with Oracle Developer Relations repositories, and more.</p>
1919

2020
<h2>About Us</h2>
2121
<p>Curious who we are? Why are we doing what we're doing? Why is the sky blue? Well, we won't be answering the last question, but learn more about our team <a href="about">here</a>.</p>

publishing/expectations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Before diving into getting a DevRel repo, here's what we ask (and expect) of you
1414
* Ideally there should be two or more maintainers for each repo (project). One person can't do everything (particularly the required code reviews), so having at least two maintainers is a very good idea.
1515

1616
<br><br>
17-
[< How to Publish](/publishing) \| [Getting a Repository >](/publishing/getting_a_repo)
17+
[< [Where to Publish](where_to_publish.md) \| [Getting a Repository >](/publishing/getting_a_repo)

publishing/getting_a_repo.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ title: Getting a Repository
44
permalink: /publishing/getting_a_repo
55
---
66

7+
{% include toc.md %}
8+
79
# Getting a Repository
810

911
The Developer Relations team strives to make getting a repository as easy and as fast as possible. While the process isn't perfect, it does allow you to quickly move forward.
@@ -24,8 +26,7 @@ Don't work at Oracle, but have a great idea that you'd like to collaborate with
2426

2527
## About Your New Repo
2628

27-
The repo will come with public visibility, so there's nothing special to do to publish your work. You'll be set up as a maintainer (along with the other people you've requested as maintainers). From there, you're ready to [start working with your repo](working_with_repos.md).
28-
29+
The repo will come with public visibility, so there's nothing special to do to publish your work. You'll be set up as a maintainer (along with the other people you've requested as maintainers). From there, you're ready to [start working with your repo](/working_with_our_repos).
2930

3031
<br><br>
31-
[< Expectations](/publishing/expectations) \| [Working With Our Repositories >](/working_with_our_repos)
32+
[< [Standards](standards.md) \| [Working With Our Repositories >](/working_with_our_repos)

publishing/how_we_do_it.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: page
3+
title: How We Do It
4+
permalink: /publishing/how_we_do_it
5+
---
6+
7+
# Why Share?
8+
It's true that we don't need to be sharing the what/why/how of what we do, but we're big proponents for supporting the broader open-source community. Who knows, maybe you'll find a useful nugget that might help you in your journey. We hope so!
9+
10+
# Useful GitHub Actions
11+
Here are the community-developed GitHub Actions that we use:
12+
13+
* [mshick/add-pr-comment](https://github.com/mshick/add-pr-comment)
14+
15+
This is used pretty heavily to post comments to a PR. Useful for providing feedback to the PR.
16+
17+
* [cla-assistant/github-action](https://github.com/cla-assistant/github-action)
18+
19+
This is a terrific way of making sure folks agree to a Contributor License Agreement (CLA). It's non-intrusive, easy-to-use/follow and very simple to deploy.
20+
21+
* [SonarSource/sonarcloud-github-action](https://github.com/SonarSource/sonarcloud-github-action)
22+
23+
Pretty self-explanatory, but this is for SonarCloud.io automatic scanning.
24+
25+
# Other Tools
26+
27+
#### RepoLinter
28+
[RepoLinter](https://github.com/todogroup/repolinter) is totally awesome. It allows for easy scanning of the repo and is *really* useful. Unfortunately there's no officially-supported Docker image for it, so we built our own and published it privately to our GitHub Container Registry. Not ideal, but we're not in the business of building/hosting RepoLinter containers, so decided this was probably best. For some reason it didn't build out-of-the-box, but did after modifying `Dockerfile` a bit along with a `run_repolinter.sh` script.
29+
30+
#### Scancode-Toolkit
31+
[Scancode-Toolkit](https://github.com/nexB/scancode-toolkit) is a terrific tool for detecting the license(s) used. We use for this purpose. Incidentally, it's another great tool that we had to build (and host, privately) the container for. It would be great if there was a ready-to-go (officially supported) container, but none was available. Certainly not capping on this project, as it's super useful... just deploying it was a bit more involved because of the lack of a publicly available "official" container.

publishing/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ permalink: /publishing
66

77
# Before You Start
88

9+
* [Where to Publish](where_to_publish.md)
910
* [What's Expected of You](expectations.md)
11+
* [Standards](standards.md)
1012

1113
# Getting Started
1214

1315
* [Getting a Repository](getting_a_repo.md)
1416
* [Working With Our Repositories](working_with_repos.md)
17+
18+
# Extra Credit
19+
20+
* [How We Do It](how_we_do_it.md)

publishing/standards.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: page
3+
title: Standards
4+
permalink: /publishing/standards
5+
---
6+
7+
# Repository Naming
8+
Although our repo names vary a bit, we do have a rhyme and reason with how we name repos. Here goes!
9+
10+
| Type of Content | Naming Standard | Notes |
11+
|-----------------|-----------------|-------|
12+
| Terraform Modules | `terraform-oci-<name>` | This format is needed for publishing to the [HashiCorp Terraform Module Registry](https://registry.terraform.io/browse/modules). |
13+
| DevO Content | `devo-<name>` | This is for text-based content that is going to DevO. |
14+
| Language-specific solution | `<language>-<name>` | To keep it somewhat organized, we try to group by language for many projects. Names such as `go-hello-world`, `ruby-hello-world`, etc. are just a few ideas. Clearly we're looking for more than `hello-world` projects, but you get the idea! ;)
15+
| Tool | `<name>` | There are some projects that are tools. While they *could* go under the language-specific definition above, they typically have a really cool name that we just don't feel right ruining with a language-specific prefix. This is a bit subjective, but if there's a really cool name for something, we want to keep a good thing going! |
16+
17+
# Required Repo Structure
18+
We try to focus on being flexible and easy-to-use. There is a minimum set of files and structure that we do enforce (via Actions). Rather than just surprise you, here's what we expect (at minimum):
19+
20+
```
21+
.
22+
├── .github
23+
├── .gitignore
24+
├── LICENSE
25+
└── README.md
26+
```
27+
28+
## .gitignore
29+
We expect the `.gitignore` file to ignore superfluous and extraneous "clutter" that's not necessary (things like hidden files that are not really needed, local caching files, etc.). You'll likely need to adjust the `.github` file for the language(s) and framework(s) you'll be using in your project. Customize away!
30+
31+
# Branching
32+
We do not enforce a specific branching strategy, but leave it up to each project maintainer to dictate what's best for the project. See [Working With Our Repos](/publishing/expectations) for more info.
33+
34+
# Commit/PR Comments
35+
We prefer to standardize on using [ConventionalCommits](https://www.conventionalcommits.org/en/v1.0.0/) when generating change logs and creating comments on commits, PRs, etc.
36+
37+
# Scanning of Source Code
38+
Most projects that contain source code (all but the text-only repos) are setup to be scanned by SonarCloud.io, along with a scanning status badge on the README. Feel free to use (leave) this badge in-tact, as it's a nice marker to instill confidence in your code (or to encourage you to improve it).
39+
40+
# Committing Code
41+
Do not commit directly to `main`. It won't work anyway (`main` is protected). Use Pull Requests (PRs) instead. You can do this via a fork or branch. If you're a maintainer, you can create a branch (you have permissions to do so). If you're an outside contributor (or maintainer), you may fork the project (you don't have permissions to create a branch in the repo). See [Working With Our Repos](/publishing/expectations) for more info.
42+
43+
<br><br>
44+
[< [What's Expected of You](/publishing/expectations) \| [Getting a Repository >](/publishing/getting_a_repo)

publishing/where_to_publish.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
layout: page
3+
title: Where to Publish?
4+
permalink: /publishing/where_to_publish
5+
---
6+
7+
We love content. Really - we're crazy about *good* content! Part of having lots of great content is making it accessible. After all, if you can't find it, it doesn't do anyone any good! To try to help keep our terrific content in-order, we have a couple of different options when it comes to publishing content. This page is designed to help you figure out what's best for your specific use-case.
8+
9+
Here's the "secret decoder ring" (of sorts) on where to publish:
10+
11+
| Type of Content | Platform |
12+
|-----------------|----------|
13+
| Lab / Tutorial | [developer.oracle.com](https://developer.oracle.com) |
14+
| Source Code (sample, example, tool, etc.) | [Developer Relations GitHub Organization](https://github.com/oracle-devrel) |
15+
| Blog | [blogs.oracle.com/developers](https://blogs.oracle.com/developers/) |
16+
| Series of Articles | [developer.oracle.com](https://developer.oracle.com) |
17+
18+
19+
<br><br>
20+
[< Publishing](/publishing/) \| [What's Expected of You >](/publishing/expectations)

publishing/working_with_repos.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ We prefer to standardize on using [ConventionalCommits](https://www.conventional
2525

2626
There are lots of branching strategies out there. We don't dictate how to use branches --- we leave this up to the project/repo maintainer(s) to decide how to use them. Each maintainer is able to select the branching strategy that they're most comfortable with.
2727

28+
There are many different branching strategies (this list is by no means exhaustive):
29+
30+
* [GitHub Flow](https://githubflow.github.io)
31+
* [git-flow](https://nvie.com/posts/a-successful-git-branching-model/)
32+
* [OneFlow](https://www.endoflineblog.com/oneflow-a-git-branching-model-and-workflow)
33+
2834
# Automated Checks
2935

3036
There are several checks which are setup by default. These checks must successfully pass before a merge can be made. Your repo will be set up to pass the checks.
@@ -35,12 +41,16 @@ Here's what's needed to pass:
3541

3642
You may use other licenses. However, until the project (repo) has been approved to use a non-pre-approved license, you will not be able to merge the PR (that's failing the license validation check).
3743

38-
* Include the proper copyright notice on the **first line**
44+
* Include the proper copyright notice in the **first two lines**
3945

4046
Make sure that the following code is present: `Copyright (c) 2021 Oracle and/or its affiliates.`. It's also ok to use something like `Copyright (c) 2000-2021 Oracle and/or its affiliates.` (a range of years, instead of a single year). Both will pass just fine.
4147

4248
If this is missing, warnings will be raised and a comment made on the PR (notifying you of which file(s) are missing the copyright notice).
4349

50+
* Check for required files
51+
52+
The `LICENSE`, `README.md` must be present. These are provided as part of your repo (as it's provisioned). So long as they're not removed, there should be no issues.
53+
4454
* Block changes to protected files (see below).
4555

4656
There are several files/directories that should not be modified. One Action checks to make sure that none of these files are modified in a PR --- if they are, the PR fails (and posts a comment to the PR stating why it failed).

0 commit comments

Comments
 (0)