Humm, no idea, could you show me your <flex-sdk>/.git/config ?

-Fred

-----Message d'origine----- From: Gordon Smith
Sent: Wednesday, April 03, 2013 8:01 PM
To: dev@flex.apache.org
Subject: RE: How to get a clean working tree for flex-sdk

If my repo is not up to date, why does doing "git pull" while I'm on the develop branch produce the output "Already up to date"?

- Gordon

-----Original Message-----
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
Sent: Wednesday, April 03, 2013 10:51 AM
To: dev@flex.apache.org
Subject: Re: How to get a clean working tree for flex-sdk

Gordon,

Check
https://cwiki.apache.org/confluence/display/FLEX/Git+for+Apache+Flex+Guide
for your .gitconfig
Your repo is not up to date as I can see from your .gitignore, do a git reset --hard HEAD followed by a git pull --rebase and then rebuild the sdk.

Thanks,
-Fred

-----Message d'origine-----
From: Gordon Smith
Sent: Wednesday, April 03, 2013 7:12 PM
To: dev@flex.apache.org
Subject: RE: How to get a clean working tree for flex-sdk

When I have time, I'll investigate whether the unexpected output from 'git status' is a result of also building flex-falcon with 'ant clean all' after building flex-sdk with 'ant clean main checkintests'. For example, Falcon tests recompile a bunch of SWCs and may be producing the bundles.properties files. But I think the old compiler produces them also.

Here is my .gitconfi:

$ cat ~/.gitconfig
[user]
       name = Gordon Smith
       email = gosm...@adobe.com
[core]
       autocrlf = input

I haven't touched the .gitignore for flex-sdk so it should be what is in the repo. (See below.)

$ cat .gitignore
# eclipse conf file
.settings
.classpath
.project
.manager
.scala_dependencies
.cache

# idea conf files
.idea
*.iml
*.ipr
*.iws

# building
target
[Bb]uild/
null
tmp
temp
dist
test-output
build.log
release
out
gen

#Apache Flex Projects
lib/
libs/
in/
swfobject/
ide/
flex2/
thirdparty/
META-INF/
3.0.33/
3.0.33

*.pbj
*.vms
*.ser
*.mxp
css_*.properties
FXGException_*.properties
FXGLog_*.properties
FABridge.js
env.properties
local.properties

#OS junk files
[Tt]humbs.db
*.DS_Store

#Visual Studio files
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad

#Tooling
_ReSharper*/
*.resharper
[Tt]est[Rr]esult*

#CVS files
.svn
.git

# Office Temp Files
~$*

#Binaries
*.dll
*.bin
*.com
*.exe
*.class
*.jar
*.swf
*.swc

#Compressed Files
*.zip
*.rar
*.tar

-----Original Message-----
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
Sent: Wednesday, April 03, 2013 1:27 AM
To: dev@flex.apache.org
Subject: Re: How to get a clean working tree for flex-sdk

And your <flex-sdk>/.gitignore too ?

Thanks,
-Fred

-----Message d'origine-----
From: Frédéric THOMAS
Sent: Wednesday, April 03, 2013 10:24 AM
To: dev@flex.apache.org
Subject: Re: How to get a clean working tree for flex-sdk

Gordon,

It looks like your repo is not updated or your config is messy.
Can you show up your <HOME>/.gitconfig please ?

Thanks,
-Fred

-----Message d'origine-----
From: Gordon Smith
Sent: Wednesday, April 03, 2013 6:24 AM
To: dev@flex.apache.org
Subject: How to get a clean working tree for flex-sdk

After I build flex-sdk with 'ant clean main checkintests', 'git status'
shows a bunch of changes to my working tree that aren't relevant. I think this means we need to add more entries to .gitignore, but I don't understand why some files show up as "Changes not staged for commit" and others as "Untracked files". Can somebody who understands Git better explain this?

- Gordon

$ git status
# On branch develop
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working
directory)
#
#       modified:   frameworks/flex-config.xml
#       modified:   modules/asc/src/java/macromedia/asc/util/Version.java
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       flex-sdk-description.xml
#       frameworks/projects/advancedgrids/bundles.properties
#       frameworks/projects/airframework/bundles.properties
#       frameworks/projects/airspark/bundles.properties
#       frameworks/projects/apache/bundles.properties
#       frameworks/projects/authoringsupport/bundles.properties
#       frameworks/projects/automation/bundles.properties
#       frameworks/projects/automation_agent/bundles.properties
#       frameworks/projects/automation_air/bundles.properties
#       frameworks/projects/automation_airspark/bundles.properties
#       frameworks/projects/charts/bundles.properties
#       frameworks/projects/core/bundles.properties
#       frameworks/projects/experimental/bundles.properties
#       frameworks/projects/flash-integration/bundles.properties
#       frameworks/projects/framework/bundles.properties
#       frameworks/projects/halo/bundles.properties
#       frameworks/projects/mobilecomponents/bundles.properties
#       frameworks/projects/mobiletheme/bundles.properties
#       frameworks/projects/mx/bundles.properties
#       frameworks/projects/rpc/bundles.properties
#       frameworks/projects/spark/bundles.properties
#       frameworks/projects/spark/manifest.xml
#       frameworks/projects/spark_dmv/bundles.properties
#       frameworks/projects/sparkskins/bundles.properties
#       frameworks/projects/tool_air/bundles.properties
#       frameworks/projects/wireframe/bundles.properties
no changes added to commit (use "git add" and/or "git commit -a")

Reply via email to