• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebookincubator / TTPForge
51%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D82462428
DEFAULT BRANCH: main
Repo Added 14 Aug 2023 10:15AM UTC
Token Ra8RGMp9erWTTLNu6nJqTb1aoVijgYIX7 regen
Build 414 Last
Files 69
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH export-D80826527
branch: export-D80826527
CHANGE BRANCH
x
Reset
Sync Branches
  • export-D80826527
  • container
  • container-fix
  • coverage
  • dep-lock
  • dependabot/go_modules/golang.org/x/crypto-0.35.0
  • doc-pc
  • expect
  • expected-step-failure
  • export-D50618372
  • export-D50635423
  • export-D50708311
  • export-D50892103
  • export-D50990440
  • export-D51069461
  • export-D51070150
  • export-D51139869
  • export-D51171741
  • export-D51180590
  • export-D51306975
  • export-D51307671
  • export-D51407546
  • export-D51428503
  • export-D51434166
  • export-D51434373
  • export-D51435517
  • export-D51437115
  • export-D51439700
  • export-D51449622
  • export-D51449668
  • export-D51451469
  • export-D51457037
  • export-D51458305
  • export-D51459133
  • export-D51459399
  • export-D51459508
  • export-D51459753
  • export-D51467408
  • export-D51475492
  • export-D51482864
  • export-D51495585
  • export-D51498587
  • export-D51520144
  • export-D51520434
  • export-D59696048
  • export-D59864499
  • export-D60238880
  • export-D60419102
  • export-D60423533
  • export-D60686691
  • export-D61042469
  • export-D61387125
  • export-D61657101
  • export-D61658174
  • export-D61662534
  • export-D62530409
  • export-D63457210
  • export-D63702296
  • export-D64108097
  • export-D65080213
  • export-D65831540
  • export-D66702400
  • export-D68783463
  • export-D69546940
  • export-D69863376
  • export-D69953549
  • export-D70136417
  • export-D70192169
  • export-D70499233
  • export-D71635625
  • export-D71739496
  • export-D71841703
  • export-D72669013
  • export-D72670580
  • export-D73053704
  • export-D76082173
  • export-D77463007
  • export-D77619765
  • export-D78497399
  • export-D78521586
  • export-D78701235
  • export-D78753717
  • export-D78761882
  • export-D79202811
  • export-D79562207
  • export-D80822110
  • export-D81613044
  • export-D82462426
  • export-D82462427
  • export-D82462428
  • fix-no-cleanup
  • fixup-T168084774-main
  • forge-integration-tests
  • magefile-updates
  • main
  • mitre-yaml
  • os-and-arch-metadata
  • pt-code-owners
  • renovate/actions-checkout-3.x
  • renovate/actions-checkout-4.x
  • renovate/actions-checkout-digest
  • renovate/actions-setup-python-digest
  • renovate/codespell-project-codespell-2.x
  • renovate/docker-build-push-action-5.x
  • renovate/docker-build-push-action-digest
  • renovate/docker-login-action-3.x
  • renovate/docker-setup-buildx-action-3.x
  • renovate/docker-setup-buildx-action-digest
  • renovate/docker-setup-qemu-action-3.x
  • renovate/github-codeql-action-digest
  • renovate/github.com-l50-goutils-v2-2.x
  • renovate/github.com-spf13-afero-1.x
  • renovate/github.com-tidwall-gjson-1.x
  • renovate/go.uber.org-zap-1.x
  • renovate/golang-1.x
  • renovate/goreleaser-goreleaser-action-5.x
  • renovate/goreleaser-goreleaser-action-digest
  • renovate/pin-dependencies
  • renovate/pre-commit-pre-commit-hooks-4.x
  • renovate/python-3.x
  • renovate/renovatebot-github-action-39.x
  • renovate/returntocorp-semgrep-action-digest
  • renovate/shogo82148-actions-goveralls-digest
  • sfm-create-file-new
  • sfm-create-file-step
  • sfm-downgrade-afero
  • sfm-downgrade-zap
  • sfm-dry-run
  • sfm-edit-and-create-refactor
  • sfm-fix-asdf
  • sfm-fix-indirects
  • sfm-fix-logs-and-remove-viper
  • sfm-fix-template-bug
  • sfm-fix-token
  • sfm-fix-usage
  • sfm-fix-working-directory-handling
  • sfm-install-command
  • sfm-reduce-minimum-go-version
  • sfm-remove-codeowner
  • sfm-remove-json-string
  • sfm-tmp-remove-vscode
  • sfm-update-files-package
  • sfm-update-gjson
  • sfm-update-zap
  • sfm-use-latest-release
  • test
  • test-refactor

26 Aug 2025 01:39PM UTC coverage: 51.302%. First build
17239997386

Pull #551

github

facebook-github-bot
TTPForge Move Command (#551)

Summary:
Pull Request resolved: https://github.com/facebookincubator/TTPForge/pull/551

# Overview
This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subttp references intact.

# Context
This implementation spawned from a growing need for reorganization within the growing list of available forges.

View T234255665: [TTPForge] Create Move TTP Command for additional information.

# Future Improvements
Currently, regex pattern matching is used to find and update existing references. Aditional testing should be done to confirm that the regex patterns being tested only update the appropriate references. Additional handling could be added for partial path matches in cases were paths are dynamically generated based on variable values.

When specifying a reference path for the destination (repo//path/to/ttp), the current implementation uses the repository's first search path to store the file. This could be improved to look through all of the search paths and find one that is the closest to the provided path.

# Changes
- Added `move` command to the root command.
- `move.go` and `move_test.go hold implementation and testing for the `move` command respectively.
- Separated TTPRef parsing out from TTPRef resolution in `repocollection.go`.
- Updated `AbsPath()` in `fileutils.go` to resolve the actual absolute path following any symlinks.

Reviewed By: RoboticPrism

Differential Revision: D80826527
Pull Request #551: TTPForge Move Command

96 of 130 new or added lines in 2 files covered. (73.85%)

1655 of 3226 relevant lines covered (51.3%)

8.73 hits per line

Relevant lines Covered
Build:
Build:
3226 RELEVANT LINES 1655 COVERED LINES
8.73 HITS PER LINE
Source Files on export-D80826527
  • Tree
  • List 54
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17239997386 export-D80826527 TTPForge Move Command (#551) Summary: Pull Request resolved: https://github.com/facebookincubator/TTPForge/pull/551 # Overview This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subt... Pull #551 26 Aug 2025 01:42PM UTC facebook-github-bot github
51.3
17239916408 export-D80826527 TTPForge Move Command (#551) Summary: # Overview This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subttp references intact. # Context This implementation spawned from a growing ne... Pull #551 26 Aug 2025 01:39PM UTC facebook-github-bot github
66.35
17239386454 export-D80826527 TTPForge Move Command (#551) Summary: Pull Request resolved: https://github.com/facebookincubator/TTPForge/pull/551 # Overview This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subt... Pull #551 26 Aug 2025 01:19PM UTC facebook-github-bot github
66.35
17239297357 export-D80826527 TTPForge Move Command (#551) Summary: # Overview This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subttp references intact. # Context This implementation spawned from a growing ne... Pull #551 26 Aug 2025 01:15PM UTC facebook-github-bot github
66.35
17238496905 export-D80826527 TTPForge Move Command Summary: # Overview This diff introduces a `move` command to TTPForge. This command enables you to move forge files while keeping any subttp references intact. # Context This implementation spawned from a growing need for r... Pull #551 26 Aug 2025 12:44PM UTC facebook-github-bot github
66.35
See All Builds (404)
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc