Rick Rezinas
4835f1905e
fix for issue #1418
2020-04-27 21:22:23 -07:00
Nils Winkler
a31f4f0be6
Merge pull request #1499 from jmthvt/feature/unalias-gh
...
Check gh command exists before setting git gh alias
2020-04-27 08:40:57 +02:00
Jeremy Mathevet
91a96a4af2
gh to alias ghm
2020-04-27 11:45:19 +08:00
Nils Winkler
cbe2986210
Updated test readme
2020-04-22 11:19:18 +02:00
Nils Winkler
e9467825ec
Removed assert_link_exist function
...
This is now provided by the used version of bats-file.
2020-04-22 11:16:10 +02:00
Nils Winkler
bae6bbf429
Merge pull request #1570 from rgutmann/extract-tar-with-archive-directory
...
added tar extract-directory creation and usage
2020-04-22 10:28:09 +02:00
Nils Winkler
ebae3e41d4
Merge pull request #1571 from davidpfarrell/feature/completion-git
...
completion/git: Updates completion script to v2.26.2
2020-04-22 10:26:41 +02:00
David Farrell
f8a1877c72
completion/git: Updates completion script to v2.26.2
2020-04-21 11:25:37 -07:00
Ralph Gutmann
306be4dd4f
(minor) options fix
2020-04-21 18:34:28 +02:00
Ralph Gutmann
ce160ff314
added tar extract-directory creation and usage (also removal of unnecessary recursion where appropriate)
2020-04-21 18:12:56 +02:00
Nils Winkler
70e0aa0dcd
Merge pull request #1569 from ucomesdag/feat/completion
...
Removed duplicate & updated openshift completion
2020-04-21 15:09:11 +02:00
Uco Mesdag
862b99896d
Updated openshift completion to use _command_exists and removed duplicate oc completion
2020-04-21 15:00:14 +02:00
All Your Code
313e9bd51b
Added Minishift completion ( #1566 )
...
* Added Minishift completion
* Instead of copy pasting the output, using the output directly
* Replaced which command with _command_exists
2020-04-21 08:32:20 +02:00
All Your Code
06cc400229
Added OC completion ( #1567 )
...
* Added OC completion
* Instead of copy pasting the output, using the output directly
* Replaced which command with _command_exists
2020-04-21 08:30:26 +02:00
Nils Winkler
d6e559f424
Fixed indentation
2020-04-21 08:25:41 +02:00
Nils Winkler
543e49b759
Updated GNU parallel detection
...
Thanks to @rico-chet for the detection code!
2020-04-21 08:25:40 +02:00
Nils Winkler
9269c4445d
Went back to the bats-file temp_make function
...
Switching to tralston/bats-file allowed to use temp_make on macOS.
2020-04-21 08:25:40 +02:00
Nils Winkler
eb6469096a
Added the parallel test execution code from @rico-chet
...
See here: cd4a039215/test/run (L22)
2020-04-21 08:25:40 +02:00
Nils Winkler
bc433cd999
Fixing the mktemp function on Linux
2020-04-21 08:25:40 +02:00
Nils Winkler
818a95d79c
Refactored test setup code
...
Removed the copy/paste code, moved it into a reusable function that can
be called from the `local_setup` function as needed. Also simplified the
handling of the $HOME variable since @rico-chet provided a better way of
doing this.
2020-04-21 08:25:40 +02:00
Nils Winkler
34993f5da3
Excluding enabled directory when setting up test fixtures
2020-04-21 08:25:40 +02:00
Nils Winkler
3093273425
Updated rsync command to work with latest version of bats-core
2020-04-21 08:25:39 +02:00
Nils Winkler
c53cc9f143
Updated bats-core to latest version
2020-04-21 08:25:39 +02:00
Nils Winkler
9cf56cf47b
Merge pull request #1568 from rico-chet/add-gitmodules-to-editorconfig
...
editorconfig: Add `.git*` section
2020-04-21 08:20:08 +02:00
Alex Thiessen
4ad790aa47
editorconfig: Add `.git*` section
...
Configuration files of `git` are managed by the tool and thus are
tab-indented. If a developer happens to edit such a file manually, the
indentation would become inconsistent.
Add an explicit section for such files and set the indentation to tabs.
2020-04-20 21:07:35 +02:00
Nils Winkler
3d1da4da4f
Merge pull request #1564 from nwinkler/update-bats-file
...
Updated bats-file to https://github.com/tralston/bats-file v0.3.0
2020-04-20 09:15:46 +02:00
Nils Winkler
f698261487
Updated to https://github.com/tralston/bats-file v0.3.0
2020-04-20 09:00:52 +02:00
Nils Winkler
e0f72c98e9
Merge pull request #1563 from rico-chet/refactor-travis-env-to-jobs
...
Refactor travis build matrix to `jobs`
2020-04-19 13:06:14 +02:00
Alex Thiessen
b75b769719
travis: Refactor jobs to use inheritance
...
Since the existing jobs are similar (currently, the `script` keys are
same), move the equal parts to a new shared key to have them in one
place. The new map will receive more content in upcoming commits.
2020-04-18 18:57:17 +02:00
Alex Thiessen
576f2b37ac
travis: Switch build matrix from `os` to `jobs`
...
There are a couple ways to declare a build matrix in Travis CI, refer to
https://docs.travis-ci.com/user/build-matrix .
Since upcoming commits will add more ways to run tests, switch the build
matrix from simple OS variation to a more powerful list of jobs.
2020-04-18 18:54:18 +02:00
Alex Thiessen
44ddc58334
travis: Update language from `c` to `shell`
...
Be more precise as to what language is used; full list is found here:
https://config.travis-ci.com/ref/language .
2020-04-18 18:54:06 +02:00
Alex Thiessen
83fbfcf88a
travis: Remove obsolete `sudo`
...
`sudo` key is deprecated, refer to
https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments .
2020-04-18 18:39:29 +02:00
GabrielePuliti
142da4a428
Merge pull request #1 from Wabri/fix/aliases/general
...
Fix/aliases/general
2020-04-16 12:38:07 +02:00
Wabri
0b9c37f5d1
Add (alias): create a comment above the source of bash-it
...
To be more clear it was necessary to add a comment above source bash-it
to explain what is the pourpose of doing that.
2020-04-16 12:32:52 +02:00
Wabri
4b2a0513f2
Update (alias): change the about-alias description
...
The bash-it alias description is now more clear
2020-04-16 12:30:52 +02:00
Wabri
9ccee2878c
Fix (aliases): source bash-it alias in general
...
This can let separate the bash-it alias from the system general one
2020-04-15 09:18:13 +02:00
Nils Winkler
c9dc334981
Merge pull request #1558 from nwinkler/update-bats-assert-support
...
Update Bats libs "assert" and "support"
2020-04-13 15:03:26 +02:00
Nils Winkler
1d03421f12
Merge pull request #1557 from ucomesdag/master
...
Added a sudo plugin
2020-04-13 14:57:52 +02:00
Nils Winkler
2bb2af7eb3
Merge pull request #1556 from matthewadams/fix-uuid-on-linux
...
fix: uuid behavior for linux
2020-04-13 14:56:22 +02:00
Matthew Adams
c6e76fe4ee
address review comments
2020-04-13 07:50:16 -05:00
Uco Mesdag
dfeb72d6aa
Added function metadata and bash version check
2020-04-13 13:35:52 +02:00
Nils Winkler
9f5f762869
Updated bats-assert to v2.0.0
2020-04-13 12:51:29 +02:00
Nils Winkler
1dfaf47040
Updated bats-support library to v0.3.0 commit
2020-04-13 12:51:29 +02:00
Nils Winkler
023b4c3c3b
Migrated bats-support to bats-core project repo, v0.3.0
2020-04-13 12:51:29 +02:00
Wabri
74f053db9d
Remove (alias): bash_it alias is no more required in general
...
The bash_it alias are exported to the relative source, so is no more
required in the general alias.
2020-04-13 12:51:20 +02:00
Wabri
860f9b83e6
Add (alias): create bashit to separate from general
...
Instead of put all together in one alias source, it's better to
create two different files and separate different features.
2020-04-13 12:48:29 +02:00
Uco Mesdag
e73f6dbc62
Reworded the about
2020-04-13 02:37:24 +02:00
Uco Mesdag
b220c0e744
Plugin to toggle sudo before your current or last command
2020-04-13 02:30:28 +02:00
Matthew Adams
de307f43cc
fix uuid behavior for linux
2020-04-12 11:19:35 -05:00
cornfeedhobo
5faeb6dc5c
add simple fasd plugin
2020-04-11 16:27:17 -05:00