Skip to content

Commit f5fbbf6

Browse files
committed
Merge branch 'main' into fix/ambient-occlusion
2 parents d6a753e + c97f39e commit f5fbbf6

File tree

4 files changed

+95
-59
lines changed

4 files changed

+95
-59
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
b5c9a69a0cc4f18d10f261e17d2a0eba49177ea1
2+
16d7589e89d835ed98f56228748dff86e6e46b84
23
886f900ed7390e22ac6c8698eae06ad21d294309

.github/workflows/build.yml

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,85 @@ jobs:
484484
tag_name: ${{ needs.configuration.outputs.version }}
485485
files: releases/*
486486

487+
publish_gitbook:
488+
name: Publish changelog from last major build to open-blocks-docs
489+
needs: [configuration, build]
490+
runs-on: ubuntu-latest
491+
if: |
492+
github.event_name == 'push' &&
493+
github.repository == 'icosa-foundation/open-blocks' &&
494+
(github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/v'))
495+
steps:
496+
- name: "Build Changelog"
497+
id: changelog
498+
uses: mikepenz/release-changelog-builder-action@v4
499+
with:
500+
fromTag: "${{ needs.configuration.outputs.previousfullrelease }}"
501+
toTag: "${{ needs.configuration.outputs.currentrelease }}"
502+
configurationJson: |
503+
{
504+
"categories": [
505+
{
506+
"title": "## 🚀 Features",
507+
"labels": ["feature", "enhancement"]
508+
},
509+
{
510+
"title": "## 🎨 UI / UX",
511+
"labels": ["ux"]
512+
},
513+
{
514+
"title": "## 🐛 Fixes",
515+
"labels": ["fix", "bugfix"]
516+
},
517+
{
518+
"title": "## 🛠️ Infrastructure",
519+
"labels": ["infrastructure"]
520+
},
521+
{
522+
"title": "## 📦 Dependencies / Maintenance",
523+
"labels": ["dependencies", "maintenance"]
524+
},
525+
{
526+
"title": "## 💬 Uncategorized",
527+
"labels": []
528+
}
529+
],
530+
"template": "# Changelog since #{{FROM_TAG}}\n\n[Full release details](#{{RELEASE_DIFF}})\n\n#{{CHANGELOG}}\n\n",
531+
"pr_template": "- #{{TITLE}} ([PR ##{{NUMBER}}](#{{URL}}) by @#{{AUTHOR}})\n"
532+
}
533+
534+
- name: Get the current contents of the docs repository
535+
uses: actions/checkout@v4
536+
with:
537+
repository: icosa-foundation/open-blocks-docs
538+
path: open-blocks-docs
539+
ref: main
540+
fetch-depth: 0
541+
sparse-checkout: |
542+
release-history/
543+
544+
- name: Create Changelog file
545+
env:
546+
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
547+
run: |
548+
echo "$CHANGELOG" | tee open-blocks-docs/release-history/automatic-changelog.md
549+
550+
- name: Publish release notes
551+
uses: cpina/[email protected]
552+
env:
553+
SSH_DEPLOY_KEY: ${{ secrets.OPENBLOCKS_DOCS_SSH_DEPLOY_KEY }}
554+
with:
555+
source-directory: 'open-blocks-docs/release-history/'
556+
target-directory: 'release-history/'
557+
destination-github-username: 'icosa-foundation'
558+
destination-repository-name: 'open-blocks-docs'
559+
user-name: 'release-note-bot'
560+
user-email: automatic-release@icosa
561+
target-branch: main
562+
487563
publish_steam:
488564
name: Publish Steam Release
489-
needs: [build]
565+
needs: [configuration, build]
490566
if: |
491567
github.event_name == 'push' &&
492568
github.repository == 'icosa-foundation/open-blocks' &&

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
We encourage you to fork the repository; this repository does not currently
44
accept patches or contributions. See README.md for rules governing
5-
the Blocks trademark.
5+
the Blocks trademark. See https://github.com/googlevr/blocks/network for a
6+
list of active forks.
67

78
Should our contribution policy ever change, contributors will need to
89
follow a few small guidelines.
@@ -30,4 +31,4 @@ information on using pull requests.
3031
## Community Guidelines
3132

3233
This project follows
33-
[Google's Open Source Community Guidelines](https://opensource.google/conduct/).
34+
[Google's Open Source Community Guidelines](https://opensource.google/conduct/).

README.md

Lines changed: 14 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Blocks is licensed under Apache 2.0. It is not an officially supported
44
Google product. See the [LICENSE](LICENSE) file for more details.
55

6+
This repo is archived, but a list of active forks is available at
7+
https://github.com/googlevr/blocks/network
8+
69
## Trademarks
710

811
The Blocks trademark and logo (“Blocks Trademarks”) are trademarks of
@@ -18,10 +21,9 @@ For more information, read the
1821

1922
Get the Blocks open-source application running on your own devices.
2023

21-
### Prerequisites #TODO
24+
### Prerequisites
2225

23-
* [Unity 2018.4.11f1](unityhub://2018.4.11f1/7098af2f11ea)
24-
* [SteamVR](https://store.steampowered.com/app/250820/SteamVR/)
26+
* [Unity 2019.4.25f1](unityhub://2019.4.25f1/01a0494af254)
2527

2628
The code is provided as-is. Some external dependencies were removed. It will
2729
not build out of the box. Someone who is comfortable with Unity and SteamVR
@@ -46,60 +48,16 @@ open-source licensing issues. These are:
4648
* AnimatedGifEncoder32
4749
* LZWEncoder
4850

49-
## Google service API support
50-
51-
Set up Google API support to access Google services in the app.
52-
53-
### Enabling Google service APIs
54-
55-
Follow these steps when enabling Google service APIs:
56-
57-
1. Create a new project in the
58-
[Google Cloud Console](https://console.developers.google.com/).
59-
1. Enable the following APIs and services:
60-
61-
* **Google Drive API** — for backup to Google Drive
62-
* **People API** — for username and profile picture
63-
64-
Note: The name of your application on the developer console should match the
65-
name you've given the app in `App.kGoogleServicesAppName` in `App.cs`.
66-
67-
### Creating a Google API key
68-
69-
Follow these steps when creating a Google API key:
51+
## Known issues
7052

71-
1. Go to the Credentials page from the Google Cloud Console.
72-
1. Click **Create Credential** and select **API key** from the drop-down menu.
53+
OculusVR mode and reference image insertion are not currently functional in this
54+
branch.
7355

74-
### Google OAuth consent screen information
75-
76-
The OAuth consent screen asks users for permission to access their Google
77-
account. You should be able to configure it from the Credentials screen.
78-
79-
Follow these steps when configuring the OAuth consent screen:
80-
81-
1. Fill in the name and logo of your app, as well as the scope of the user data
82-
that the app will access.
83-
1. Add the following paths to the list of scopes:
84-
85-
* Google Drive API `../auth/drive.appdata`
86-
* Google Drive API `../auth/drive.file`
87-
88-
### Creating an OAuth credential
89-
90-
The credential identifies the application to the Google servers. Follow these
91-
steps to create an OAuth credential:
92-
93-
1. Create a new credential on the Credentials screen.
94-
1. Select **OAuth**, and then select **Other**. Take note of the client ID and
95-
client secret values that are created for you. Keep the client secret a
96-
secret!
97-
98-
### Storing the Google API Key and credential data
56+
## Google service API support
9957

100-
Follow these steps to store the Google API Key and credential data: #TODO
58+
Legacy code is included to connect to Google APIs for People and Drive
59+
integrations. This is not critical to the Blocks experience, but is left
60+
as a convenience for any forks that wish to make use of it with a new backend.
10161

102-
1. There is an asset in the `Assets/` directory called `Secrets` that contains
103-
a `Secrets` field. Add a new item to this field.
104-
2. Select `Google` as the service. Paste in the API key, client ID, and client
105-
secret that were generated earlier.
62+
You must register new projects and obtain new keys and credentials from the
63+
Google Cloud Console to make use of these features.

0 commit comments

Comments
 (0)