How does TeamCity archive projects?

Just curious how TeamCity marks a project as "archived".  I've browsed through the BuildServer/config directory, and combed through the DB schema, and haven't been able to find an archived flag anywhere.

1 comment
Comment actions Permalink

To elaborate a bit...Pre-8.x versions had an archived_projects table.  In other words, what could I replace getArchivedProjects()  with?

def getArchivedProjects dbh
  Hash[ *selectAll(dbh, "SELECT project_id, 1 from archived_projects").flatten ]
end



...
def selectAll dbh, query
  rows = []
  dbh.query(query).each { |r| rows.push r }
  rows
end


...
0

Please sign in to leave a comment.