Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cosmosdb-dmt 2.1.4 (new cask) #168865

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Casks/c/cosmosdb-dmt.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
cask "cosmosdb-dmt" do

Check failure on line 1 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / test cosmosdb-dmt (macos-13, intel)

Version '2.1.4' differs from '2.1.5' retrieved by livecheck.

Check failure on line 1 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / test cosmosdb-dmt (macos-14, arm)

Version '2.1.4' differs from '2.1.5' retrieved by livecheck.
version "2.1.4"
sha256 "d016a55afd26438a0e2ed4bdfaf489775653d4fec3e08b5a12bf71a262c5a4dd"

Check failure on line 4 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Cask/StanzaGrouping: stanza groups should be separated by a single empty line

Check failure on line 4 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/TrailingWhitespace: Trailing whitespace detected.
url "https://github.com/AzureCosmosDB/data-migration-desktop-tool/releases/download/#{version}/dmt-#{version}-mac-x64.zip"

Check failure on line 5 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / test cosmosdb-dmt (macos-13, intel)

Signature verification failed: /private/tmp/cask-audit20240312-5701-1h527f/mac-package/dmt: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.

Check failure on line 5 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / test cosmosdb-dmt (macos-14, arm)

Signature verification failed: /private/tmp/cask-audit20240312-4147-5nb08p/mac-package/dmt: rejected macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.
name "Cosmos DB Data Migration Tool"
desc "Azure Cosmos DB Desktop Data Migration Tool is a command-line app that provides import / export functionality for Azure Cosmos DB data."

Check failure on line 7 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Cask/Desc: Description is too long. It should be less than 80 characters. The current length is 135.

Check failure on line 7 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/LineLength: Line is too long. [144/118]

Check failure on line 7 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Cask/Desc: Description shouldn't end with a full stop.
homepage "https://github.com/AzureCosmosDB/data-migration-desktop-tool"

binary "#{staged_path}/mac-package/dmt", target: "dmt"

def post_install
chmod "+x", "/usr/local/bin/dmt/dmt"
end

def test
assert_equal "#{version}", shell_output("/usr/local/bin/dmt/dmt --version").strip

Check failure on line 17 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
end
end

Check failure on line 19 in Casks/c/cosmosdb-dmt.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/TrailingEmptyLines: Final newline missing.
Loading