Dataset Viewer
in_source_id
string | before_files
list | after_files
list | pr_diff
string |
---|---|---|---|
conda-forge__conda-smithy-864 | [
{
"content": "",
"path": "conda_smithy/vendored/__init__.py"
}
] | [
{
"content": "\n",
"path": "conda_smithy/vendored/__init__.py"
}
] | diff --git a/.gitignore b/.gitignore
index 4f4b3b35c..5761ca997 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,9 @@ dist/
# Rever
rever/
+
+# Notepad++ files
+nppBackup/
+
+# Pytest dirs/files
+.pytest_cache/
diff --git a/conda_smithy/templates/README.md.tmpl b/conda_smithy/templates/README.md.tmpl
index 662b86f9e..2cfd535bb 100644
--- a/conda_smithy/templates/README.md.tmpl
+++ b/conda_smithy/templates/README.md.tmpl
@@ -136,3 +136,4 @@ In order to produce a uniquely identifiable distribution:
* If the version of a package **is** being increased, please remember to return
the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string)
back to 0.
+{# this comment ensures a trailing newline #}
diff --git a/conda_smithy/vendored/__init__.py b/conda_smithy/vendored/__init__.py
index e69de29bb..8b1378917 100644
--- a/conda_smithy/vendored/__init__.py
+++ b/conda_smithy/vendored/__init__.py
@@ -0,0 +1 @@
+
diff --git a/news/fix-no-newline.rst b/news/fix-no-newline.rst
new file mode 100644
index 000000000..dbd5462fc
--- /dev/null
+++ b/news/fix-no-newline.rst
@@ -0,0 +1,3 @@
+**Fixed:**
+
+* Fix missing newline in last line of generated readmes and add unit test for it (#864)
diff --git a/tests/recipes/click-test-feedstock/README.md b/tests/recipes/click-test-feedstock/README.md
index 3b8f66040..37a014e57 100644
--- a/tests/recipes/click-test-feedstock/README.md
+++ b/tests/recipes/click-test-feedstock/README.md
@@ -103,4 +103,4 @@ In order to produce a uniquely identifiable distribution:
the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string).
* If the version of a package **is** being increased, please remember to return
the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string)
- back to 0.
\ No newline at end of file
+ back to 0.
diff --git a/tests/test_configure_feedstock.py b/tests/test_configure_feedstock.py
index 1fd6e41d1..e98233b10 100644
--- a/tests/test_configure_feedstock.py
+++ b/tests/test_configure_feedstock.py
@@ -222,3 +222,14 @@ def test_render_windows_with_skipped_python(python_skipped_recipe, jinja_env):
matrix_dir = os.path.join(python_skipped_recipe.recipe, '.ci_support')
# matrix has 2.7, 3.5, 3.6, but 3.6 is skipped. Should be 2 entries.
assert len(os.listdir(matrix_dir)) == 2
+
+
+def test_readme_has_terminating_newline(noarch_recipe, jinja_env):
+ cnfgr_fdstk.render_README(jinja_env=jinja_env,
+ forge_config=noarch_recipe.config,
+ forge_dir=noarch_recipe.recipe)
+ readme_path = os.path.join(noarch_recipe.recipe, 'README.md')
+ assert os.path.exists(readme_path)
+ with open(readme_path, 'rb') as readme_file:
+ readme_file.seek(-1, os.SEEK_END)
+ assert readme_file.read() == b'\n'
|
microsoft__AzureTRE-1754 | [
{
"content": "__version__ = \"0.2.28\"\n",
"path": "api_app/_version.py"
}
] | [
{
"content": "__version__ = \"0.3.0\"\n",
"path": "api_app/_version.py"
}
] | diff --git a/api_app/_version.py b/api_app/_version.py
index 968391a2db..493f7415d7 100644
--- a/api_app/_version.py
+++ b/api_app/_version.py
@@ -1 +1 @@
-__version__ = "0.2.28"
+__version__ = "0.3.0"
diff --git a/resource_processor/version.txt b/resource_processor/version.txt
index 6852ddf8f7..493f7415d7 100644
--- a/resource_processor/version.txt
+++ b/resource_processor/version.txt
@@ -1 +1 @@
-__version__ = "0.1.22"
+__version__ = "0.3.0"
diff --git a/templates/shared_services/firewall/porter.yaml b/templates/shared_services/firewall/porter.yaml
index 4b64405355..2f3fc2bed0 100644
--- a/templates/shared_services/firewall/porter.yaml
+++ b/templates/shared_services/firewall/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-shared-service-firewall
-version: 0.0.7
+version: 0.3.0
description: "An Azure TRE Firewall shared service"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/shared_services/gitea/porter.yaml b/templates/shared_services/gitea/porter.yaml
index 39c3b39254..12085e792f 100644
--- a/templates/shared_services/gitea/porter.yaml
+++ b/templates/shared_services/gitea/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-shared-service-gitea
-version: 0.0.5
+version: 0.3.0
description: "A Gitea shared service"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/shared_services/gitea/version.txt b/templates/shared_services/gitea/version.txt
index 9cb17e7976..493f7415d7 100644
--- a/templates/shared_services/gitea/version.txt
+++ b/templates/shared_services/gitea/version.txt
@@ -1 +1 @@
-__version__ = "0.1.8"
+__version__ = "0.3.0"
diff --git a/templates/shared_services/sonatype-nexus/porter.yaml b/templates/shared_services/sonatype-nexus/porter.yaml
index 150565da27..8e22c5a6f3 100644
--- a/templates/shared_services/sonatype-nexus/porter.yaml
+++ b/templates/shared_services/sonatype-nexus/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-shared-service-nexus
-version: 0.0.2
+version: 0.3.0
description: "A Sonatype Nexus shared service"
registry: azuretre
credentials:
diff --git a/templates/workspace_services/azureml/porter.yaml b/templates/workspace_services/azureml/porter.yaml
index cdffe945ba..e5b4340c26 100644
--- a/templates/workspace_services/azureml/porter.yaml
+++ b/templates/workspace_services/azureml/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-azureml
-version: 0.1.9
+version: 0.3.0
description: "An Azure TRE service for Azure Machine Learning"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/azureml/user_resources/aml_compute/porter.yaml b/templates/workspace_services/azureml/user_resources/aml_compute/porter.yaml
index ac905db7fe..45d1c56b79 100644
--- a/templates/workspace_services/azureml/user_resources/aml_compute/porter.yaml
+++ b/templates/workspace_services/azureml/user_resources/aml_compute/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-user-resource-aml-compute-instance
-version: 0.1.1
+version: 0.3.0
description: "Azure Machine Learning Compute Instance"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/devtestlabs/porter.yaml b/templates/workspace_services/devtestlabs/porter.yaml
index 8fa596d432..9e9767a23e 100644
--- a/templates/workspace_services/devtestlabs/porter.yaml
+++ b/templates/workspace_services/devtestlabs/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-devtestlabs
-version: 0.1.0
+version: 0.3.0
description: "An Azure TRE service for Dev Test Labs"
registry: azuretre
diff --git a/templates/workspace_services/gitea/porter.yaml b/templates/workspace_services/gitea/porter.yaml
index a66314a715..af5e0a60a5 100644
--- a/templates/workspace_services/gitea/porter.yaml
+++ b/templates/workspace_services/gitea/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-workspace-service-gitea
-version: 0.2.17
+version: 0.3.0
description: "A Gitea workspace service"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/gitea/version.txt b/templates/workspace_services/gitea/version.txt
index aa0be21390..493f7415d7 100644
--- a/templates/workspace_services/gitea/version.txt
+++ b/templates/workspace_services/gitea/version.txt
@@ -1 +1 @@
-__version__ = "0.2.17"
+__version__ = "0.3.0"
diff --git a/templates/workspace_services/guacamole/porter.yaml b/templates/workspace_services/guacamole/porter.yaml
index 39a0be920c..3c7d9bb30d 100644
--- a/templates/workspace_services/guacamole/porter.yaml
+++ b/templates/workspace_services/guacamole/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-guacamole
-version: 0.1.15
+version: 0.3.0
description: "An Azure TRE service for Guacamole"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/porter.yaml b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/porter.yaml
index 8c5874b840..46a3a67fdb 100644
--- a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/porter.yaml
+++ b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-guacamole-linuxvm
-version: 0.1.11
+version: 0.3.0
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml b/templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml
index 1577773cef..7c6911c456 100644
--- a/templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml
+++ b/templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-guacamole-windowsvm
-version: 0.1.11
+version: 0.3.0
description: "An Azure TRE User Resource Template for Guacamole (Windows 10)"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/guacamole/user_resources/guacamole-dev-vm/porter.yaml b/templates/workspace_services/guacamole/user_resources/guacamole-dev-vm/porter.yaml
index 75ee52e3ad..4e1cd2fd25 100644
--- a/templates/workspace_services/guacamole/user_resources/guacamole-dev-vm/porter.yaml
+++ b/templates/workspace_services/guacamole/user_resources/guacamole-dev-vm/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-dev-vm
-version: 0.1.11
+version: 0.3.0
description: "An Azure TRE User Resource Template for a Dev VM"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/guacamole/version.txt b/templates/workspace_services/guacamole/version.txt
index 970659c2b1..493f7415d7 100644
--- a/templates/workspace_services/guacamole/version.txt
+++ b/templates/workspace_services/guacamole/version.txt
@@ -1 +1 @@
-__version__ = "0.1.16"
+__version__ = "0.3.0"
diff --git a/templates/workspace_services/innereye/porter.yaml b/templates/workspace_services/innereye/porter.yaml
index c82c7b7265..e03ede698d 100644
--- a/templates/workspace_services/innereye/porter.yaml
+++ b/templates/workspace_services/innereye/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-innereye
-version: 0.1.6
+version: 0.3.0
description: "An Azure TRE service for InnerEye Deep Learning"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspace_services/mlflow/mlflow-server/version.txt b/templates/workspace_services/mlflow/mlflow-server/version.txt
index 3dc1f76bc6..493f7415d7 100644
--- a/templates/workspace_services/mlflow/mlflow-server/version.txt
+++ b/templates/workspace_services/mlflow/mlflow-server/version.txt
@@ -1 +1 @@
-__version__ = "0.1.0"
+__version__ = "0.3.0"
diff --git a/templates/workspace_services/mlflow/porter.yaml b/templates/workspace_services/mlflow/porter.yaml
index ca72784ece..ea37ca830d 100644
--- a/templates/workspace_services/mlflow/porter.yaml
+++ b/templates/workspace_services/mlflow/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-service-mlflow
-version: 0.1.0
+version: 0.3.0
description: "An Azure TRE service for MLflow machine learning lifecycle"
registry: azuretre
dockerfile: Dockerfile.tmpl
diff --git a/templates/workspaces/base/porter.yaml b/templates/workspaces/base/porter.yaml
index 32b0e652f2..e47a87d707 100644
--- a/templates/workspaces/base/porter.yaml
+++ b/templates/workspaces/base/porter.yaml
@@ -1,6 +1,6 @@
---
name: tre-workspace-base
-version: 0.2.13
+version: 0.3.0
description: "A base Azure TRE workspace"
registry: azuretre
diff --git a/templates/workspaces/innereye/porter.yaml b/templates/workspaces/innereye/porter.yaml
index d2fcba8b2e..c3bb249f64 100644
--- a/templates/workspaces/innereye/porter.yaml
+++ b/templates/workspaces/innereye/porter.yaml
@@ -1,7 +1,7 @@
---
name: tre-workspace-innereye
-version: 0.1.10
+version: 0.3.0
description: "An Azure TRE workspace with Azure Machine Learning,
Dev Test Labs and InnerEye deep learning"
registry: azuretre
|
OpenEnergyPlatform__oeplatform-1475 | [
{
"content": "__version__ = \"0.16.1\"\n",
"path": "oeplatform/__init__.py"
}
] | [
{
"content": "__version__ = \"0.16.2\"\n",
"path": "oeplatform/__init__.py"
}
] | "diff --git a/.bumpversion.cfg b/.bumpversion.cfg\nindex d51e9eadd..46cdebef9 100644\n--- a/.bumpver(...TRUNCATED) |
OCHA-DAP__hdx-ckan-1655 | [
{
"content": "hdx_version = 'v0.4.5'\n",
"path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py"
}
] | [
{
"content": "hdx_version = 'v0.4.6'\n",
"path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py"
}
] | "diff --git a/ckanext-hdx_search/ckanext/hdx_search/tests/test_search.py b/ckanext-hdx_search/ckanex(...TRUNCATED) |
OCHA-DAP__hdx-ckan-2076 | [
{
"content": "hdx_version = 'v0.5.13'\n",
"path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py"
}
] | [
{
"content": "hdx_version = 'v0.5.15'\n",
"path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py"
}
] | "diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/login.css b/ckanext-hdx_theme/ckanex(...TRUNCATED) |
sql-machine-learning__elasticdl-1463 | [
{
"content": "",
"path": "elasticdl/python/elasticdl/__init__.py"
}
] | [{"content":"from elasticdl.python.elasticdl import layers # noqa: F401\n","path":"elasticdl/python(...TRUNCATED) | "diff --git a/elasticdl/python/elasticdl/__init__.py b/elasticdl/python/elasticdl/__init__.py\nindex(...TRUNCATED) |
codespell-project__codespell-2626 | [{"content":"#! /usr/bin/env python\n\nfrom setuptools import setup\n\nif __name__ == \"__main__\":\(...TRUNCATED) | [
{
"content": null,
"path": "setup.py"
}
] | "diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml\nind(...TRUNCATED) |
django__channels-1860 | [{"content":"__version__ = \"3.0.4\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n(...TRUNCATED) | [{"content":"__version__ = \"3.0.5\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n(...TRUNCATED) | "diff --git a/CHANGELOG.txt b/CHANGELOG.txt\nindex b013f0f0a..a81f6254c 100644\n--- a/CHANGELOG.txt\(...TRUNCATED) |
MongoEngine__mongoengine-2224 | [{"content":"# Import submodules so that we can expose their __all__\nfrom mongoengine import connec(...TRUNCATED) | [{"content":"# Import submodules so that we can expose their __all__\nfrom mongoengine import connec(...TRUNCATED) | "diff --git a/docs/changelog.rst b/docs/changelog.rst\nindex b308c5fba..06eb8d0ce 100644\n--- a/docs(...TRUNCATED) |
scikit-image__scikit-image-6307 | [{"content":"__all__ = ['python_to_notebook', 'Notebook']\n\nimport json\nimport copy\nimport warnin(...TRUNCATED) | [{"content":"__all__ = ['Notebook']\n\nimport json\nimport copy\nimport warnings\n\n\n# Skeleton not(...TRUNCATED) | "diff --git a/doc/ext/notebook_doc.py b/doc/ext/notebook_doc.py\nindex 432f1374c91..628ddd04727 1006(...TRUNCATED) |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 0