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

Introduce a flag for auto publishing #886

Merged
merged 17 commits into from
Aug 9, 2016
Merged

Introduce a flag for auto publishing #886

merged 17 commits into from
Aug 9, 2016

Commits on Aug 9, 2016

  1. Introduce a flag for auto pubilshing

    Add flag "-p", "--publish" to "notary add", with this flag being set,
    notary will attemp to publish after adding the change.
    
    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    8a84d29 View commit details
    Browse the repository at this point in the history
  2. Address riyazdf's comments

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    c5cecf0 View commit details
    Browse the repository at this point in the history
  3. Create a common function for auto publish

    It might be used by wherever we want to end with an auto publish.
    
    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    bd78254 View commit details
    Browse the repository at this point in the history
  4. Introduce auto publishing for notary init

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    65cc13e View commit details
    Browse the repository at this point in the history
  5. Introduce auto publish for notary remove

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    a232853 View commit details
    Browse the repository at this point in the history
  6. Add integration test for auto publishing

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    df89d32 View commit details
    Browse the repository at this point in the history
  7. Rename function name

    Per riyaz's suggestions - using maybeAutoPublish would be more
    clear that we may not actully publish.
    
    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    57beb01 View commit details
    Browse the repository at this point in the history
  8. Generate a constant for the help test of auto publish

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    3bf2441 View commit details
    Browse the repository at this point in the history
  9. Introduce auto publish for notary delegation add

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    c518c71 View commit details
    Browse the repository at this point in the history
  10. Fix golint

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    35f88eb View commit details
    Browse the repository at this point in the history
  11. Introduce auto publish for notary delegation remove

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    ba98365 View commit details
    Browse the repository at this point in the history
  12. Add test for notary delegation add/remove with auto publish

    And also fix a golint warning.
    
    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    a451910 View commit details
    Browse the repository at this point in the history
  13. Enhance test for auto publish

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    63057a3 View commit details
    Browse the repository at this point in the history
  14. Introduce auto publish for notary addhash

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    e1e58ae View commit details
    Browse the repository at this point in the history
  15. Add test for notary addhash with auto publish

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    bcfee5f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    82dffe0 View commit details
    Browse the repository at this point in the history
  17. Refactor and clean up test

    Signed-off-by: Hu Keping <[email protected]>
    HuKeping committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    6c386a6 View commit details
    Browse the repository at this point in the history