Please note: These definitions are from a research perspective. Some disciplines, such as IT, may have different definitions.
A data repository collects datasets for storage and sharing. Data repositories are organized to make it easier to find and access datasets. They also have various options for researchers to deposit datasets -- some are restricted to specific members while others are open for anyone to contribute.
A data warehouse is typically a business intelligence solution that collects data directly from operational systems and/or external data sources. Data warehouses may be directly connected to analytics tools to provide reporting and analysis.