Skip to content

Commit

Permalink
Do not write date in generated files
Browse files Browse the repository at this point in the history
so they are not always dirty.
  • Loading branch information
Raphael Simon committed Mar 5, 2015
1 parent 83f033b commit c999cd6
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 34 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ version.go
*/codegen_*.go
*/*/codegen_*.go
*.coverprofile
Godeps/_workspace/src/github.com/jessevdk/go-flags/
Godeps/_workspace/src/github.com/rlmcpherson/s3gof3r/
3 changes: 1 addition & 2 deletions gen/writers/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ const headerTmpl = `
//************************************************************************//
// RightScale API client
//
{{comment "Generated " (now.Format "Jan 2, 2006 at 3:04pm (PST)")}}
// Command:
// Generated with:
{{comment commandLine}}
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
3 changes: 1 addition & 2 deletions gen/writers/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ func location(p *gen.ActionParam) string {
const headerMetadataTmpl = `//************************************************************************//
// rsc - RightScale API command line tool
//
{{comment "Generated " (now.Format "Jan 2, 2006 at 3:04pm (PST)")}}
// Command:
// Generated with:
{{comment commandLine}}
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
3 changes: 3 additions & 0 deletions rsapi/user_agent.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package rsapi

const UA = "rsc/dev-1425546825-master"
4 changes: 1 addition & 3 deletions rsapi15/codegen_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// RightScale API client
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ api15gen -metadata=rsapi15 -output=rsapi15
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions rsapi15/codegen_metadata.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// rsc - RightScale API command line tool
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ api15gen -metadata=rsapi15 -output=rsapi15
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions rsapi16/codegen_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// RightScale API client
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=rsapi16/api_docs -output=rsapi16 -pkg=rsapi16 -target=1.6 -client=Api16
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions rsapi16/codegen_metadata.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// rsc - RightScale API command line tool
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=rsapi16/api_docs -output=rsapi16 -pkg=rsapi16 -target=1.6 -client=Api16
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssc/codegen_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// RightScale API client
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssc/restful_doc -output=ss/ssc -pkg=ssc -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssc/codegen_metadata.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// rsc - RightScale API command line tool
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssc/restful_doc -output=ss/ssc -pkg=ssc -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssd/codegen_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// RightScale API client
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssd/restful_doc -output=ss/ssd -pkg=ssd -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssd/codegen_metadata.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// rsc - RightScale API command line tool
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssd/restful_doc -output=ss/ssd -pkg=ssd -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssm/codegen_client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// RightScale API client
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssm/restful_doc -output=ss/ssm -pkg=ssm -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down
4 changes: 1 addition & 3 deletions ss/ssm/codegen_metadata.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//************************************************************************//
// rsc - RightScale API command line tool
//
// Generated
// Mar 4, 2015 at 10:20pm (PST)
// Command:
// Generated with:
// $ praxisgen -metadata=ss/ssm/restful_doc -output=ss/ssm -pkg=ssm -target=1.0 -client=Api
//
// The content of this file is auto-generated, DO NOT MODIFY
Expand Down

0 comments on commit c999cd6

Please sign in to comment.