cmu-db / bustub

The BusTub Relational Database Management System (Educational)
https://15445.courses.cs.cmu.edu
MIT License
4.12k stars 1.81k forks source link

feat: add format_header #549

Open infdahai opened 1 year ago

infdahai commented 1 year ago

this pr's target is to solve issue #281 .

infdahai commented 1 year ago

and we should use this header template.

//===----------------------------------------------------------------------===//
//
//                         BusTub
//
// rid.h
//
// Identification: src/include/common/rid.h
//
// Copyright (c) 2015-2019, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//
skyzh commented 1 year ago

You don't need to replace all headers now. We will need to manually apply it to the private repo. As long as the script works, then I'm happy to get it merged.

infdahai commented 1 year ago

I guess the format_header py can insert some place and then execute the commands like 'make project2'