{"id":24442,"date":"2024-02-15T14:53:34","date_gmt":"2024-02-15T22:53:34","guid":{"rendered":"https:\/\/docs.extraview.com\/v25\/book\/example-git-integration-scenario-1\/"},"modified":"2025-02-19T09:42:35","modified_gmt":"2025-02-19T17:42:35","slug":"example-git-integration-scenario-1","status":"publish","type":"page","link":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/","title":{"rendered":"Example Git Integration Scenario"},"content":{"rendered":"<p>The following is a simple Git integration scenario where source control work is done at the command line (many of these steps may be automated via scripting or direct calls from the web-based interface). Though this scenario assumes a Linux system, UNIX, Microsoft Windows and web interfaces are also supported. The scenario is as follows:<\/p>\n<ul>\n<li>\n\t\tSome files are detected that have defects<\/li>\n<li>\n\t\tAn ExtraView issue is created against the defects<\/li>\n<li>\n\t\tThe files with the defects are checked out from Git and edited<\/li>\n<li>\n\t\tWith a couple commands, the files are checked in to Git and the issue in ExtraView is updated with the pertinent details.<\/li>\n<\/ul>\n<p>Following is a step-by-step example of this scenario. Though overly simplified, the basic elements of integration are made clear.<\/p>\n<h3>\n\tGit is invoked at the command line<\/h3>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ git log colors.txt flavors.txt<\/b>\r\ncommit ce5f98b0c7ca6a9b5d78b7f87497069f81c1ad08\r\nAuthor: Daniel Borlean <\/code><dborlean@extraview.com><code>\r\nDate:   Wed Oct 12 11:56:56 2011 -0700\r\n\r\n    new files\r\n\r\n<b>$ cat flavors.txt<\/b>\r\nvanilla\r\npeppermint\r\nyellow\r\nchokolate\r\n\r\n<b>$ cat colors.txt<\/b>\r\nred\r\nblue\r\nmajenta\r\n<\/code><\/dborlean@extraview.com><\/pre>\n<h3>\n\tCreate the defect in ExtraView<\/h3>\n<p>This is entered in ExtraView via the CLI, Web interface, or through an API integration with another tool. This step is not shown in detail here, but the details of the issue will include these fields:<\/p>\n<p><span class=\"fixedWidthFont\">Bug # 10115<br \/>\n\tTitle: Misspellings<br \/>\n\tDescription: misspellings in flavor and color; misplaced color <\/span><\/p>\n<p>From the command line, the user can confirm the details of the issue in ExtraView<\/p>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ evget 10115<\/b>\r\n   Assigned To:\r\n      Category:\r\n      Comments:\r\n  Date Created: 10\/12\/11 12:10 PM\r\n     Days Open: 0\r\nDays in Status: 0\r\n   Description: misspellings in flavor and color; misplaced color\r\n          ID #: 10115\r\n Last Modified: 10\/12\/11 12:10 PM\r\n        Module:\r\n    Originator: Git Integration\r\n      Priority:\r\n       Product:\r\nRepeating Rows:\r\n      Severity:\r\n        Status: Open\r\n         Title: Misspellings\r\n<\/code><\/pre>\n<h3>\n\tEdit each file, repairing the defects<\/h3>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ vim flavors.txt<\/b>\r\nvanilla\r\npeppermint\r\nchocolate\r\n\r\n<b>$ vim colors.txt<\/b>\r\nred\r\nblue\r\nyellow\r\nmagenta\r\n\r\n<b>$ git status<\/b>\r\n# On branch master\r\n# Changes not staged for commit:\r\n#   (use \"git add <\/code><file><code>...\" to update what will be committed)\r\n#   (use \"git checkout -- <\/code><file><code>...\" to discard changes in working directory)\r\n#\r\n#       modified:   colors.txt\r\n#       modified:   flavors.txt\r\n#\r\nno changes added to commit (use \"git add\" and\/or \"git commit -a\")\r\n<\/code><\/file><\/file><\/pre>\n<h3>\n\tCheck in the changes and update ExtraView<\/h3>\n<p>Note that a couple commands pass arguments and values to Git, yet also updates ExtraView.<\/p>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ git commit -a -m \"corrected misspellings and misplaced color for Bug Id: 10115\"<\/b>\r\n[master 9ef7b1d] corrected misspellings and misplaced color for Bug Id: 10115\r\n 2 files changed, 3 insertions(+), 3 deletions(-)\r\n\r\n<b>$ git push<\/b>\r\nCounting objects: 7, done.\r\nDelta compression using up to 2 threads.\r\nCompressing objects: 100% (2\/2), done.\r\nWriting objects: 100% (4\/4), 401 bytes, done.\r\nTotal 4 (delta 1), reused 0 (delta 0)\r\nUnpacking objects: 100% (4\/4), done.\r\nremote: ExtraView update result: ID #10115 updated.\r\nTo c:\/dev\/git\/my_server.git\r\n   ce5f98b..9ef7b1d  master -&gt; master<\/code>\r\n<\/pre>\n<h3>\n\tCheck the history within Git<\/h3>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ git log flavors.txt<\/b>\r\ncommit 9ef7b1d76e2b5ef17caeea82b62444502d0993cd\r\nAuthor: Daniel Borlean <\/code><dborlean@extraview.com><code>\r\nDate:   Wed Oct 12 13:59:00 2011 -0700\r\n\r\n    corrected misspellings and misplaced color for Bug Id: 10115\r\n\r\ncommit ce5f98b0c7ca6a9b5d78b7f87497069f81c1ad08\r\nAuthor: Daniel Borlean <\/code><dborlean@extraview.com><code>\r\nDate:   Wed Oct 12 11:56:56 2011 -0700\r\n\r\n    new files\r\n\r\n<b>$ git log colors.txt<\/b>\r\ncommit 9ef7b1d76e2b5ef17caeea82b62444502d0993cd\r\nAuthor: Daniel Borlean <\/code><dborlean@extraview.com><code>\r\nDate:   Wed Oct 12 13:59:00 2011 -0700\r\n\r\n    corrected misspellings and misplaced color for Bug Id: 10115\r\n\r\ncommit ce5f98b0c7ca6a9b5d78b7f87497069f81c1ad08\r\nAuthor: Daniel Borlean <\/code><dborlean@extraview.com><code>\r\nDate:   Wed Oct 12 11:56:56 2011 -0700\r\n\r\n    new files\r\n<\/code><\/dborlean@extraview.com><\/dborlean@extraview.com><\/dborlean@extraview.com><\/dborlean@extraview.com><\/pre>\n<h3>\n\tCheck the changes in ExtraView<\/h3>\n<p>This can be done from the web interface or from the command-line interface. The example shows the check being performed from the CLI.<\/p>\n<pre style=\"border:1px solid #000000\">\r\n<code><b>$ evget 10115<\/b>\r\n   Assigned To:\r\n      Category:\r\n      Comments: 10\/12\/11 1:59 PM Git Integration\r\n                tree 782d3f97c3eb885733a4dbc8fdb0f36b2dd17d52\r\n                parent ce5f98b0c7ca6a9b5d78b7f87497069f81c1ad08\r\n                author Daniel Borlean <\/code><dborlean@extraview.com><code> 1318453140 -0700\r\n                committer Daniel Borlean <\/code><dborlean@extraview.com><code> 1318453140 -0700\r\n\r\n                corrected misspellings and misplaced color for Bug Id: 10115\r\n\r\n                diffs:\r\n                diff --git a\/colors.txt b\/colors.txt\r\n                index 3b34bea..6021d1e 100644\r\n                --- a\/colors.txt\r\n                +++ b\/colors.txt\r\n                @@ -1,3 +1,4 @@\r\n                 red\r\n                 blue\r\n                -majenta\r\n                +yellow\r\n                +magenta\r\n                diff --git a\/flavors.txt b\/flavors.txt\r\n                index f812774..1b4c842 100644\r\n                --- a\/flavors.txt\r\n                +++ b\/flavors.txt\r\n                @@ -1,4 +1,3 @@\r\n                 vanilla\r\n                 peppermint\r\n                -yellow\r\n                -chokolate\r\n                +chocolate\r\n  Date Created: 10\/12\/11 12:10 PM\r\n     Days Open: 0\r\nDays in Status: 0\r\n   Description: misspellings in flavor and color; misplaced color\r\n          ID #: 10115\r\n Last Modified: 10\/12\/11 1:59 PM\r\n        Module:\r\n    Originator: Git Integration\r\n      Priority:\r\n       Product:\r\nRepeating Rows:\r\n      Severity:\r\n        Status: Open\r\n         Title: Misspellings\r\n<\/code><\/dborlean@extraview.com><\/dborlean@extraview.com><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The following is a simple Git integration scenario where source control work is done at the command line (many of these steps may be automated via scripting or direct calls from the web-based interface). Though this scenario assumes a Linux system, UNIX, Microsoft Windows and web interfaces are also supported. The scenario is as follows:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":24441,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"no","_lmt_disable":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-24442","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Example Git Integration Scenario - Product Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Example Git Integration Scenario - Product Documentation\" \/>\n<meta property=\"og:description\" content=\"The following is a simple Git integration scenario where source control work is done at the command line (many of these steps may be automated via scripting or direct calls from the web-based interface). Though this scenario assumes a Linux system, UNIX, Microsoft Windows and web interfaces are also supported. The scenario is as follows:...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Product Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-19T17:42:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/\",\"url\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/\",\"name\":\"Example Git Integration Scenario - Product Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\"},\"datePublished\":\"2024-02-15T22:53:34+00:00\",\"dateModified\":\"2025-02-19T17:42:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ExtraView 25\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Integration Guides\",\"item\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Git Integration Guide\",\"item\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Example Git Integration Scenario\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"name\":\"ExtraView Product Documentation\",\"description\":\"ExtraView Documentation\",\"publisher\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\",\"name\":\"ExtraView Corporation\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"contentUrl\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"width\":512,\"height\":512,\"caption\":\"ExtraView Corporation\"},\"image\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Example Git Integration Scenario - Product Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/","og_locale":"en_US","og_type":"article","og_title":"Example Git Integration Scenario - Product Documentation","og_description":"The following is a simple Git integration scenario where source control work is done at the command line (many of these steps may be automated via scripting or direct calls from the web-based interface). Though this scenario assumes a Linux system, UNIX, Microsoft Windows and web interfaces are also supported. The scenario is as follows:...","og_url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/","og_site_name":"Product Documentation","article_modified_time":"2025-02-19T17:42:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/","url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/","name":"Example Git Integration Scenario - Product Documentation","isPartOf":{"@id":"https:\/\/docs.extraview.com\/v25\/#website"},"datePublished":"2024-02-15T22:53:34+00:00","dateModified":"2025-02-19T17:42:35+00:00","breadcrumb":{"@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/example-git-integration-scenario-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":2,"name":"ExtraView 25","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":3,"name":"Integration Guides","item":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/"},{"@type":"ListItem","position":4,"name":"Git Integration Guide","item":"https:\/\/docs.extraview.com\/v25\/extraview-25\/integration-guides-1\/git-integration-guide-1\/"},{"@type":"ListItem","position":5,"name":"Example Git Integration Scenario"}]},{"@type":"WebSite","@id":"https:\/\/docs.extraview.com\/v25\/#website","url":"https:\/\/docs.extraview.com\/v25\/","name":"ExtraView Product Documentation","description":"ExtraView Documentation","publisher":{"@id":"https:\/\/docs.extraview.com\/v25\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.extraview.com\/v25\/#organization","name":"ExtraView Corporation","url":"https:\/\/docs.extraview.com\/v25\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/","url":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","contentUrl":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","width":512,"height":512,"caption":"ExtraView Corporation"},"image":{"@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/"}}]}},"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"carl.koppel","author_link":"https:\/\/docs.extraview.com\/v25\/author\/carl-koppel\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/comments?post=24442"}],"version-history":[{"count":0,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24442\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24441"}],"wp:attachment":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/media?parent=24442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}