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.
Please sign in to leave a comment.
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
...
rows = []
dbh.query(query).each { |r| rows.push r }
rows
end
...