Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented rustic CLI for the makefile #783

Merged
merged 9 commits into from
Feb 20, 2015
Merged

Conversation

standage
Copy link
Member

Resolves #775, although I admit I had to guess regarding a couple of the targets.
Let me know if I got anything wrong.

  • Is it mergable?
  • Did it pass the tests?
  • If it introduces new functionality in scripts/ is it tested?
    Check for code coverage with make clean diff-cover
  • Is it well formatted? Look at make pep8, make diff_pylint_report,
    make cppcheck, and make doc output. Use make format and manual
    fixing as needed.
  • Did it change the command-line interface? Only additions are allowed
    without a major version increment. Changing file formats also requires a
    major version number increment.
  • Is it documented in the ChangeLog?
    http://en.wikipedia.org/wiki/Changelog#Format
  • Was a spellchecker run on the source code and documentation after
    changes were made?

@ged-jenkins
Copy link

Can one of the admins verify this patch?

1 similar comment
@ged-jenkins
Copy link

Can one of the admins verify this patch?

@mr-c
Copy link
Contributor

mr-c commented Feb 19, 2015

Jenkins, add to testlist

@mr-c
Copy link
Contributor

mr-c commented Feb 19, 2015

Thanks Daniel, reviewing now.


## all : default task; show list of build commands
all: commands
Copy link
Contributor

Choose a reason for hiding this comment

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

This breaks make from compiling the code which is the number one expectation I have of a Makefile :-)

commands: Makefile
@sed -n 's/^##//p' $<

## install-dependencies : use pip to install Python module dependencies
Copy link
Contributor

Choose a reason for hiding this comment

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

'install most of the development dependencies via pip'

@mr-c
Copy link
Contributor

mr-c commented Feb 19, 2015

Jenkins, test this please

cppcheck: $(CPPSOURCES)
${CPPCHECK}

## pep8 : run static analysis on Python code
Copy link
Contributor

Choose a reason for hiding this comment

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

static analysis is a bit strong here; pep8 just enforces the style guide. pylint comes closer to static analysis

@mr-c
Copy link
Contributor

mr-c commented Feb 19, 2015

Jenkins, test this please

@standage
Copy link
Member Author

That should do it, assuming this build passes.

@@ -1,3 +1,8 @@
2015-02-19 Daniel Standage <daniel.standage@gmail.com>

* Makefile: adjust default build target (`all`) to print out a list of
Copy link
Contributor

Choose a reason for hiding this comment

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

This statement is no longer true

Copy link
Member Author

Choose a reason for hiding this comment

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

Sigh...

@mr-c
Copy link
Contributor

mr-c commented Feb 19, 2015

Jenkins, test this please

@standage
Copy link
Member Author

Now I'm getting pep8 failures unrelated to the changes I made :(

@mr-c
Copy link
Contributor

mr-c commented Feb 20, 2015

@standage Yeah, somehow they slipped in during @ctb's merge

@standage
Copy link
Member Author

Flummoxed. No pep8 errors on my MBP, Jenkins is still complaining.

@mr-c
Copy link
Contributor

mr-c commented Feb 20, 2015

Jenkins, test this please

@standage
Copy link
Member Author

Ready to merge

@mr-c
Copy link
Contributor

mr-c commented Feb 20, 2015

Very slick, thanks @standage !

mr-c added a commit that referenced this pull request Feb 20, 2015
Implemented rustic CLI for the makefile
@mr-c mr-c merged commit d89c575 into dib-lab:master Feb 20, 2015
@standage standage deleted the makefile branch June 27, 2016 17:58
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.

Have makefile print out list of targets
3 participants