{"id":16934475,"url":"https://github.com/codeskyblue/travelexec","last_synced_at":"2025-07-09T13:34:21.674Z","repository":{"id":14444836,"uuid":"17156375","full_name":"codeskyblue/travelexec","owner":"codeskyblue","description":"(golang binary bool) travel file tree and call exec (like find + xargs, but offers more functions)","archived":false,"fork":false,"pushed_at":"2014-04-29T10:20:53.000Z","size":348,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T01:44:30.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeskyblue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-25T00:50:53.000Z","updated_at":"2017-08-10T11:46:14.000Z","dependencies_parsed_at":"2022-09-16T19:00:46.651Z","dependency_job_id":null,"html_url":"https://github.com/codeskyblue/travelexec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Ftravelexec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Ftravelexec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Ftravelexec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Ftravelexec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue","download_url":"https://codeload.github.com/codeskyblue/travelexec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244734393,"owners_count":20501060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:52:15.393Z","updated_at":"2025-03-21T04:22:13.635Z","avatar_url":"https://github.com/codeskyblue.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## travelexec\nThis is command tool for program test. It will help you **travel** the directories and find all files and **execute** specified command.\n\nSo I call it `travelexec`.\n\nThis program is write by golang(Require go version\u003e=1.2). To get the command tool, you need to install golang development before. (**Only tested in linux**)\n\nCurrent Version: v0.1.0415\n\nsee changelog [HERE](https://github.com/codeskyblue/travelexec/blob/master/version.go)\n\nFEATURES:\n\n1. HTML report output\n2. command timeout\n3. group kill when timeout\n4. use regex to filter files\n5. configuration file support\n\nAlready used in two project testing for a month. But the usage of travelexec maybe changed in the future.\n### How to install\n1. install golang*(skip it if already exists)*, see how to install: \u003chttp://golang.org/doc/install\u003e\n2. run `go get github.com/codeskyblue/travelexec`\n\n### QuickStart\nfor example, there are three files in the current directory.\n\n \ttest_a.py\n\ttest_b.py\n\tlib.py\n  \nrun through\n\n\ttravelexec -I '^test_.*\\.py$' -c 'python {}'\n\nuse regex `^test_.*\\.py$` to find files. `{}` will be replaced as filename. The result is same as\n\n\tpython test_a.py\n\tpython test_b.py\n\n### config file support\nwith config file, you don't need to prepare parameters for command.\n\nfirst, generete a sample config file. default config file is `.travel.yml`\n\n\ttravelexec --init\n  \n### how to run last failed files.\n\ttravelexec --reload\n\n### integerate with jenkins\nadd such command into **Execute Shell**\n\n\tmkdir -p ${WORKSPACE}/travelrep\n\ttravelexec --html ${WORKSPACE}/travelrep/index.html\n  \nAchieve HTML report. set base dir (travelrep), index file (index.html)\n\nif test failed, travelexec exitcode will be not 0.\n### there are still a lot this README not metion about.\nuse `travelexec -h` for more help.\n\nreport issues here: \u003chttps://github.com/codeskyblue/travelexec/issues\u003e or send mail to me through ssx205@gmail.com\n\n### LICENSE\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Ftravelexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeskyblue%2Ftravelexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeskyblue%2Ftravelexec/lists"}