Commit Graph

64 Commits

Author SHA1 Message Date
Stephen Finucane 43876c6388 Retire aeromancer
This hasn't been touched in four years.

Change-Id: I2c633e760b1bcd94b2f591e4fbafbbb15a6d127c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-On: I089397a3d945b762df86a0dd144644e9926acdea
2019-05-03 15:31:27 -06:00
OpenDev Sysadmins 48273e5993 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:46 +00:00
Andreas Jaeger f1ceb46f45 Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:08:31 +01:00
Doug Hellmann 1108516eda fix .gitreview after project rename
Change-Id: I306318e21822e8340286934f9a2f11eb806c4b8b
2015-10-19 01:45:52 +00:00
Doug Hellmann aefe5fdcfe Add default separator for grep output
Change-Id: Ic35e0ea20f748e042f3579d1407f7afbe12e825d
2015-03-20 15:56:31 +00:00
Doug Hellmann 9985c84bd8 Add .gitreview configuration file
Change-Id: Iddf0279cec3d301eeaec7b91030315c704da71ef
2015-03-11 21:09:51 +00:00
Doug Hellmann f826f9267f update sqlalchemy dependency 2015-03-04 17:11:43 -05:00
Doug Hellmann 0e15691158 Let run and grep take arbitrary arguments 2015-01-21 21:12:22 -05:00
Doug Hellmann 820caf5555 Add "run" command and refactor grep
Add a run command for running shell commands in projects and refactor
grep to use the same base class.
2015-01-21 20:57:52 -05:00
Doug Hellmann afe9eafba5 Use git-grep instead of a db query
Use git-grep to look for the pattern, instead of searching the database.
2015-01-21 20:37:06 -05:00
Doug Hellmann 80d5fc4ec2 Support project filter with wildcard
Translate glob-style wildcards to ILIKE comparisons for the database.
2014-12-30 12:05:06 -05:00
Doug Hellmann f8b9b8cda0 abstract the project filter logic a bit 2014-12-22 20:04:22 +00:00
Doug Hellmann 85dc323561 Filter grep by project
Let the user specify project(s) to filter the lines being scanned by
grep.
2014-12-22 19:52:46 +00:00
Doug Hellmann 9c17b091bc Use case-insensitive comparison for requirements
Case-insensitive comparison of requirements name for query
2014-12-16 12:54:49 +00:00
Doug Hellmann 78431622d8 Order grep output 2014-12-09 22:01:25 +00:00
Doug Hellmann 1021e7d68e add grep command 2014-11-27 20:01:50 +00:00
Doug Hellmann 3d0a501dd3 fix id handling and remove command
Ensure that anything we are going to need a foreign key for is assigned
an id before we set up the relationship.

Fix the remove command to delete data correctly after the add code was
refactored earlier.
2014-11-26 23:14:14 +00:00
Doug Hellmann 1e5dd80a5f ignore *.JPG 2014-11-26 22:21:05 +00:00
Doug Hellmann cce3b017f3 add indexes to make deleting faster 2014-11-24 14:31:17 +00:00
Doug Hellmann cccdc69cbf a few more performance tweaks for loading 2014-11-24 14:31:07 +00:00
Doug Hellmann 9a67937f58 Add force option and speed up hash testing
Pull all of the files for a proejct and their SHAs at one time instead
of querying for each separately.

Add a --force option to cause files to be re-read even if their hash has
not changed.
2014-11-23 17:31:47 +00:00
Doug Hellmann b542a2aac7 tweak readme header 2014-11-13 13:08:20 +00:00
Doug Hellmann 2898942696 track git sha for files of interest
we will use this in a future commit to avoid re-reading files that
haven't changed
2014-11-13 13:07:13 +00:00
Doug Hellmann f0e635838f tweak output heading 2014-11-12 23:11:23 +00:00
Doug Hellmann 008ed5022a remove single parent flag from oslo module model
the openstack-common.conf file might have several modules listed on the
same line, so we can't say that there is a 1:1 relationship between the
module and the line
2014-11-12 21:25:20 +00:00
Doug Hellmann d80865bf5a use more efficient delete call 2014-11-12 21:10:12 +00:00
Doug Hellmann 36fdf739bb start the oslo file handler
load the list of modules synced from the incubator into a project
2014-11-12 21:09:37 +00:00
Doug Hellmann f8c405db83 add command to show outdated requirements in projects 2014-11-12 15:58:46 +00:00
Doug Hellmann c260168967 provide a command to show global requirements not being used directly 2014-11-12 15:42:25 +00:00
Doug Hellmann ef53551c45 ignore more binary files 2014-11-12 14:04:35 +00:00
Doug Hellmann 9ce8cd0725 improve sorting of requirements command output 2014-11-12 12:49:53 +00:00
Doug Hellmann dadcf62281 ignore more office files 2014-11-11 23:26:19 +00:00
Doug Hellmann f8ff564b5e default to only looking at openstack/* projects 2014-11-11 23:26:04 +00:00
Doug Hellmann 053acaab52 create ProjectManager class to avoid reloading plugins 2014-11-11 23:20:02 +00:00
Doug Hellmann ef76f4b15c ignore more binary files 2014-11-11 21:21:21 +00:00
Doug Hellmann bda04343c5 fix directory check in discover
the cwd is changed by the time the test is run to see if the name
matches something that is a directory, so we need to build the full path
to the thing for the test
2014-11-11 21:20:34 +00:00
Doug Hellmann 8ee6e2b998 filter only directories for discovery
ignore any extra files or symlinks that might appear in the repository
structure
2014-11-11 15:54:35 -05:00
Doug Hellmann adcbfadc1a refactor requirements loading
move file line processing to a separate function and add more file
patterns so we are more restrictive with the files that are loaded by
default
2014-11-11 15:44:34 -05:00
Doug Hellmann a3bf1a758c check only the basename of a file by default 2014-11-11 15:44:03 -05:00
Doug Hellmann e56b2fb739 ensure ~/.aeromancer exists 2014-11-11 15:26:28 -05:00
Doug Hellmann 39d04454ee show the file when listing requirements
include the file where the requirement was specified so we can tell
whether the dependency is for testing, python 3, etc.
2014-11-06 16:03:41 +01:00
Doug Hellmann 74575576c5 ignore more binary files 2014-11-06 16:03:32 +01:00
Doug Hellmann 2e4c6cb74a add File.project_path property
Provide a quick way to get a short but unique name to a file.
2014-11-06 15:45:36 +01:00
Doug Hellmann 8c41c9516a ignore ODP files
some projects have ODP files with their documentation; ignore them
2014-11-06 15:43:37 +01:00
Doug Hellmann bec13922ef don't log every single requirement at info level 2014-11-06 15:37:56 +01:00
Doug Hellmann 581755045a add requirements handling
Add support for file-specific plugins, including schema changes and
models.

Implement scanner for requirements list files and commands to list
requirements for a project and find projects using a specific
requirement.
2014-11-06 15:31:25 +01:00
Doug Hellmann 324a11f69f todo notes 2014-11-01 19:47:08 +01:00
Doug Hellmann 1fa63aa892 ignore binary files
ignore some files we know will be binary
2014-10-30 18:28:07 -04:00
Doug Hellmann d3b4ec25e5 store the lines in files
record the contents of files in a separate table

change the one-to-many relationships on project->file->line to allow
cascading deletes
2014-10-30 18:03:55 -04:00
Doug Hellmann ff65231044 add 'discover' command to find projects
refactor project loading a bit to create a working_dir context manager
and then write a discover command for finding things that look like
openstack projects
2014-10-30 17:49:31 -04:00