Issue #3396 open

Support multiple programming languages associated with repository (BB-3271)

Graf Theory
created an issue

Since projects so often have components in multiple programming languages, it would be nice if one could tag a repository with a list of languages instead of just one.

Comments (31)

  1. David Chambers

    Agreed. We plan to do this at some stage, but it's not as important as a number of other features so I certainly wouldn't expect to see it within the next six months.

  2. Nikola Yovchev

    +1 A nice "sugar" would be to have a widget or something like that which calculates how much of each language was used on your repo a la Github. For example:

    Java: 80%,
    Javascript: 10%,
    Groovy: 10%
  3. Jon Hanna

    +1 to the original.

    The automatic detection I'm not sure of. I have a repository for a project that is in CIL (or as it's known to Bitbucket, "Other") with NUnit tests in C♯ (or as it's known to Bitbucket, "C#").

    Unless such automatic detection could distinguish test code from actual code meant to do stuff, my 100% CIL project having vastly more C♯ than CIL in the repository, would be listed as C# to represent C♯, rather than as Other to represent CIL. This would be incorrect.

  4. diosney

    Jonathan Beavers Hanna: Well, the Github functionality works quite well, don't you think? It doesn't categorize the project below only one language but instead it gives % for each language. Bitbucket could implement such a feature plus its current feature that categorizes a top laguange.

  5. Qix

    diosney One thing I don't like about GitHub's language calculations is that, especially starting out, a repo can easily be pinned as Shell, for instance, when some of the preliminary commits are shell scripts for build/test/deployment when in reality the project will progress into another language. GitHub only really does the calculations once every couple of days it seems, and as I am a perfectionist when it comes to repo-statistics it's irritating to see that.

    It'd be nice to still have the statistics but be able to explicitly say what the repository is for.

    As for the original enhancement, I have seen (as well as owned) multiple multi-repo projects (that translate into teams here on BitBucket) with a central repo housing the submodules for the rest of them. That central repo doesn't really have a single language (other than maybe a few build scripts) but the repository still requires a language.

    It'd be nice if we could specify multiple languages, and it would be even cooler if referenced submodules would be factored into language statistics calculations and could even be broken down / expanded under one section to see total statistics.

    Just some thoughts :) +1

  6. diosney

    Qix Yeah, I ran into the calculations issue myself several times and its pretty annoying. Maybe by adding a control in the repo settings to let admins refresh it can solve this? (I don't know if it will be good as a performance POV).

  7. Karthik K

    A mod has hinted in a previous comment that this feature might be implemented. It has been about 3 years since then. Is Bitbucket getting this feature or not?

  8. Log in to comment