mirror of
https://github.com/apache/archiva.git
synced 2025-02-21 01:15:08 +00:00
clarify some TODO elements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1a3026414e
commit
9dd5b3e988
@ -97,7 +97,7 @@ public void start()
|
||||
private void scheduleJobs( Configuration configuration )
|
||||
throws ParseException, SchedulerException
|
||||
{
|
||||
// TODO! would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
|
||||
// TODO: would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
|
||||
if ( configuration.getIndexPath() != null )
|
||||
{
|
||||
JobDetail jobDetail = createJobDetail( INDEXER_JOB, indexerTask );
|
||||
@ -107,7 +107,7 @@ private void scheduleJobs( Configuration configuration )
|
||||
new CronTrigger( INDEXER_JOB + "Trigger", DISCOVERER_GROUP, configuration.getIndexerCronExpression() );
|
||||
scheduler.scheduleJob( jobDetail, trigger );
|
||||
|
||||
// TODO: run as a job so it doesn't block startup/configuration saving!
|
||||
// TODO: run as a job so it doesn't block startup/configuration saving
|
||||
try
|
||||
{
|
||||
indexerTask.executeNowIfNeeded();
|
||||
|
@ -264,7 +264,7 @@ private void checkRepositoryVersions( RepositoryMetadata metadata, ArtifactRepos
|
||||
File versionsDir =
|
||||
new File( repository.getBasedir(), repository.pathOfRemoteRepositoryMetadata( metadata ) ).getParentFile();
|
||||
|
||||
// TODO! I don't know how this condition can happen, but it was seen on the main repository.
|
||||
// TODO: I don't know how this condition can happen, but it was seen on the main repository.
|
||||
// Avoid hard failure
|
||||
if ( versionsDir.exists() )
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ public String execute()
|
||||
|
||||
artifactStream = new FileInputStream( file );
|
||||
|
||||
// TODO: could be better!
|
||||
// TODO: set the correct content type and other headers!
|
||||
contentType = "application/octet-stream";
|
||||
|
||||
filename = file.getName();
|
||||
|
@ -43,6 +43,6 @@ protected void removeRepository( Configuration configuration, AbstractRepository
|
||||
protected void removeContents( AbstractRepositoryConfiguration existingRepository )
|
||||
throws IOException
|
||||
{
|
||||
// TODO!
|
||||
// TODO! remove the contents
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +74,7 @@
|
||||
<ww:url action="proxy">
|
||||
<%-- TODO! create a tag for this, include classifier for javadoc, sources below --%>
|
||||
<%-- TODO: what about other repositories? --%>
|
||||
<%-- TODO! extension probably doesn't match type --%>
|
||||
<%-- TODO! extension probably doesn't match type. Use artifact handler instead. --%>
|
||||
<ww:param name="path"
|
||||
value="%{'${model.groupId}/${model.artifactId}/${model.version}/${model.artifactId}-${model.version}.${model.packaging}'}"/>
|
||||
</ww:url>
|
||||
|
Loading…
x
Reference in New Issue
Block a user