Skip to content

Commit

Permalink
Merge pull request #645 from OZI-Project/bugfix/patch
Browse files Browse the repository at this point in the history
Bugfix/patch
  • Loading branch information
rjdbcm authored Jun 10, 2024
2 parents 544677c + 7dbd7ac commit 38206c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
..
# vim: set ft=restructuredtext

.. OZI
Classifier: License-Expression :: Apache-2.0 WITH LLVM-exception
Classifier: License-File :: LICENSE.txt
Expand Down
1 change: 1 addition & 0 deletions ozi/fix/build_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def process(
file
for file in os.listdir(target / rel_path)
if os.path.isfile(target / rel_path / file)
and not os.path.islink(target / rel_path / file)
]
found_files = found_files if found_files else []
extra_files = list(set(extra_files).symmetric_difference(set(found_files)))
Expand Down
6 changes: 5 additions & 1 deletion ozi/new/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ def create_project_files(
project.allow_file = set(map(Path, project.allow_file))
project.ci_user = render_ci_files_set_user(env, project.target, project.ci_provider)
render_project_files(env, project.target, project.name)

if project.ci_provider == 'github':
Path(
project.target,
f'README.{project.readme_type}',
).symlink_to(Path(project.target, 'README'))

def _valid_project(project: Namespace) -> Namespace:
"""Validate a project namespace."""
Expand Down

0 comments on commit 38206c2

Please sign in to comment.