Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
a5ce507
First push
areinicke May 15, 2026
f4ed982
Allow discvery of software and unused software
areinicke May 18, 2026
c3cfee4
Further Implementation
areinicke May 19, 2026
eea15ae
Update Help descriptions
areinicke May 19, 2026
a4d933a
Finish Base Implementation
areinicke May 20, 2026
417a095
Merge branch 'main' into feature/1580-cleanup-commandlet
areinicke May 20, 2026
6af2558
Added changelog entry
areinicke May 20, 2026
bf63125
Changed variable names to follow Coding conventions
areinicke May 20, 2026
a094a7d
Add comments, method and class descriptions
areinicke May 20, 2026
533c686
Minor fixes
areinicke May 20, 2026
bf79fef
Add basic test
areinicke May 21, 2026
cfb9a1b
Small optimization
areinicke May 21, 2026
a333425
Test commit. No relevant changes
areinicke May 21, 2026
beeb33d
Add fix for ide shell
areinicke May 27, 2026
b8a590a
Minor adjustment: Move Completion message to end of method
areinicke May 27, 2026
3f5171b
Merge branch 'main' into feature/1580-cleanup-commandlet
areinicke May 27, 2026
d0f5a35
Merge branch 'main' into feature/1580-cleanup-commandlet
hohwille May 29, 2026
ed172b1
Refactor Step 1
areinicke Jun 11, 2026
17ded28
Add additional JavaDoc
areinicke Jun 15, 2026
432c81e
Update help files
areinicke Jun 15, 2026
8a6b88d
Update Help files
areinicke Jun 15, 2026
af18fdb
Merge branch 'main' into feature/1580-cleanup-commandlet
hohwille Jul 3, 2026
82b550f
Merge branch 'main' into feature/1580-cleanup-commandlet
maybeec Jul 4, 2026
ca229d2
Change package name and move cleanup commandlet into package
areinicke Jul 6, 2026
d0972ba
Merge branch 'main' into feature/1580-cleanup-commandlet
areinicke Jul 6, 2026
3e5330d
Merge branch 'main' into feature/1580-cleanup-commandlet
hohwille Jul 6, 2026
58570de
Merge branch 'main' into feature/1580-cleanup-commandlet
hohwille Jul 6, 2026
5d2e208
Merge remote-tracking branch 'upstream/main' into feature/1953-cleanu…
Caylipp Jul 28, 2026
816c827
#1953: Complete cleanup commandlet review
Caylipp Jul 29, 2026
d7b4b02
#1953: fix comment length
Caylipp Jul 29, 2026
21ff00a
Merge branch 'main' into feature/1953-cleanup-commandlet-handover
Caylipp Jul 29, 2026
3665d3e
#1953: Introduce installed software hierarchy
Caylipp Jul 30, 2026
79c9f95
#1953: Simplify installed software deletion state
Caylipp Jul 30, 2026
26a1049
#1953: Centralize IDEasy project discovery
Caylipp Jul 30, 2026
1890d1b
#1953: Fix custom repository cleanup
Caylipp Jul 31, 2026
86f291a
Update cli/src/main/resources/nls/Help.properties
Caylipp Jul 31, 2026
eb5970f
#1953: Address cleanup commandlet review feedback
Caylipp Jul 31, 2026
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
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Release with new features and bugfixes:
* https://github.com/devonfw/IDEasy/issues/2176[#2176]: Support 7z archive extraction
* https://github.com/devonfw/IDEasy/issues/2100[#2100]: Fix Python not available for Mac x64
* https://github.com/devonfw/IDEasy/issues/2134[#2134]: Add auto-completion for icd command
* https://github.com/devonfw/IDEasy/issues/1953[#1953]: Implement base functionality of cleanup commandlet

The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/48?closed=1[milestone 2026.08.001].

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import com.devonfw.tools.ide.cli.CliArgument;
import com.devonfw.tools.ide.cli.CliArguments;
import com.devonfw.tools.ide.commandlet.cleanup.CleanupCommandlet;
import com.devonfw.tools.ide.completion.CompletionCandidateCollector;
import com.devonfw.tools.ide.context.IdeContext;
import com.devonfw.tools.ide.git.repository.RepositoryCommandlet;
Expand Down Expand Up @@ -118,6 +119,7 @@ public CommandletManagerImpl(IdeContext context) {
add(new UninstallCommandlet(context));
add(new LnCommandlet(context));
add(new UpdateCommandlet(context));
add(new CleanupCommandlet(context));
add(new UpgradeSettingsCommandlet(context));
add(new CreateCommandlet(context));
add(new BuildCommandlet(context));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package com.devonfw.tools.ide.commandlet.cleanup;

import java.nio.file.Path;

/**
* Abstract base class for an item in the installed software hierarchy.
*/
public abstract class AbstractInstalledSoftwareItem {

/** The name of this item. */
private final String name;

/** The installation path of this item. */
private final Path path;

/**
* Constructor.
*
* @param name the name of this item.
* @param path the installation path of this item.
*/
protected AbstractInstalledSoftwareItem(String name, Path path) {

this.name = name;
this.path = path;
}

/**
* @return the name of this item.
*/
public String getName() {

return this.name;
}

/**
* @return the installation path of this item.
*/
public Path getPath() {

return this.path;
}
}
Loading