You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/06/19 04:05:45 UTC

[jira] Created: (THRIFT-43) svn:ignore for build products that should never be checked in

svn:ignore for build products that should never be checked in
-------------------------------------------------------------

                 Key: THRIFT-43
                 URL: https://issues.apache.org/jira/browse/THRIFT-43
             Project: Thrift
          Issue Type: Improvement
            Reporter: Bryan Duxbury
            Priority: Minor


There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting resolved THRIFT-43.
--------------------------------

    Resolution: Fixed
      Assignee: Doug Cutting

I just committed this.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Assignee: Doug Cutting
>            Priority: Minor
>         Attachments: ignores, ignores, ignores.diff, ignores.diff
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated THRIFT-43:
-------------------------------

    Attachment: ignores

Okay, here's a version that avoids the initial blank line and also keeps the lists sorted.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>         Attachments: ignores, ignores, ignores.diff
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606577#action_12606577 ] 

Doug Cutting commented on THRIFT-43:
------------------------------------

> you're going to have to find a committer who actually uses svn.

That's a lame answer.  If you don't want to fix it, fine.  This does not increase my confidence that subversion is a first-class citizen for Thrift development.

> I blew an hour trying to figure out a way to script this, [...]

You should be able to take the output of 'svn stat' to create a command like:
{noformat}
svn propset 'foo
bar
baz'
svn:ignore .
{noformat}

I can work on this this afternoon, if you like.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606866#action_12606866 ] 

David Reiss commented on THRIFT-43:
-----------------------------------

I was mostly joking, Doug.  If someone wants to send me a script to run, I'd be happy to create an svn working copy, run the script, post the svn diff for confirmation, and commit it.  I think you're missing a backslash on the second to last line of your example, by the way.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606408#action_12606408 ] 

Bryan Duxbury commented on THRIFT-43:
-------------------------------------

Ugh. I blew an hour trying to figure out a way to script this, but you're right. It pretty much has to be done manually.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss updated THRIFT-43:
------------------------------

    Attachment: ignores.diff

I'm happy with this if you are.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>         Attachments: ignores, ignores, ignores.diff, ignores.diff
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss updated THRIFT-43:
------------------------------

    Attachment: ignores.diff

This is the output generated.  All of the properties have a leading newline.  I'm not sure if that is a problem.

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>         Attachments: ignores, ignores.diff
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated THRIFT-43:
-------------------------------

    Patch Info: [Patch Available]

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>         Attachments: ignores, ignores, ignores.diff
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606199#action_12606199 ] 

David Reiss commented on THRIFT-43:
-----------------------------------

Sounds good to me.  Unfortunately, I don't think you can post a patch for this sort of thing, so you're going to have to find a committer who actually uses svn. :)

> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-43) svn:ignore for build products that should never be checked in

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated THRIFT-43:
-------------------------------

    Attachment: ignores

Here's a script that causes subversion to ignore all the files added to a clean checkout by './boostrap.sh; ./configure; make' .


> svn:ignore for build products that should never be checked in
> -------------------------------------------------------------
>
>                 Key: THRIFT-43
>                 URL: https://issues.apache.org/jira/browse/THRIFT-43
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Bryan Duxbury
>            Priority: Minor
>         Attachments: ignores
>
>
> There are a lot of files hanging around in the working copy that are picked up by "svn status" after you've run bootstrap/configure/make. Is it safe to say that anything generated in that process that's not already added to the repository could be behind an svn ignore?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.