1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Search for CHANGEME in this document when copying and using it: -->
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<?xml-stylesheet type="text/xml" href="../../nbbuild/javadoctools/apichanges.xsl"?>
<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" "../../nbbuild/javadoctools/apichanges.dtd">
<!--
INFO FOR PEOPLE ADDING CHANGES:
Check the DTD (apichanges.dtd) for details on the syntax. You do not
need to regenerate the HTML, as this is part of Javadoc generation; just
change the XML. Rough syntax of a change (several parts optional):
<change>
<api name="compiler"/>
<summary>Some brief description here, can use <b>XHTML</b></summary>
<version major="1" minor="99"/>
<date day="13" month="6" year="2001"/>
<author login="jrhacker"/>
<compatibility addition="yes"/>
<description>
The main description of the change here.
Again can use full <b>XHTML</b> as needed.
</description>
<class package="org.openide.compiler" name="DoWhatIWantCompiler"/>
<issue number="14309"/>
</change>
Also permitted elements: <package>, <branch>. <version> is API spec
version, recommended for all new changes. <compatibility> should say
if things were added/modified/deprecated/etc. and give all information
related to upgrading old code. List affected top-level classes and
link to issue numbers if applicable. See the DTD for more details.
Changes need not be in any particular order, they are sorted in various
ways by the stylesheet anyway.
Dates are assumed to mean "on the trunk". If you *also* make the same
change on a stabilization branch, use the <branch> tag to indicate this
and explain why the change was made on a branch in the <description>.
Please only change this file on the trunk! Rather: you can change it
on branches if you want, but these changes will be ignored; only the
trunk version of this file is important.
Deprecations do not count as incompatible, assuming that code using the
deprecated calls continues to see their documented behavior. But do
specify deprecation="yes" in <compatibility>.
This file is not a replacement for Javadoc: it is intended to list changes,
not describe the complete current behavior, for which ordinary documentation
is the proper place.
-->
<apichanges>
<!-- First, a list of API names you may use: -->
<apidefs>
<apidef name="gitlibrary_api">Git Library</apidef>
<!-- etc. -->
</apidefs>
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change>
<api name="gitlibrary_api"/>
<summary>API for git stash support.</summary>
<version major="1" minor="31"/>
<date day="19" month="12" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding few new GitClient's methods handling the git stash support.
The API supports creating and applying patches and deleting and listing saved patches.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<issue number="249326"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Passing messages from running commands to the caller.</summary>
<version major="1" minor="30"/>
<date day="11" month="12" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>ProgressMonitor now delivers also informational messages from running commands.
This is useful to obtain messages during e.g. push process when a remote repository
notifies about run push hooks.</li>
</ul>
</description>
<class package="org.netbeans.libs.git.progress" name="ProgressMonitor"/>
<issue number="233106"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>New method exporting a diff between two arbitrary commits or trees.</summary>
<version major="1" minor="29"/>
<date day="27" month="10" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding new variant of GitClient.exportDiff which works for any
two arbitrary commits. It is also possible to diff between a commit and the working tree
or the Index.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<issue number="248002"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>New method for updating a reference (branch) to a new commit id.</summary>
<version major="1" minor="27"/>
<date day="1" month="7" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>New method GitClient.cherryPick used to cherry-pick commits and apply them in the
current branch. The command may interrupt its progress and require some user actions
(such as resolve conflicts or commit) and may be continued with different kinds
of operation types passed as its arguments.</li>
<li>Introduciong new repository state: CHERRY_PICKING and CHERRY_PICKING_RESOLVED
marking the states of the repository when a cherry-picking is not finished or
it requires resolving conflicts.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<class package="org.netbeans.libs.git" name="GitCherryPickResult"/>
<class package="org.netbeans.libs.git" name="GitRepositoryState"/>
<issue number="235267"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>New method for updating a reference (branch) to a new commit id.</summary>
<version major="1" minor="26"/>
<date day="25" month="6" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Git client accepts the parameter telling the merge command how
to proceed with regard to fast-forward commits. Users may require
either to enforce or to completely eliminate (and always create a merge commit)
fast-forward merges.</li>
<li>Git Repository instance allows users to query for the current default fast-forward
option via a new getter method.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitRepository"/>
<class package="org.netbeans.libs.git" name="GitClient"/>
<class package="org.netbeans.libs.git" name="GitMergeResult"/>
<issue number="245236"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>New method for updating a reference (branch) to a new commit id.</summary>
<version major="1" minor="24"/>
<date day="23" month="6" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<p>In order to simplify a trivial use-case of merging a remote branch into a local branch
not currently checked-out we're adding a new method able to update the local branch to
the new id. It is possible only if the branch requires a fast-forward merge (does not
contain any unpushed commits).
</p>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<issue number="245078"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>New methods in ProgressMonitor informing about the progress of command's subtasks.</summary>
<version major="1" minor="21"/>
<date day="4" month="3" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<p>When a long running git command is invoked it usually calls subtasks playing a smaller execution role
(e.g. counting remote objects and actual data fetching during fetch command). Git API is now able to pass
messages from these subtasks to an API client to let it update a progress bar and UI.
</p>
</description>
<class package="org.netbeans.libs.git.progress" name="ProgressMonitor"/>
<issue number="242370"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>File status provides also information about the last index entry modification timestamp.</summary>
<version major="1" minor="19"/>
<date day="18" month="2" year="2014"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<p>It may be useful to know when was the last time a file was updated in the index. <code>GitStatus</code> now
provides this value via <code>getIndexEntryModificationDate</code>.</p>
</description>
<class package="org.netbeans.libs.git" name="GitStatus"/>
<issue number="241798"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>The log command returns also branches containing the commits from the result.</summary>
<version major="1" minor="16"/>
<date day="31" month="10" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding new methods to GitClient allowing users to check a submodule's status, initialize them
after a clone and update them to a commit relevant to the state in the parent repository.</li>
<li>Adding a new class GitSubmoduleStatus wrapping information about a submodule.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<class package="org.netbeans.libs.git" name="GitSubmoduleStatus"/>
<issue number="237621"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>The log command returns also branches containing the commits from the result.</summary>
<version major="1" minor="14"/>
<date day="25" month="9" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding a new method GitClient.log (SearchCriteria, boolean, ProgressMonitor)
allowing an API client to specify if he wants to know what branches contain
the returned commits applying the search criteria. Such information can
be used to filter the resulted commits by branches without a need to restart
the command again.</li>
<li>Adding a method GitRevisionInfo.getBranches() returning all branches
that are known to contain the commit.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<class package="org.netbeans.libs.git" name="GitRevisionInfo"/>
<issue number="235882"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Adding a command setting the upstream branch/tracking of local branches</summary>
<version major="1" minor="12"/>
<date day="22" month="8" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<p>Adding a new method GitClient.setUpstreamBranch(String, String, ProgressMonitor)
allowing an API client to set the tracking/upstream branch for a local branch.
</p>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<issue number="234391"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Adding support comparing trees of arbitrary commits</summary>
<version major="1" minor="9"/>
<date day="12" month="3" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding a new method GitClient.getStatus(File[], String, ProgressMonitor)
allowing an API client to get statuses of local files not just against the HEAD but against
an arbitrary commit.</li>
<li>Adding a new method GitClient.getStatus(File[], String, String, ProgressMonitor)
allowing an API client to get modifications from the Git history. It is similar to
GitRevisionInfo.getModifications but returns file statuses between two arbitrary commits
and not just a commit and its parent.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<issue number="227348"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Adding support for rebase to the API</summary>
<version major="1" minor="8"/>
<date day="11" month="3" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
<ul>
<li>Adding a new method GitClient.rebase delegating to the rebase command.</li>
</ul>
</description>
<class package="org.netbeans.libs.git" name="GitClient"/>
<class package="org.netbeans.libs.git" name="GitRebaseResult"/>
<issue number="226545"/>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Adding new method to GitClient: commit(), amending the last commit</summary>
<version major="1" minor="7"/>
<date day="6" month="2" year="2013"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
Git supports commit amendments, in other words modifying the last commit and changing its
commit message or modified files. Another commit method allows API clients to specify
either to amend the last commit or to make a fresh new commit on top of current HEAD.
</description>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Adding new method to GitClient: release()</summary>
<version major="1" minor="5"/>
<date day="16" month="11" year="2012"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
JGit repository normally does not close all opened file descriptors
and prevents external commands from working with the same repository.
Clients of the JGit API are supposed to call JGitRepository.close()
when they're done with the repository. We need to pass this method to the
Git Library API so when clients are done with calling all required commands
the library closes all descriptors and frees the git metadata files
for other tools.
</description>
</change>
<change>
<api name="gitlibrary_api"/>
<summary>Initial version of the API</summary>
<version major="1" minor="0"/>
<date day="11" month="3" year="2012"/>
<author login="ovrabec"/>
<compatibility addition="yes"/>
<description>
</description>
</change>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
<htmlcontents>
<!--
NO NO NO NO NO!
==============> DO NOT EDIT ME! <==============
AUTOMATICALLY GENERATED FROM APICHANGES.XML, DO NOT EDIT
SEE CHANGEME/apichanges.xml
-->
<head>
<title>Change History for the Git Library API</title>
<link rel="stylesheet" href="prose.css" type="text/css"/>
</head>
<body>
<p class="overviewlink"><a href="overview-summary.html">Overview</a></p>
<h1>Introduction</h1>
<p>This document lists changes made to the Git Library API.</p>
<!-- The actual lists of changes, as summaries and details: -->
<hr/><standard-changelists module-code-name="org.netbeans.libs.git"/>
<hr/><p>@FOOTER@</p>
</body>
</htmlcontents>
</apichanges>
|