{"push_id":1306151922,"size":2,"distinct_size":2,"ref":"refs/heads/get_email_from_starteam_server","head":"7f53c606b3d11c01324daae68c91aa93a4011df1","before":"338e74ffdaa2ef7191b5e6a5827241eb02cb3589","commits":[{"sha":"23a1598e49cfdfb5e49cd66ddbfe97479cee3da0","author":{"name":"Steve Tousignant","email":"daaa4844643923faa3fd91d43c1b04eb1f0b68c6@cae.com"},"message":"Provide a better support of the Revision Labels and a details history between them.\n\nThis is a squashed merge of a refactoring done for respecting the attached files added by the user.\r\n\r\nAt the same time, numerous speed improvement was done to enable a faster importation by doing less interaction with the Starteam Server. If built from the Fake-Starteam speed is increased by a lot. It should be on par if you did build against the StarteamSDK.\r\n\r\n* Provide a means to get the file from history by view version\r\n\r\n* Create a fake revision label\r\n\r\nAdded revision labels to the mix of required changes.\r\n\r\n* Create test data for testing revision labels import\r\n\r\n* Get rid of meaning less todo\r\n\r\n* Extract the creation of a commit entry from the recursive file population\r\n\r\nThis way we can get a detailed history of the individual files to extract and\r\nrecreated a much better history\r\n\r\n* Properly create the file based on the view version\r\n\r\nPotential issue where the viewVersion != contentVersion.\r\n\r\n* Create a commit strategy to experiment alternative to file population\r\n\r\nThe current limitation of readability of the code for creating commits in\r\nGitImporter class is at its limits. The FilePopulationStrategy aim to\r\nextract the history creation of the view since the last configuration. This\r\nwill permits some simplification on the configuration of GitImporter class\r\nand provide a wider range of technique to extract the history from a\r\nStarteam view.\r\n\r\n* Implement the getViewVersion() for potential future use\r\n\r\n* Provide a version of a file based on a label id\r\n\r\n* Properly return null if the item is not attach to the label\r\n\r\n* Move deletion composition and rename finding into BasePopulationStrategy\r\n\r\n* Moved the Rename the FilePopulationStrategy\r\n\r\n* Retab some old modified functions\r\n\r\n* Remove some dead-code\r\n\r\n* Add verbosity to the base strategy\r\n\r\n* Properly build the path and fix other bug found making the tests\r\n\r\n* Re-enable cleanup of repository after an execution of import\r\n\r\n* Add a test for the base file population\r\n\r\nThis is to make sure that there isn't any regression added for the creation\r\nof the list of commits.\r\n\r\n* Make sure the shareTo is executed before the update.\r\n\r\n* Make sure we don't ever get cached objects\r\n\r\n* Added a means of querying the last files the strategy has seen\r\n\r\n* Clarify the condition and reformat for understandability\r\n\r\n* Optimize the overuse of pathname and improve testing of isChild.\r\n\r\n* Increase test to be closer to real potential use.\r\n\r\n* Rename class to have a better logic to it.\r\n\r\n* Added the base integration of the commit strategy\r\n\r\n* Cache the toString() return value for increased performance\r\n\r\n* Finalize rename of classes and use ContentVersion instead of ViewVersion\r\n\r\n* Correct the misleading property names.\r\n\r\nStarteamSDK documentation isn't consistent with itself, which lead to these\r\nkind of errors.\r\n\r\n* Added Revision Strategy which is only a Base strategy for now\r\n\r\n* Correct a bad assumption regarding history order\r\n\r\nThe history shall be from the newest version to the oldest\r\n\r\n* Inform the commit strategy about the current label\r\n\r\nAnd at the same time get check if we need to make a tag associated with this\r\nlabel.\r\n\r\n* Properly initialize the strategy for Change Request.\r\n\r\n* Correct the move operation and name the commit accordingly\r\n\r\n* Use the commit strategy in the git importer\r\n\r\nAnd fix the test regarding the new behavior.\r\n\r\n* Correct a move operation badly detected\r\n\r\n* correct problem where openjdk != oraclejdk\r\n\r\n* Use char sequence instead of string directly\r\n\r\n* Replace the join with a more primitive version.\r\n\r\n* Prevent back-and-forth for information we already know\r\n\r\nAnd at the same time remove some dead-code.\r\n\r\n* Do not enforce the missing build.date token\r\n\r\nFallback to the label revision time instead. If user only want a set of\r\nbuild label, he will need to apply a proper filter to not select some\r\noperationnal label.\r\n\r\n* Provide a better explanaison of the reason we are selecting those fields.\r\n\r\n* Extract the method which process a single file.\r\n\r\nThis is to actually override it label in the RevisionPopulationStrategy.\r\nSome other strategy may be better to select all the files, but the simplest\r\nfor now is to simply iterate recursively through all files and only select\r\nthose that are attached to the requested labels.\r\n\r\n* Correct bad logic regarding deleted files.\r\n\r\n* Added basic test for revision labels strategy\r\n\r\n* Promote debug logs to verbose\r\n\r\n* Implement support from specific revision label support\r\n\r\n* Create the view with the right time.\r\n\r\n* Move set of the earliest time from GitImporter to the Base Strategy\r\n\r\n* Simplify more the ChangeRequest commit filter\r\n\r\n* Correct the computation of the time of the commit correction\r\n\r\n* Add some more test for the implementation of the Revision labels\r\n\r\n* Implement the revision labels management and importation\r\n\r\n* Comment log relating a label with only some files\r\n\r\n* Implement a label exclusion to rule out some misleading revisions.\r\n\r\n* use proper javadoc syntax\r\n\r\n* add missing header in new files.\r\n\r\n* Cache all change request prior to starting the import\r\n\r\n* Put the initial version in its own variable.\r\n\r\nSuch modification will enable to retreive all the files version from the\r\nstarteam repository, but with a good chance of weird effect. It is better\r\nto keep -1 for now as the renames or move operations won't be correctly\r\nreflected.\r\n\r\n* Make sure to only poke getViewVersion once\r\n\r\nIt does seem to make a round-trip to the server which slow down the\r\nconversion process.\r\n\r\n* Add somekind of progress bar\r\n\r\n* Provide a retry mechanism for fetching items versions.\r\n\r\nIf somebody does a commit at the same time we do make fetching of the versions\r\nof a files, we may end up crashing. We try to protect from this crash as\r\nfrom the server.\r\n\r\n* Add missing import\r\n\r\n* Add more resiliance when no change request availables\r\n\r\n* Correct comment and casing of the members\r\n\r\n* Disconnect once we are finished with the import\r\n\r\n* Make less interaction with the Starteam Server","distinct":true,"url":"https://api.github.com/repos/dracine-cae/git-starteam/commits/23a1598e49cfdfb5e49cd66ddbfe97479cee3da0"},{"sha":"7f53c606b3d11c01324daae68c91aa93a4011df1","author":{"name":"David Racine","email":"1a5a9451593a71945709058e12bcbef8a871ab02@cae.com"},"message":"Merge branch 'master' of ssh://ssh.github.com:443/planestraveler/git-starteam into get_email_from_starteam_server\n\n# Conflicts:\n#\tfake-starteam/src/com/starbase/starteam/ServerException.java\n#\tsyncronizer/src/org/sync/GitImporter.java","distinct":true,"url":"https://api.github.com/repos/dracine-cae/git-starteam/commits/7f53c606b3d11c01324daae68c91aa93a4011df1"}]}
{"actor":{"display_login":"dracine-cae"}}