Why is this ps1 file being downloaded from my HG repository?

3 answers

We determine file contents based on extension. Because this ps1 extension is not recognised, it is not assumed to be viewable in the Source Browser.

We have a feature request to address this here: https://bitbucket.org/site/master/issue/5453/powershell-module-manifest-file-psd1-are

Sounds like Jeroen should submit a feature request at jira.atlassian.comto add this extension as "recognized".

What does it matter how it's downloaded? You still get the file, don't you?

Because I want to refer to the URL from my blog so my blog users can view the file.

I could make a gist out of it, but then I'd need to make 3 gists, which is exactly not the thing I want to do when a file is under revision control.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,838 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you