Add repo level configuration item to disable online editor (BB-9393)

Steve Muskiewicz avatarSteve Muskiewicz created an issue

Our development environment has some requirements as far as source code checking/formatting and test automation.

As such, we would like to avoid giving anyone the option of using the Bitbucket online editor to directly edit files in the remote repo.

Would it be possible to add a repo-level configuration setting to disable the online editor in all places (source tab, pull requests, any other source viewers) where it is normally available for that repo?

Comments (3)

  1. Brian Nguyen

    Hi Steve,

    Thanks for raising an issue with us. I have added this to our backlog, however so that we can better understand the issue, could you tell us how your environment protects agains checking/formatting and tests? For example, Do you run pre-commit hooks on each developers' machine?

    The reason why I am asking, is to see if this issue is actually part of a larger feature request.

    Cheers, Brian

  2. Steve Muskiewicz

    Hmmm...I guess replying to this issue via email didn't actually work so here's the text of my reply again for the record:

    Hi Brian,

    Thanks for getting back so quickly.

    We're not actually using any pre-commit hooks or anything linked with Git, just some plugins in our Spring Tool Suite (ie. eclipse) IDE. (Checkstyle is one and there may be a couple others)

    Plus some of our developers are still learning Git so having something that actually changes a file contents on a remote branch is another potential point of confusion we'd like to avoid.

    Let me know if you have any other questions

    Cheers, -steve

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.