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

Integration of Azure DevOps datapath #199

Closed
fleroyener opened this issue Apr 11, 2024 · 4 comments
Closed

Integration of Azure DevOps datapath #199

fleroyener opened this issue Apr 11, 2024 · 4 comments
Labels

Comments

@fleroyener
Copy link

Describe the feature

Add an automatic datapath to use SWE-agent on Azure Devops repos.

Steps to tests :

  1. Set AZURE_DEVOPS_TOKEN to Personal Access Token (PAT) in keys.cfg
    AZURE_DEVOPS_TOKEN=$AZURE_DEVOPS_PAT
  2. Run following command:
python run.py --model_name azure:gpt4 \
  --data_path https://dev.azure.com/ORGANIZATION/PROJECT/_workitems/edit/WORK_ITEM_ID/ \
  --az_repo REPO_NAME \
  --config_file config/default_from_url.yaml

REPO_NAME: the repo name only (must be in same project) ex: 'SWE-agent'
data_path: Work item URL

Potential Solutions

I will create a PR

@klieret
Copy link
Member

klieret commented Apr 11, 2024

Hi @fleroyener . Thanks for the request and the PR, it looks like a lot of work went into this. I'm currently in the process of doing some refactoring to run on local repositories (see #43), so expect some merge conflicts in #200.

I also need to discuss with the team how general we want to be.

Working with the local repository should fit all use cases (including yours, especially because yours won't support the --open-pr mechanic or similar yet, so there's not too much difference from working locally). So I'm not yet sure if we can merge #200 or when.

@klieret klieret added the ▼ prio: low Low priority label Apr 11, 2024
@fleroyener
Copy link
Author

Hi @klieret, understood.
I'm waiting too for local repository feature, i agree this will fit all use case.
I will watch this feature and if help is needed so i can contribute.

I'm watching your PR right now 👍

@klieret
Copy link
Member

klieret commented Oct 10, 2024

(resolved with local repository feature -- we want to avoid increasing the maintenance burden of things like azure devops/gitlab etc., so we're currently not planning to add support for these directly -- though we hope to provide better APIs soon, so that people can build support themselves if needed)

@klieret klieret closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
@ofirpress
Copy link
Member

sgtm, ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants