Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1.0 #128

Merged
merged 4 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Preview
name: GitHub Release

on:
push:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release Preview ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: true

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## Security

## [0.0.4]

### Added

- Experimental release of [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) 🎉

## [0.0.3]

### Added

- "Cody Settings" in user options. [pull/118](https://github.com/sourcegraph/cody-vs/pull/118)


## [0.0.2]

### Added
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Cody for Visual Studio

🚧 [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) is currently in private preview.

**It is intended for testing purposes only and may not be suitable for production use.**
Install [Cody for Visual Studio (Experimental)](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).

## AI that uses your codebase as context

Expand All @@ -24,7 +22,7 @@ For example, you can ask Cody:
## Choose Your LLM

Cody offers a variety of large language models (LLMs) to power your chat experience.
Cody Pro users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from Claude 3.5 Sonnet,Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, Google Gemini 1.5 Pro, Gemini 1.5 Flash, and Mixtral, while Cody Free users have access to the latest base models from Anthropic, OpenAI, Google, and Mixtral.
Cody Pro users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, Google Gemini 1.5 Pro, Gemini 1.5 Flash, and Mixtral, while Cody Free users have access to the latest base models from Anthropic, OpenAI, Google, and Mixtral.
Local models are also available through Ollama to both Cody Free and Cody Pro users. Simply download the model and run it in Ollama to use it in Cody chat.

Administrators for Sourcegraph Enterprise instances can choose between Claude and GPT models to set for their teams as well.
Expand All @@ -37,12 +35,6 @@ You can find detailed information about Cody's available plans [on our website](

### Feedback

As the extension is currently in preview, here are what to expect:

- You might encounter bugs or unexpected behavior
- Features and user interface are subject to change
- The extension has limited functionality compared to the VS Code extension

We appreciate your feedback as we work to improve Cody for Visual Studio. Please report any issues or suggestions through our official channels:

- Use the <kbd>👍</kbd>/<kbd>👎</kbd> buttons in the chat view to give feedback.
Expand Down
4 changes: 2 additions & 2 deletions docs/dev/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Follow these steps to publish a new release to the [Visual Studio Marketplace](h

1. **Coordinate with Marketing**: Contact the Marketing team in the Cody Slack channel approximately 2 days before the release to ensure a blog post is prepared.
2. **Update Extension Package Version**: Increment the version in [source.extension.vsixmanifest](../../src/Cody.VisualStudio/source.extension.vsixmanifest) and [CHANGELOG.md](../../CHANGELOG.md).
3. **Commit the Version Changes**: Commit the version increment with a message with `git commit -m VS Code: Release vX.Y.Z`
3. **Commit the Version Changes**: Commit the version increment with a message with `git commit -m Release vX.Y.Z`
4. **Create Pull Request**: Open a PR with the updated version.
5. **Tag the Release**: After the PR is merged (stable release only), create a git tag: `git tag vX.Y.Z`
6. **Push the Tag**: Push the tag to the remote repository to trigger the [Release Preview workflow](https://github.com/sourcegraph/cody-vs/actions/workflows/release-preview.yml): `git push --tags`
6. **Push the Tag**: Push the tag to the remote repository to trigger the [Release workflow](https://github.com/sourcegraph/cody-vs/actions/workflows/release-preview.yml): `git push --tags`
7. **Monitor Publication**: Once the workflow run is complete:
- The new version of the extension will be published to the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
- A release will be created on GitHub with the release notes.
Expand Down
2 changes: 1 addition & 1 deletion docs/limitation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Known Limitations

The extension is currently in preview:
The extension is currently in experimental mode and has several limitations. The following list outlines the known limitations in the current version of the extension:

- You might encounter bugs or unexpected behavior
- Features and user interface are subject to change
Expand Down
12 changes: 6 additions & 6 deletions docs/qa/Testing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testing Cody for Visual Studio

**NOTE:** Cody for Visual Studio is currently in Preview and may have limited functionality compared to the VS Code version.
**NOTE:** Cody for Visual Studio is currently experimental and may have limited functionality compared to the VS Code version.

This test plan outlines the comprehensive testing procedures for Cody in Visual Studio.

Expand All @@ -14,24 +14,24 @@ Before beginning the test plan, ensure you have:
- Supported versions: Community, Professional, and Enterprise
- [ ] A codebase with a Visual Studio solution file
- To create a new solution project, follow the instructions in the [Create a solution documentation](https://learn.microsoft.com/en-us/visualstudio/get-started/tutorial-projects-solutions?view=vs-2022#create-a-solution)
- [ ] Preview version of [Cody for Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) installed
- [ ] Latest version of [Cody for Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) installed

**IMPORTANT:** Cody requires an open solution in Visual Studio to provide context-aware responses. Ensure you have a solution project opened before testing Cody features.

## Installing Cody for Visual Studio (Preview)
## Installing Cody for Visual Studio (Experimental)

To install the preview version of Cody for Visual Studio:
To install Cody for Visual Studio from GitHub Release Page:

1. Visit the [GitHub Releases Page](https://github.com/sourcegraph/cody-vs/releases)
2. Download `Cody.VisualStudio.vsix` from the latest release's **Assets** section
3. Close `Visual Studio`
4. Double-click the downloaded file to install the extension

As this is a preview version, you may encounter bugs or limitations. Please report any issues on the [GitHub repository](https://github.com/sourcegraph/cody-vs/issues).
Please report any issues on the [GitHub repository](https://github.com/sourcegraph/cody-vs/issues).

### Public Release Version

Once generally available, the extension will be on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
The extension is also available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).

1. Open Visual Studio.
2. Go to `Extensions` > `Manage Extensions`.
Expand Down
2 changes: 1 addition & 1 deletion src/Cody.VisualStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Cody.VisualStudio" Version="0.0.3" Language="en-US" Publisher="sourcegraph" />
<Identity Id="Cody.VisualStudio" Version="0.0.4" Language="en-US" Publisher="sourcegraph" />
<DisplayName>Cody for Visual Studio - AI Coding Assistant</DisplayName>
<Description xml:space="preserve">AI coding assistant that uses search and codebase context to help you write code faster!</Description>
<MoreInfo>https://sourcegraph.com/cody</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion src/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var nodeBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.1
var nodeArmBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.12.2/node-win-arm64.exe";

// The latest tag of the stable release from the cody repository https://github.com/sourcegraph/cody/tags
var codyStableReleaseTag = "vscode-v1.38.1";
var codyStableReleaseTag = "vscode-v1.40.0";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var codyStableReleaseTag = "vscode-v1.40.0";
var codyStableReleaseTag = "vscode-v1.40.0";

Update this value to the commit hash or version tag used in the cody main repo if needed

var codyBranch = Argument("cody-branch", codyStableReleaseTag);

var marketplaceToken = EnvironmentVariable("CODY_VS_MARKETPLACE_RELEASE_TOKEN");
Expand Down
Loading