-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* checklist changes for going public [AXON-26] * Codeowners * [AXON-26] home page * [AXON-26] readme * touch * touch * fix build targeting
- Loading branch information
1 parent
9af2c36
commit d7ffb4f
Showing
7 changed files
with
243 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Build | |
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '**' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Release | |
on: | ||
push: | ||
tags: | ||
- '*' | ||
- '**' | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# This is a comment. | ||
# Each line is a file pattern followed by one or more owners. | ||
|
||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedence, | ||
# @global-owner1 and @global-owner2 will be requested for | ||
# review when someone opens a pull request. | ||
* @bwieger-atlassian-com @sdzh-atlassian @cabella-dot | ||
|
||
# Order is important; the last matching pattern takes the most | ||
# precedence. When someone opens a pull request that only | ||
# modifies JS files, only @js-owner and not the global | ||
# owner(s) will be requested for a review. | ||
# EX: *.js @js-owner #This is an inline comment. | ||
|
||
# You can also use email addresses if you prefer. They'll be | ||
# used to look up users just like we do for commit author | ||
# emails. | ||
# EX: *.go [email protected] | ||
|
||
# Teams can be specified as code owners as well. Teams should | ||
# be identified in the format @org/team-name. Teams must have | ||
# explicit write access to the repository. In this example, | ||
# the octocats team in the octo-org organization owns all .txt files. | ||
# EX: *.txt @octo-org/octocats | ||
|
||
# In this example, @doctocat owns any files in the build/logs | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
# EX: /build/logs/ @doctocat | ||
|
||
# The `docs/*` pattern will match files like | ||
# `docs/getting-started.md` but not further nested files like | ||
# `docs/build-app/troubleshooting.md`. | ||
# EX: docs/* [email protected] | ||
|
||
# In this example, @octocat owns any file in an apps directory | ||
# anywhere in your repository. | ||
# EX: apps/ @octocat | ||
|
||
# In this example, @doctocat owns any file in the `/docs` | ||
# directory in the root of your repository and any of its | ||
# subdirectories. | ||
# EX: /docs/ @doctocat | ||
|
||
# In this example, any change inside the `/scripts` directory | ||
# will require approval from @doctocat or @octocat. | ||
# EX: /scripts/ @doctocat @octocat | ||
|
||
# In this example, @octocat owns any file in a `/logs` directory such as | ||
# `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes | ||
# in a `/logs` directory will require approval from @octocat. | ||
# EX: **/logs @octocat | ||
|
||
# In this example, @octocat owns any file in the `/apps` | ||
# directory in the root of your repository except for the `/apps/github` | ||
# subdirectory, as its owners are left empty. Without an owner, changes | ||
# to `apps/github` can be made with the approval of any user who has | ||
# write access to the repository. | ||
# EX: /apps/ @octocat | ||
# EX: /apps/github | ||
|
||
# In this example, @octocat owns any file in the `/apps` | ||
# directory in the root of your repository except for the `/apps/github` | ||
# subdirectory, as this subdirectory has its own owner @doctocat | ||
# EX: /apps/ @octocat | ||
# EX: /apps/github @doctocat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,18 @@ | ||
## Developer Information | ||
# Contributing to Atlassian for VS Code | ||
|
||
### Remote Debugging | ||
Thank you for considering a contribution to Atlassian for VS Code! Pull requests, issues and comments are welcome. For pull requests, please: | ||
|
||
For some tasks, it's important to be able to emulate [remote execution](https://code.visualstudio.com/docs/remote/remote-overview) of the VS Code - e.g. to reproduce or debug the behavior users observe when working in browser-based tools like Github Codespaces, or Salesforce Code Builder. | ||
* Add tests for new features and bug fixes | ||
* Follow the existing style | ||
* Separate unrelated changes into multiple pull requests | ||
|
||
VSCode provides some very helpful [documentation](https://code.visualstudio.com/api/advanced-topics/remote-extensions#debugging-extensions) on how to test and debug extensions for that environment. In short, one would need to set up Dev Containers execution as described [here](https://code.visualstudio.com/api/advanced-topics/remote-extensions#debugging-in-a-custom-development-container). | ||
See the existing issues for things to start contributing. | ||
|
||
To run `atlascode` in such a way, please follow the VSCode documentation: | ||
For bigger changes, please make sure you start a discussion first by creating an issue and explaining the intended change. | ||
|
||
- Install [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) VSCode Extension | ||
- Run `npm install` like you normally would | ||
- In VSCode, choose `Dev Containers: Rebuild and Reopen in Container` from the command pallette | ||
- Wait for the VSCode to re-open in the container evnironment - you'll be able to see the difference in the header/search bar | ||
- Proceed to run or debug the extension as usual - it will now be running as it would in remote execution | ||
Atlassian requires contributors to sign a Contributor License Agreement, known as a CLA. This serves as a record stating that the contributor is entitled to contribute the code/documentation/translation to the project and is willing to have it used in distributions and derivative works (or is willing to transfer ownership). | ||
|
||
The configuration for the Dev Container is located in [./.devcontainer/devcontainer.json](https://bitbucket.org/atlassianlabs/atlascode/src/main/.devcontainer/devcontainer.json). | ||
Prior to accepting your contributions we ask that you please follow the appropriate link below to digitally sign the CLA. The Corporate CLA is for those who are contributing as a member of an organization and the individual CLA is for those contributing as an individual. | ||
|
||
Note: for advanced use-cases, it is possible to run scripts in dev containers via [@devcontainers/cli](https://github.com/devcontainers/cli) - try `npx devcontainer --help` | ||
|
||
### Feature Flags | ||
|
||
This package uses FX3 - Atlassian's internal solution for running experiments and rolling out features. Using it requires an API key, which is not included in code as a matter of policy. | ||
|
||
If you are an Atlassian dev reading this - please look up the `atlascode` section [here](https://developer.atlassian.com/platform/frontend-feature-flags/resources/api-keys/), copy the value for the appropriate environment into `.env`, and rebuild the project. | ||
|
||
If you are an external contributor - please feel free to ignore the feature gate client initialization failure, the default configuration of the extension will work without it, as if all feature gated content were disabled. | ||
* [CLA for corporate contributors](https://opensource.atlassian.com/corporate) | ||
* [CLA for individuals](https://opensource.atlassian.com/individual) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# Atlassian for VS Code | ||
|
||
Atlassian for VS Code brings the functionality of Atlassian products to your favorite IDE! | ||
|
||
This extension combines the power of Jira and Bitbucket to streamline the developer workflow within VS Code. | ||
|
||
With Atlassian for VS Code you can create and view issues, start work on issues, create pull requests, do code reviews, start builds, get build statuses and more! | ||
|
||
**Note:** 'Atlassian for VS Code' is published as an Atlassian Labs project. | ||
Although you may find unique and highly useful functionality in the Atlassian Labs apps, Atlassian takes no responsibility for your use of these apps. | ||
|
||
## Getting Started | ||
|
||
- Make sure you have VS Code version 1.40.0 or above | ||
- Download the extension from the marketplace | ||
- Authenticate with Jira and/or Bitbucket from the 'Atlassian: Open Settings' page available in the command palette | ||
- From the command palette, type 'Atlassian:' to see all of the extensions available commands | ||
|
||
For more information, see [Getting started with VS Code](https://confluence.atlassian.com/display/BITBUCKET/Getting+started+with+VS+Code) and the related content. | ||
|
||
**Note:** Jira Service Desk projects are not fully supported at this time. | ||
|
||
## Features at a Glance | ||
|
||
Here's a quick peek at a developer's workflow: | ||
|
||
 | ||
|
||
Reviewing with Bitbucket pull request features is a snap: | ||
|
||
 | ||
|
||
Got a burning issue you'd like to work on? | ||
|
||
 | ||
|
||
Kick off your builds: | ||
|
||
 | ||
|
||
Create that issue without breaking your stride: | ||
|
||
 | ||
|
||
...and lots more | ||
|
||
## Everyone Has Issues... | ||
|
||
Please refer to [our issue tracker for known issues](https://bitbucket.org/atlassianlabs/atlascode/issues) and please contribute if you encounter an issue yourself. | ||
|
||
**Note for Server/Data Center users:** The extension supports Jira and Bitbucket versions released in the last two years, per our [end of life policy](https://confluence.atlassian.com/x/ewAID). | ||
You can find your instance's version in the footer of any Jira/Bitbucket page. | ||
|
||
### Questions? Comments? Kudos? | ||
|
||
Please use the in-app feedback form to tell us what you think! It's available from the 'Atlassian: Open Settings' and 'Atlassian: Open Welcome' pages available in the command palette. | ||
|
||
## Contributors | ||
|
||
Pull requests, issues and comments welcome. | ||
|
||
Please read our [Code of Conduct](CODE_OF_CONDUCT.md). | ||
|
||
Running and debugging the extension: | ||
|
||
- Atlassian for VS Code is a node project, as such you'll need to run `npm install` before building. | ||
- To debug the extension from within VS Code you'll need a `launch.json`. | ||
** An example `launch.json` that will be suitable for most users is included as `.vscode/launch.json.example`. | ||
** To use the example file simply copy it to `launch.json`. | ||
- Once you have a `launch.json` file select "Debug and Run" from the Activity Bar and click "Start Debugging". | ||
\*\* After the extension builds VS Code will launch a new instance of itself (the Extension Development Host) running the extension. | ||
- When you want to test your code changes | ||
** If the extension development host is still running restart by clicking ⟲ in the debug toolbar. | ||
** If you've already stopped the host just start debugging again. | ||
|
||
For pull requests: | ||
|
||
- Follow the existing style | ||
- Separate unrelated changes into multiple pull requests | ||
- Pull requests should target the `external-contributions` branch | ||
|
||
Atlassian requires contributors to sign a Contributor License Agreement, | ||
known as a CLA. This serves as a record stating that the contributor is | ||
entitled to contribute the code/documentation/translation to the project | ||
and is willing to have it used in distributions and derivative works | ||
(or is willing to transfer ownership). | ||
|
||
Prior to accepting your contributions we ask that you please follow the appropriate | ||
link below to digitally sign the CLA. The Corporate CLA is for those who are | ||
contributing as a member of an organization and the individual CLA is for | ||
those contributing as an individual. | ||
|
||
- [CLA for corporate contributors](https://na2.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=e1c17c66-ca4d-4aab-a953-2c231af4a20b) | ||
- [CLA for individuals](https://na2.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=3f94fbdc-2fbe-46ac-b14c-5d152700ae5d) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters