3130 Commits

Author SHA1 Message Date
Niraj Tolia
71f04fa8d0
Tweak config settings and apply Corso docs fixes (#59)
- Disable the readability style checker for now
- Remove all errors and warnings with the fixed Vale globbing
- Rename template directory
2022-05-20 10:28:40 -07:00
Niraj Tolia
930d9bd132
Internal docs (#58)
* Move CLI abstract
* Add docs index for Corso dev resources
* Tweak CLI proposal title
2022-05-19 16:27:01 -07:00
Keepers
5f8d040b40
adds docs/CLI.md (#28)
* adds docs/CLI.md

Introduces the cli command documentation.

* extending cli.md with design discussion

* migrate cli.md into docusaurus docs (#11)

Move the CLI.md file into docusaurus so that it appears
as part of the documentation page.

* remove cli version, settings.json (#11)

Remove /.vscode/settings.json and the versioning info from
/docs/cli.md.
2022-05-19 16:08:01 -06:00
Keepers
2ae4f4cdcb
introduce repository api scaffold with s3 (#6) (#54)
* introduce repository api scaffold with s3 (#6)

introduces the public repository package in /pkg, with a
skeleton implementation for generating the s3 provider config
and boilerplate for where that usage gets centralized.

* condense init/connect to single action

A double-pass NewRepo() && Connect() allows Repository structs
to exist independent guarantees that their usage will be successful.
This hides the struct generation within the Connect and Initialize
funcs so that the construction and guarantees can occur as
a single process.
2022-05-19 16:05:33 -06:00
Niraj Tolia
c3c3613a71
Docs: Allow for a clean run of make check (#57) 2022-05-19 14:32:30 -07:00
Niraj Tolia
49aa63c349
Remove sample docs (#56) 2022-05-19 13:32:03 -07:00
Niraj Tolia
b903d962d3
Add Markdown linting (#52)
- Also renames `make vale` to `make check`
- Addresses a part of #15
2022-05-19 10:45:31 -07:00
Niraj Tolia
5f7f5736ed
Add docs and commands to setup the container image (#49) 2022-05-19 10:29:25 -07:00
Niraj Tolia
038d94b818
Add Vale linting to docs (#47)
* Add vale to docs build image

* Add Vale config and style guides

* Add Vale to Makefile
2022-05-18 14:45:25 -07:00
Niraj Tolia
8812f4bc9b
Customize options for Corso (#48)
Uses a Noun project icon for now. Color #776A60 used with
https://thenounproject.com/icon/cane-corso-4559376/

Co-authored-by: Vaibhav Kamra <vkamra@alcion.ai>
2022-05-18 14:22:38 -07:00
Vaibhav Kamra
1e65e2f120
Add go-licenses check to CI (#50)
Runs github.com/google/go-licenses
2022-05-18 14:19:53 -07:00
Niraj Tolia
ad15968837
Add docs template (#40)
* Add Dockerfile and Makefile for docs

* New Docusaurus project

* Remove blog from docs

* Add missing package-lock.json

* .PHONY
2022-05-16 22:44:49 -07:00
ashmrtn
4ac3aa08f0
Fix building base image on Mac. (#22)
Mac uses low group IDs for the default user, which would cause groupadd
to fail as the group already existed. Only make a new group if it
doesn't already exist.

This does raise other questions though as now we are technically having
the container run with a "services" group.
2022-05-09 17:20:03 -07:00
Keepers
82c9a1f182
Add 'repo' cli command set (#31)
Adds the 'repo' command and its primary subcommands to the
Corso cli command list.
2022-05-09 16:15:07 -06:00
Keepers
a352ddf8a1
add coba and cli to corso (#30)
Adds the spf13/cobra cli handling package.  Main() now
processes cli commands defined by the /cli package.
2022-05-09 13:36:44 -06:00
Vaibhav Kamra
ee37e62927
Add gofmt to ci steps (#16)
This commit has the following changes:

- Rename unitTests.yml to ci.yml
- Add a step to run gofmt
2022-05-09 10:47:43 -07:00
ashmrtn
32f14df60e
Merge pull request #8 from alcionai/docker-image
Build environment docker image
2022-05-04 13:27:19 -07:00
Ashlie Martinez
8ff89367d5 Maybe this time... 2022-05-03 17:00:27 -07:00
Ashlie Martinez
17fde7300a Really change workflow directory now? 2022-05-03 16:57:17 -07:00
Ashlie Martinez
b78675e821 Change where workflow points to. 2022-05-03 16:51:58 -07:00
Ashlie Martinez
0734a990d2 Move/update gomode file.
Now reflects the fact that this will be cloned from github. Also place
in source directory so that all packages in the project don't need to be
`src/foo`.
2022-05-03 16:12:30 -07:00
Ashlie Martinez
548ffb02ec Simple shell script to run dev container.
* Mounts the current repo's code in the proper golang path in the
  container
* Container will be destroyed when container is exited
* User will start in the repo's code directory in the container
2022-05-03 15:44:14 -07:00
Ashlie Martinez
9522a33ebe Script file to build a basic dev container image.
* New container will have deps known at the time the container was made
  * If deps change a lot, rebuild/save current container image as deps
    are outside the directory mount
* Deps are not explicitly listed in the container Dockerfile or script
  as go mod is expected to manage them for us
* Automatically creates a container user with UID/GID of the current
  user to avoid file ownership issues
2022-05-03 15:39:53 -07:00
Ashlie Martinez
6d9d4dc8c7 Add some information of note for later scripts.
Mostly using bash filepath mangling and known values to build up
information used to find the proper locations of golang code in a
container.
2022-05-03 15:38:43 -07:00
Ashlie Martinez
0af5f2f141 Very basic golang docker with new user.
* Expects go get/go mod to be used to handle application dependencies
* Expects users to use a volume mount to make code visible to the
  container
* Add a user (with the option of having the same UID/GID as current
  user) to avoid weird file owners when building things in the container
  as golang usually runs as root
2022-05-03 15:31:23 -07:00
Keepers
7502370f17
Merge pull request #2 from alcionai/init-actions
initializing directory structure and github actions
2022-05-03 08:46:34 -06:00
Niraj Tolia
483bb3ed27
Merge pull request #4 from alcionai/coc
Add Code of Conduct (CoC)
2022-05-02 14:12:14 -07:00
Niraj Tolia
98921ea534 Add Code of Conduct (CoC) 2022-04-29 13:24:42 -07:00
ryanfkeepers
6d1b8325e5 initializing directory structure and github actions 2022-04-27 17:49:17 -06:00
ryanfkeepers
150d89e738
Initial commit 2022-04-27 09:47:45 -06:00