Skip to content

Commit cb632cb

Browse files
authored
debug build scripts post modules (keybase#24696)
* debug build scripts * x * x * x * x * skip notary * x
1 parent a66861b commit cb632cb

9 files changed

Lines changed: 110 additions & 119 deletions

File tree

‎README.md‎

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Keybase [![Build Status](https://travis-ci.org/keybase/client.svg?branch=master)](https://travis-ci.org/keybase/client) [![Build status](https://ci.appveyor.com/api/projects/status/90mxorxtj6vixnum/branch/master?svg=true)](https://ci.appveyor.com/project/keybase/client-x5qrt/branch/master)
1+
## Keybase [![Build Status](https://travis-ci.com/keybase/client.svg?branch=master)](https://travis-ci.org/keybase/client) [![Build status](https://ci.appveyor.com/api/projects/status/90mxorxtj6vixnum/branch/master?svg=true)](https://ci.appveyor.com/project/keybase/client-x5qrt/branch/master)
22

3-
Hi, and welcome to the Keybase client repo. All our client apps (macOS,
3+
Hi, and welcome to the Keybase client repo. All our client apps (macOS,
44
Windows, Linux, iOS, and Android) are being actively developed in this
55
repository. Please, dig around.
66

@@ -9,23 +9,22 @@ repository. Please, dig around.
99
We'd love you to read our source code.
1010

1111
But - some of the things in this repo are explorations, and the app you build
12-
from source just *might not do what it says it's doing*. So, if you just want
12+
from source just _might not do what it says it's doing_. So, if you just want
1313
to install Keybase on your computer, you should **[monitor our releases](https://keybase.io/download)** for macOS, Linux, or Windows.
1414

1515
If you're interested in our Docker image releases, please check out **[the Docker README](packaging/linux/docker/README.md)**.
1616

1717
![Sharing](https://keybase.io/images/github/repo_share.png?)
1818

19-
2019
### Code Layout
2120

22-
* **go**: Core crypto libraries; the Keybase service; the command line client. [Learn More](go/README.md)
23-
* **shared/{android,ios}**: Android and iOS apps developed with [React Native](https://facebook.github.io/react-native/).
24-
* **shared/desktop**: Desktop application for macOS, Linux, and Windows, made with the [Electron](https://github.com/atom/electron) framework, sharing React code with react-native.
25-
* **packaging**: Scripts for releasing packages across the various platforms.
26-
* **protocol**: Defines the protocol for communication for clients to the Keybase services. Uses [Avro](http://avro.apache.org/docs/1.7.7/). [Learn More](protocol/README.md)
27-
* **media**: Icons, graphics, media for Keybase apps.
28-
* **osx**: The macOS Keybase.app, development parallel to an Electron-based application above. [Learn More](osx/README.md)
21+
- **go**: Core crypto libraries; the Keybase service; the command line client. [Learn More](go/README.md)
22+
- **shared/{android,ios}**: Android and iOS apps developed with [React Native](https://facebook.github.io/react-native/).
23+
- **shared/desktop**: Desktop application for macOS, Linux, and Windows, made with the [Electron](https://github.com/atom/electron) framework, sharing React code with react-native.
24+
- **packaging**: Scripts for releasing packages across the various platforms.
25+
- **protocol**: Defines the protocol for communication for clients to the Keybase services. Uses [Avro](http://avro.apache.org/docs/1.7.7/). [Learn More](protocol/README.md)
26+
- **media**: Icons, graphics, media for Keybase apps.
27+
- **osx**: The macOS Keybase.app, development parallel to an Electron-based application above. [Learn More](osx/README.md)
2928

3029
### Problems?
3130

@@ -44,7 +43,7 @@ We check and update both frequently.
4443

4544
### License
4645

47-
Most code is released under the New BSD (3 Clause) License. If subdirectories
46+
Most code is released under the New BSD (3 Clause) License. If subdirectories
4847
include a different license, that license applies instead.
4948

5049
### Development Guidelines
@@ -53,11 +52,11 @@ We check all git commits with pre-commit hooks generated via
5352
[pre-commit.com](http://pre-commit.com) pre-commit hooks.
5453
To enable use of these pre-commit hooks:
5554

56-
* [Install](http://pre-commit.com/#install) the `pre-commit` utility. For some common cases:
57-
* `pip install pre-commit`
58-
* `brew install pre-commit`
59-
* Remove any existing pre-commit hooks via `rm .git/hooks/pre-commit`
60-
* Configure via `pre-commit install`
55+
- [Install](http://pre-commit.com/#install) the `pre-commit` utility. For some common cases:
56+
- `pip install pre-commit`
57+
- `brew install pre-commit`
58+
- Remove any existing pre-commit hooks via `rm .git/hooks/pre-commit`
59+
- Configure via `pre-commit install`
6160

6261
Then proceed as normal.
6362

@@ -69,7 +68,6 @@ risk to do so without a review first. If your PR is successfully reviewed by a
6968
member of the Keybase team, then we will merge your commits to a branch on our
7069
primary fork and build from there.
7170

72-
7371
### Cryptography Notice
7472

7573
This distribution includes cryptographic software. The country in which you

‎browser/README.md‎

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
**Status**: Beta. Ready for public testing.
44

5-
65
## Releasing a new version
76

87
There's a handy `Makefile` that will do most of the work (assuming you have
@@ -18,12 +17,10 @@ whatever the current version is set in the `manifest.json`).
1817
Upload that file to the Chrome or Firefox extension dashboard, hit publish, and
1918
we're done.
2019

21-
2220
## Manual Install and QA
2321

2422
Build a fresh extension to load into your browsers:
2523

26-
2724
```shell
2825
$ yarn
2926
$ make
@@ -33,21 +30,20 @@ $ make
3330

3431
You can add the extension in development mode:
3532

36-
* Open Chrome to `chrome://extensions/`
37-
* Make sure "Developer mode" is checked
38-
* "Load unpacked extension..."
39-
* Open this directory
40-
33+
- Open Chrome to `chrome://extensions/`
34+
- Make sure "Developer mode" is checked
35+
- "Load unpacked extension..."
36+
- Open this directory
4137

4238
### Firefox Install
4339

4440
You can add the extension in development mode:
4541

46-
* Open Firefox to `about:debugging#addons`
47-
* "Load Temporary Add-on"
48-
* Open this directory
42+
- Open Firefox to `about:debugging#addons`
43+
- "Load Temporary Add-on"
44+
- Open this directory
4945
the extension
50-
* You can ignore the `Reading manifest: Error processing permissions...` error,
46+
- You can ignore the `Reading manifest: Error processing permissions...` error,
5147
FireFox does not support all the WebExtensions features yet.
5248

5349
### Quick QA Check
@@ -56,19 +52,18 @@ Once you have development versions of the extension in your browsers, run
5652
through the following to quickly QA any changes you have made. Check that the
5753
button appears and you can chat `joshblum` on:
5854

59-
* [keybase.io](https://keybase.io/joshblum)
60-
* [reddit](https://www.reddit.com/user/joshblum)
61-
* [HN](https://news.ycombinator.com/user?id=josh_blum)
62-
* [GitHub](https://github.com/joshblum)
63-
* [Twitter](https://twitter.com/blumua)
64-
* [Facebook](https://www.facebook.com/ccoyne77)
55+
- [keybase.io](https://keybase.io/joshblum)
56+
- [reddit](https://www.reddit.com/user/joshblum)
57+
- [HN](https://news.ycombinator.com/user?id=josh_blum)
58+
- [GitHub](https://github.com/joshblum)
59+
- [Twitter](https://twitter.com/blumua)
60+
- [Facebook](https://www.facebook.com/ccoyne77)
6561

6662
Note: Reddit is doing a large redesign and this affects the extension. If you
6763
are making any changes you should test against the old and new designs. You can
68-
toggle which experience you get by visiting https://www.reddit.com/prefs and
64+
toggle which experience you get by visiting https://www.reddit.com/prefs and
6965
selecting "Use the redesign as my default experience".
7066

71-
7267
### KBNM
7368

7469
This extension relies on `kbnm` (which lives in `../go/kbnm` of this repo). It
@@ -99,7 +94,6 @@ $ $GOPATH/bin/kbnm uninstall
9994
…
10095
```
10196

102-
10397
## License
10498

10599
This code shares the same license as the repository.

‎go/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Keybase [![Build Status](https://travis-ci.org/keybase/client.svg?branch=master)](https://travis-ci.org/keybase/client) [![Build status](https://ci.appveyor.com/api/projects/status/90mxorxtj6vixnum/branch/master?svg=true)](https://ci.appveyor.com/project/keybase/client-x5qrt/branch/master)
22

33
This repository contains the Keybase core crypto libraries, command-line
4-
utility, and local Keybase service. All code is written in the [Go
4+
utility, and local Keybase service. All code is written in the [Go
55
Language](https://golang.org), making heavy use of Go's
66
[OpenPGP](https://godoc.org/golang.org/x/crypto/openpgp) and
77
[NaCl](https://godoc.org/golang.org/x/crypto/nacl)
@@ -26,7 +26,7 @@ instructions](https://keybase.io/download).
2626
### Building
2727

2828
Here's how to build the command line client on Linux or OSX. You need to
29-
have both Git and **Go 1.9 or higher** installed. (Run `go version` to
29+
have both Git and **Go 1.15 or higher** installed. (Run `go version` to
3030
see what version you have.)
3131

3232
```bash

‎go/kbfs/README.md‎

Lines changed: 59 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -14,86 +14,86 @@ service](https://github.com/keybase/client/tree/master/go).
1414
### Architecture
1515

1616
This client allows you to mount KBFS as a proper filesystem at some
17-
mountpoint on your local device (by default, `/keybase/`). It
17+
mountpoint on your local device (by default, `/keybase/`). It
1818
communicates locally with the Keybase service, and remotely with three
1919
types of KBFS servers (block servers, metadata servers, and key
2020
servers).
2121

2222
The code is organized as follows:
2323

24-
* [cache](cache/): Generic cache data structures.
25-
* [data](data/): Data structures and logic for KBFS file and directory data.
26-
* [dokan](dokan/): Helper code for running Dokan filesystems on Windows.
27-
* [env](env/): Code to implement libkbfs.Context in terms of libkb.
28-
* [favorites](favorites/): Data structures for the favorited lists of
24+
- [cache](cache/): Generic cache data structures.
25+
- [data](data/): Data structures and logic for KBFS file and directory data.
26+
- [dokan](dokan/): Helper code for running Dokan filesystems on Windows.
27+
- [env](env/): Code to implement libkbfs.Context in terms of libkb.
28+
- [favorites](favorites/): Data structures for the favorited lists of
2929
top-level folders (TLFs) that appear under private/, public/, and
3030
team/.
31-
* [fsrpc](fsrpc/): RPC interfaces that connected clients can call in KBFS,
31+
- [fsrpc](fsrpc/): RPC interfaces that connected clients can call in KBFS,
3232
to do certain operations, such as listing files.
33-
* [idutil](idutil/): Basic data structures, interfaces, and helper
33+
- [idutil](idutil/): Basic data structures, interfaces, and helper
3434
code for dealing with identity data for users and teams.
35-
* [ioutil](ioutil/): Helper functions for I/O.
36-
* [kbfsblock](kbfsblock/): Types and functions to work with KBFS blocks.
37-
* [kbfscodec](kbfscodec/): Interfaces and types used for serialization in KBFS.
38-
* [kbfscrypto](kbfscrypto/): KBFS-specific cryptographic types and functions.
39-
* [kbfsdokan](kbfsdokan/): The main executable for running KBFS on
35+
- [ioutil](ioutil/): Helper functions for I/O.
36+
- [kbfsblock](kbfsblock/): Types and functions to work with KBFS blocks.
37+
- [kbfscodec](kbfscodec/): Interfaces and types used for serialization in KBFS.
38+
- [kbfscrypto](kbfscrypto/): KBFS-specific cryptographic types and functions.
39+
- [kbfsdokan](kbfsdokan/): The main executable for running KBFS on
4040
Windows.
41-
* [kbfsfuse](kbfsfuse/): The main executable for running KBFS on Linux
41+
- [kbfsfuse](kbfsfuse/): The main executable for running KBFS on Linux
4242
and OS X.
43-
* [kbfsgit](kbfsgit/): The main executable for the Keybase git remote helper.
44-
* [kbfshash](kbfshash/): An implementation of the KBFS hash spec.
45-
* [kbfsmd](kbfsmd/): Types and functions to work with KBFS TLF metadata.
46-
* [kbfssync](kbfssync/): KBFS-specific synchronization primitives.
47-
* [kbfstool](kbfstool/): A thin command line utility for interacting with KBFS
43+
- [kbfsgit](kbfsgit/): The main executable for the Keybase git remote helper.
44+
- [kbfshash](kbfshash/): An implementation of the KBFS hash spec.
45+
- [kbfsmd](kbfsmd/): Types and functions to work with KBFS TLF metadata.
46+
- [kbfssync](kbfssync/): KBFS-specific synchronization primitives.
47+
- [kbfstool](kbfstool/): A thin command line utility for interacting with KBFS
4848
without using a filesystem mountpoint.
49-
* [kbpagesconfig](kbpagesconfig/): Configuration code for Keybase Pages.
50-
* [kbpagesd](kbpagesd/): The main executable for Keybase Pages.
51-
* [libcontext](ldbutils/): KBFS-specific levelDB utility code.
52-
* [libcontext](libcontext/): KBFS-specific context helper code.
53-
* [libdokan](libdokan/): Library code gluing together KBFS and the
49+
- [kbpagesconfig](kbpagesconfig/): Configuration code for Keybase Pages.
50+
- [kbpagesd](kbpagesd/): The main executable for Keybase Pages.
51+
- [libcontext](ldbutils/): KBFS-specific levelDB utility code.
52+
- [libcontext](libcontext/): KBFS-specific context helper code.
53+
- [libdokan](libdokan/): Library code gluing together KBFS and the
5454
Dokan protocol.
55-
* [libfs](libfs/): Common library code useful to any filesystem
55+
- [libfs](libfs/): Common library code useful to any filesystem
5656
presentation layer for KBFS.
57-
* [libfuse](libfuse/): Library code gluing together KBFS and the FUSE
57+
- [libfuse](libfuse/): Library code gluing together KBFS and the FUSE
5858
protocol.
59-
* [libgit](libgit/): Library for git-related logic.
60-
* [libhttpserver](libhttpserver/): Library for serving KBFS files with
59+
- [libgit](libgit/): Library for git-related logic.
60+
- [libhttpserver](libhttpserver/): Library for serving KBFS files with
6161
a local HTTP server.
62-
* [libkey](libkey/): Library for managing KBFS server keys and key metadata.
63-
* [libkbfs](libkbfs/): The core logic for KBFS.
64-
* [libmime](libmime/): Library for determining the MIME types of KBFS
62+
- [libkey](libkey/): Library for managing KBFS server keys and key metadata.
63+
- [libkbfs](libkbfs/): The core logic for KBFS.
64+
- [libmime](libmime/): Library for determining the MIME types of KBFS
6565
files.
66-
* [libpages](libpages/): Library for the logic behind Keybase Pages.
67-
* [metricsutil](metricsutil/): Helper code for collecting metrics.
68-
* [redirector](redirector/): The executable that redirects user FUSe
69-
requests to the correct user KBFS mount. The redirector is usually
66+
- [libpages](libpages/): Library for the logic behind Keybase Pages.
67+
- [metricsutil](metricsutil/): Helper code for collecting metrics.
68+
- [redirector](redirector/): The executable that redirects user FUSe
69+
requests to the correct user KBFS mount. The redirector is usually
7070
mounted at `/keybase` on Linux and macOS.
71-
* [simplefs](simplefs/): A simple RPC-based interface to KBFS.
72-
* [stderrutils](stderrutils/): A simple library for dealing with
71+
- [simplefs](simplefs/): A simple RPC-based interface to KBFS.
72+
- [stderrutils](stderrutils/): A simple library for dealing with
7373
stderr on different platforms.
74-
* [sysutils](sysutils/): Library for dealing with platform-specific
74+
- [sysutils](sysutils/): Library for dealing with platform-specific
7575
systems stuff.
76-
* [test](test/): A test harness with a domain-specific test language
76+
- [test](test/): A test harness with a domain-specific test language
7777
and tests in that language.
78-
* [tlf](tlf/): Code and structures for top-level folders (TLFs).
79-
* [tlfhandle](tlfhandle/): The data structure for "Handles" to
78+
- [tlf](tlf/): Code and structures for top-level folders (TLFs).
79+
- [tlfhandle](tlfhandle/): The data structure for "Handles" to
8080
top-level folders (TLFs), which represent an identifier for each
8181
TLF, containing all the user or team IDs associated with the it.
8282

8383
### Status
8484

8585
KBFS currently works on both Linux (at least Debian, Ubuntu and Arch),
86-
OS X, and Windows. It is approaching release ready, though currently
87-
it is still in alpha. There may still be bugs, so please keep backups
88-
of any important data you store in KBFS. Currently our pre-built
86+
OS X, and Windows. It is approaching release ready, though currently
87+
it is still in alpha. There may still be bugs, so please keep backups
88+
of any important data you store in KBFS. Currently our pre-built
8989
packages are available by invitation only.
9090

9191
KBFS depends in part on the following awesome technologies to present
9292
a mountpoint on your device:
9393

94-
* [FUSE](https://github.com/libfuse/) (on Linux)
95-
* [FUSE for OS X](https://osxfuse.github.io/) (on OS X)
96-
* [Dokany](https://github.com/dokan-dev/dokany) (on Windows)
94+
- [FUSE](https://github.com/libfuse/) (on Linux)
95+
- [FUSE for OS X](https://osxfuse.github.io/) (on OS X)
96+
- [Dokany](https://github.com/dokan-dev/dokany) (on Windows)
9797

9898
See [our vendor directory](vendor/) for a complete list of open source
9999
packages KBFS uses.
@@ -106,12 +106,12 @@ Currently, our server implementations are not open source.
106106

107107
Prerequisites:
108108

109-
* [Go 1.7](https://golang.org/dl/) or higher.
110-
* A running Keybase client service (see [instructions](https://github.com/keybase/client/tree/master/go)).
111-
* On OS X, you may have to [install FUSE yourself](https://osxfuse.github.io/).
112-
* You may need to pass the `--use-system-fuse` flag to `kbfsfuse` if
109+
- [Go 1.15](https://golang.org/dl/) or higher.
110+
- A running Keybase client service (see [instructions](https://github.com/keybase/client/tree/master/go)).
111+
- On OS X, you may have to [install FUSE yourself](https://osxfuse.github.io/).
112+
- You may need to pass the `--use-system-fuse` flag to `kbfsfuse` if
113113
you install FUSE yourself.
114-
* Then, mount KBFS at `/keybase/` as follows:
114+
- Then, mount KBFS at `/keybase/` as follows:
115115

116116
```bash
117117
cd kbfsfuse
@@ -122,7 +122,7 @@ Prerequisites:
122122

123123
Note that our pre-built packages for OS X include a branded version of
124124
FUSE for OS X, to ensure that it doesn't conflict with other local
125-
FUSE installations. It is still open source -- see
125+
FUSE installations. It is still open source -- see
126126
[here](https://github.com/keybase/client/blob/master/osx/Fuse/build.sh)
127127
to see how we build it.
128128

@@ -133,7 +133,7 @@ See our [kbfsdokan](kbfsdokan/) documentation.
133133
#### On FreeBSD:
134134

135135
There are instructions for getting KBFS running on FreeBSD
136-
[here](https://wiki.freebsd.org/Ports/security/kbfs). This is a
136+
[here](https://wiki.freebsd.org/Ports/security/kbfs). This is a
137137
user-supported effort, which is not officially supported by the
138138
Keybase team at the moment.
139139

@@ -159,7 +159,7 @@ with: "strib", "max", "chris", and "fred".)
159159

160160
### Code style
161161

162-
We require all code to pass `gofmt` and `govet`. You can install our
162+
We require all code to pass `gofmt` and `govet`. You can install our
163163
precommit hooks to make sure your code passes `gofmt` and `govet`:
164164

165165
```bash
@@ -168,7 +168,7 @@ ln -s $GOPATH/src/github.com/keybase/client/git-hooks/pre-commit $GOPATH/src/git
168168
```
169169

170170
Though it doesn't happen automatically, we also expect your code to be
171-
as "lint-free" as possible. Running golint is easy from the top-level
171+
as "lint-free" as possible. Running golint is easy from the top-level
172172
kbfs directory:
173173

174174
```bash
@@ -179,7 +179,7 @@ make lint
179179
### Vendoring
180180

181181
KBFS vendors all of its dependencies into the local `vendor`
182-
directory. To add or update dependencies, use the `govendor` tool, as
182+
directory. To add or update dependencies, use the `govendor` tool, as
183183
follows:
184184

185185
```bash
@@ -211,10 +211,8 @@ we should probably change it.)
211211

212212
### Licensing
213213

214-
Most code is released under the New BSD (3 Clause) License. If
214+
Most code is released under the New BSD (3 Clause) License. If
215215
subdirectories include a different license, that license applies
216-
instead. (Specifically, [dokan/dokan_header](dokan/dokan_header) and
216+
instead. (Specifically, [dokan/dokan_header](dokan/dokan_header) and
217217
most subdirectories in [vendor](vendor/) are released under their own
218218
licenses.)
219-
220-

0 commit comments

Comments
 (0)