cyberark / bash-lib Goto Github PK
View Code? Open in Web Editor NEWLibrary for bash utility methods and tools
License: Apache License 2.0
Library for bash utility methods and tools
License: Apache License 2.0
bl_hub_issue_number_for_title returns multiple issue numbers when there are multiple issues with matching titles. This is a problem when l_hub_comment_or_create_issue
is attempting to find the correct issue for adding comments to.
Steps to reproduce the behavior:
bl_hub_issue_number_for_title title
bl_hub_issue_number_for_title
should return a single issue number
Multiple issue numbers are returned.
v2.0.3
Jenkins & local dev
Copying from this last comment on the first (primary) PR - there is some outstanding work that may be worth doing, and it may make sense to break these up into separate issues. For now here is the full list:
filehandling/lib
(even though it was straight from SO) at the very least needs some comments but it really could be better if the logic flow was cleaned up to be more readable.: ${FOO:?"Something"}
pattern is really hard to read when compared to an if/else[[ <check> ]] | die "foo"
and <cmd> || die
patterns are also really hard to read when compared to an if/elseif !condition return 1
and then do the positive condition (unconditionally)tests-for-this-repo
needs a better name. Don't know what it should be but the current one isn't great.[[ <check> ]]
by itself should go away as a pattern as it's unclear what it's doing without knowing bash in depthlocal rc=0
/return $rc
pattern looked in most cases superfluous. Some tests do seem to need it but we should probably use a named variable rather than return code as the saved state variable."
and \
echo
with echo message
instead of echo -e '\nmessage
-e
flag, I think it would be good to explicitly set it in all toplevelish scripts that you expect might want to bail on errors/mnt
volume would probably be something elseAdd code coverage to this project.
Acceptance Criteria:
As a user I would like up to date documentation that is in synch with the code so that I can use-bash lib without having to refer to the code unless I want to.
As a developer I would like documentation to be generated from comments so that I can modify librarires and their documentation in a single location.
AC:
The following templates have been added to the repo, with appropriate component
labels:
As a developer I want bash-lib to be open source so that I can use it in open source projects.
ToDo:
The repos in the conjur OSS suite release are adopting keepachangelog for their changelogs, bash-lib should do the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.