Skip to content

bootstrap diabetes cleanup#189

Merged
dtzar merged 6 commits into
masterfrom
diabetes-cleanup
Feb 12, 2020
Merged

bootstrap diabetes cleanup#189
dtzar merged 6 commits into
masterfrom
diabetes-cleanup

Conversation

@dtzar
Copy link
Copy Markdown
Contributor

@dtzar dtzar commented Feb 12, 2020

Rename all remaining traces of the word "diabetes" in the code base.

@dtzar dtzar requested a review from sudivate February 12, 2020 16:49
Comment thread bootstrap/README.md
@dtzar dtzar merged commit 22d2526 into master Feb 12, 2020
@dtzar dtzar deleted the diabetes-cleanup branch February 12, 2020 17:43
Comment thread bootstrap/bootstrap.py
def replaceprojectname(project_dir, project_name, rename_name):
# Replace instances of rename_name within files with project_name
dirs = [r".env.example",
r".pipelines\azdo-base-pipeline.yml",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\ won't work for xplat, might be out of scope for this PR.

Comment thread bootstrap/bootstrap.py
@@ -57,38 +57,6 @@ def deletedir(self):
os.system(
'rmdir /S /Q "{}"'.format(os.path.join(self._project_directory, dir))) # NOQA: E501
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rmdir won't work for xplat, probably out of scope for this PR.

Comment thread bootstrap/bootstrap.py

def main(args):
parser = argparse.ArgumentParser(description='New Template')
parser.add_argument("--d", type=str,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also stick to the standard of -d or --directory, same for below

Comment thread bootstrap/bootstrap.py
@@ -108,6 +76,40 @@ def validateargs(self):
raise Exception("Project name should be 3 to 15 chars long")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we're replacing more things, I think our valid set of chars might be reduced. \w and _ are probably it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants